/*---------------------------------------------------------------------------
	Проект Finrise
---------------------------------------------------------------------------*/

.finrise-hero-row {
  background-color: #ffffff;
  padding-top: 20px !important;
  padding-bottom: 32px !important;
}

/* ============================================
   Оглавление кейса v3
   ============================================ */

.project-toc-row {
  background-color: #ffffff;
  color: #151515;
}

.project-toc-v3 {
  width: 100%;
  margin: 80px 0 64px;
  box-sizing: border-box;
}

.project-toc-v3 *,
.project-toc-v3 *::before,
.project-toc-v3 *::after {
  box-sizing: border-box;
}

.project-toc-v3__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  column-gap: 64px;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

/* ============================================
   Левая колонка
   ============================================ */

.project-toc-v3__left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 24px;
}

.project-toc-v3__title {
  margin: 0 0 60px;
  color: #151515;
  font-family: 'Headline Bold', sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
}

.project-toc-v3__title-line {
  display: block;
}

.project-toc-v3__title-accent {
  color: #000;
}

.project-toc-v3__description {
  max-width: 520px;
  margin: 0;
  color: #353535;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.project-toc-v3__visual {
  width: 100%;
  max-width: 380px;
  margin-top: 16px;
}

.project-toc-v3__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* ============================================
   Правая колонка
   ============================================ */

.project-toc-v3__right {
  justify-self: end;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 480px;
  gap: 32px;
  padding-top: 8px;
}

/* Мета-информация */

.project-toc-v3__meta {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
}

.project-toc-v3__meta-item {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 6px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #151515;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.project-toc-v3__meta-label {
  flex: 0 0 auto;
  color: #8b8b8b;
}

.project-toc-v3__meta-value {
  min-width: 0;
  color: #151515;
  font-weight: 500;
}

/* Навигация */

.project-toc-v3__nav {
  position: relative;
  display: flex;
  flex-direction: column;
  float: none;
  clear: both;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 80px 0 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  color: #151515;
}

.project-toc-v3__list {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #151515;
}

.project-toc-v3__item {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background: transparent;
  color: #151515;
}

.project-toc-v3__link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 14px 0;
  overflow: visible;
  background: transparent;
  color: #151515;
  text-decoration: none;
  transition: color 0.2s ease-out;
}

.project-toc-v3__link:hover,
.project-toc-v3__link:focus-visible {
  background: transparent;
  color: #000;
}

.project-toc-v3__num {
  flex: 0 0 24px;
  min-width: 24px;
  color: #8b8b8b;
  font-family: 'Fact Expanded Bold', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.project-toc-v3__link:hover .project-toc-v3__num,
.project-toc-v3__link:focus-visible .project-toc-v3__num {
  color: #000;
}

.project-toc-v3__text {
  display: block;
  min-width: 0;
  color: #151515;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.project-toc-v3__link:hover .project-toc-v3__text,
.project-toc-v3__link:focus-visible .project-toc-v3__text {
  color: #000;
}

/* Подчёркивание при наведении */

.project-toc-v3__link::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease-out;
  pointer-events: none;
}

.project-toc-v3__link:hover::after,
.project-toc-v3__link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left center;
}

.project-toc-v3__link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.8);
  outline-offset: 6px;
}

/* ============================================
   Адаптив: до 1200px
   ============================================ */

@media only screen and (max-width: 1200px) {
  .project-toc-v3__inner {
    column-gap: 48px;
  }

  .project-toc-v3__title {
    font-size: 38px;
  }
}

/* ============================================
   Адаптив: до 1024px
   ============================================ */

@media only screen and (max-width: 1024px) {
  .project-toc-v3 {
    margin: 64px 0;
  }

  .project-toc-v3__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 40px;
  }

  .project-toc-v3__left,
  .project-toc-v3__right {
    min-width: 0;
    max-width: 100%;
  }

  .project-toc-v3__right {
    justify-self: stretch;
    width: 100%;
  }

  .project-toc-v3__title {
    font-size: 34px;
  }

  .project-toc-v3__description {
    max-width: 480px;
    font-size: 15px;
  }

  .project-toc-v3__visual {
    max-width: 300px;
  }

  .project-toc-v3__nav {
    margin-top: 64px;
  }
}

/* ============================================
   Адаптив: до 767px
   ============================================ */

@media only screen and (max-width: 767px) {
  .project-toc-v3 {
    margin: 48px 0;
  }

  .project-toc-v3__inner {
    display: block;
  }

  .project-toc-v3__title {
    margin-bottom: 32px;
    font-size: 30px;
  }

  .project-toc-v3__description {
    max-width: none;
    font-size: 15px;
  }

  .project-toc-v3__visual {
    display: none;
  }

  .project-toc-v3__right {
    display: block;
    width: 100%;
    max-width: none;
    margin-top: 40px;
    padding-top: 0;
  }

  .project-toc-v3__meta {
    width: 100%;
  }

  .project-toc-v3__nav {
    display: none !important;
  }
}

/* ============================================
   Адаптив: до 479px
   ============================================ */

@media only screen and (max-width: 479px) {
  .project-toc-v3 {
    margin: 40px 0;
  }

  .project-toc-v3__title {
    margin-bottom: 24px;
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  .project-toc-v3__description {
    font-size: 14px;
    line-height: 1.6;
  }

  .project-toc-v3__meta-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
  }
}

/* ============================================
   Уменьшение анимаций
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .project-toc-v3__link,
  .project-toc-v3__num,
  .project-toc-v3__text,
  .project-toc-v3__link::before {
    transition: none;
  }
}

/* === Блок 1: Постановка задачи === */

.project-brief {
  margin: 80px 0;
}

/* Заголовок раздела */
.project-brief__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.project-brief__section-title {
  font-family: 'Headline Bold', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  color: #151515;
  text-transform: uppercase;
  margin: 0;
}

.project-brief__icon {
  color: #c0c0c0;
  flex-shrink: 0;
}

/* Разделители */
.project-brief__divider {
  height: 1px;
  background-color: #d0d0d0;
  margin: 0;
  width: 100%;
}

/* divider сразу после заголовка раздела */
.project-brief__divider--header {
  margin-top: 20px;
  margin-bottom: 0;
}

/* локальный divider под правой колонкой */
.project-brief__divider--content {
  margin-top: 24px;
}

/* Подраздел */
.project-brief__subsection {
  padding: 32px 0px 0px 0px;
}

.project-brief__subsection-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  column-gap: 48px;
  align-items: flex-start;
}

/* Заголовок подраздела */
.project-brief__subsection-title {
  margin: 0 0 32px;
  font-family: "Headline Bold", sans-serif;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: #141414;
  padding-top: 2px;
}

/* Контент подраздела */
.project-brief__subsection-content {
  min-width: 0;
}

.project-brief__subsection-content p {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #353535;
  margin: 0 0 16px 0;
}

.project-brief__subsection-content p:last-child {
  margin-bottom: 0;
}

/* Список */
.project-brief__list {
  list-style: disc;
  margin: 0 0 0 20px;
  padding: 0;
}

.project-brief__list li {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #353535;
  margin-bottom: 8px;
  padding-left: 4px;
}

.project-brief__list li:last-child {
  margin-bottom: 0;
}





/* ============================================
   Блок цитаты-облачка (iOS Chat Bubble — Pixel Perfect)
   ============================================ */

.project-brief__quote-bubble {
  position: relative;
  display: inline-block;
  max-width: 610px;    
  background-color: #ECEBFF; 
  color: #1B1852;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  padding: 16px 24px;
  border-radius: 20px;
  
  /* Отступы от окружающих элементов */
  margin-top: 24px;
  margin-bottom: 16px;
  margin-left: 20px;          /* Запас слева для вылета хвостика */
  
  /* Выпрямляем левый нижний угол, чтобы бесшовно состыковать его с вектором */
  border-bottom-left-radius: 0px; 
}

/* Идеально гладкий векторный хвостик */
.project-brief__quote-bubble::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10px;               /* Сдвиг влево ровно на ширину хвостика */
  width: 10px;
  height: 20px;
  
  /* Встраиваем чистый векторный iMessage-силуэт */
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://w3.org' width='10' height='20' viewBox='0 0 10 20'><path fill='%232694ff' d='M10,0C10,12,3,20,0,20L10,20Z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Адаптив для планшетов и мобильных */
@media only screen and (max-width: 767px) {
  .project-brief__quote-bubble {
    font-size: 14px;
    padding: 12px 20px;
    margin-top: 20px;
    margin-left: 15px;
    max-width: calc(100% - 20px);
  }
}









/* Десктоп: общие divider между подразделами скрываем */
@media only screen and (min-width: 768px) {
  .project-brief__divider--content {
    width: 100%;
  }

  .project-brief__divider:not(.project-brief__divider--header):not(.project-brief__divider--content) {
    display: none;
  }
}

/* Мобильный: общие divider тоже убираем, остаются только локальные под текстом */
@media only screen and (max-width: 767px) {
  .project-brief__divider--content {
    width: 100%;
  }

  .project-brief__divider:not(.project-brief__divider--header):not(.project-brief__divider--content) {
    display: none;
  }
}

/* Адаптив */
@media only screen and (max-width: 1024px) {
  .project-brief__subsection-inner {
    grid-template-columns: 160px 1fr;
    column-gap: 32px;
  }
  
  .project-brief__subsection-title {
    font-size: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .project-brief {
    margin: 60px 0;
  }
  
  .project-brief__section-title {
    font-size: 26px;
  }
  
  .project-brief__subsection-inner {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  
  .project-brief__subsection {
    padding: 28px 0;
  }
  
  .project-brief__subsection-title {
    font-size: 18px;
  }
  
  .project-brief__subsection-content p,
  .project-brief__list li {
    font-size: 15px;
  }

  /* на мобильных: и локальные, и общие divider идут на всю ширину блока */
  .project-brief__divider--content {
    width: 100%;
  }
}



/* ============================================
   Блок с двумя изображениями (скриншоты)
   ============================================ */

.project-two-screens {
  margin: 64px 0;
}

/* Сетка изображений */
.project-two-screens__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  justify-content: center;
}

/* Обёртка: картинка + подпись */
.project-two-screens__item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Карточка с изображением — десктоп */
.project-two-screens__item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #E8E4F3 0%, #C8B8E8 50%, #A084D8 100%);
  width: 544px;
  height: 600px;
  max-width: 100%;
}

/* Изображение */
.project-two-screens__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Подпись под изображением */
.project-two-screens__caption-text {
  margin-top: 8px;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #737373;
  text-align: center;
}


/* ---------- Адаптив ---------- */

/* До ~1070 px: два блока ужимаются пропорционально */
@media only screen and (max-width: 1070px) {
  .project-two-screens__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .project-two-screens__item {
    width: 100%;
    max-width: 544px;
    height: auto;
    aspect-ratio: 544 / 600; /* сохраняем пропорцию при масштабировании */
    border-radius: 20px;
  }

  .project-two-screens__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* 767px и ниже — всё ещё две колонки, чуть компактнее */
@media only screen and (max-width: 767px) {
  .project-two-screens {
    margin: 48px 0;
  }

  .project-two-screens__grid {
    gap: 16px;
  }

  .project-two-screens__item {
    border-radius: 16px;
  }

  .project-two-screens__caption-text {
    font-size: 13px;
  }
}

/* 479px: одна колонка, центрирование, меньшая ширина */
@media only screen and (max-width: 479px) {
  .project-two-screens {
    margin: 40px 0;
  }

  .project-two-screens__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-two-screens__item-wrapper {
    align-items: center;
  }

  .project-two-screens__item {
    border-radius: 14px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    height: auto;
    aspect-ratio: 544 / 600;
  }

  .project-two-screens__caption-text {
    margin-top: 10px;
    font-size: 12px;
  }
}


/* ============================================
   Блок с одним изображением (скриншот)
   ============================================ */

.project-one-screen {
  margin: 64px 0;
}

/* Обёртка: картинка + подпись */
.project-one-screen__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Карточка с изображением — десктоп */
.project-one-screen__item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #E8E4F3 0%, #C8B8E8 50%, #A084D8 100%);
  width: 1126px;
  height: 600px;
  max-width: 100%;
}

/* Изображение */
.project-one-screen__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;         /* или contain, если важно не обрезать */
  object-position: top center;
}

/* Подпись под изображением */
.project-one-screen__caption-text {
  margin-top: 8px;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #737373;
  text-align: center;
}


/* ---------- Адаптив ---------- */

/* До ~1126px: просто пропорциональное уменьшение */
@media only screen and (max-width: 1126px) {
  .project-one-screen__item {
    width: 100%;
    max-width: 1126px;
    height: auto;
    aspect-ratio: 1126 / 600; /* сохраняем пропорцию при масштабировании */
    border-radius: 20px;
  }

  .project-one-screen__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* 767px и ниже — чуть компактнее, но логика та же */
@media only screen and (max-width: 767px) {
  .project-one-screen {
    margin: 48px 0;
  }

  .project-one-screen__item {
    border-radius: 16px;
  }

  .project-one-screen__caption-text {
    font-size: 13px;
  }
}

/* 479px: узкий экран, меньшая ширина */
@media only screen and (max-width: 479px) {
  .project-one-screen {
    margin: 40px 0;
  }

  .project-one-screen__item {
    border-radius: 14px;
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1126 / 600;
  }

  .project-one-screen__caption-text {
    margin-top: 10px;
    font-size: 12px;
  }
}


/* === Блок 2: Анализ конкурентов === */

.project-competitors {
  margin: 80px 0;
}

/* Заголовок раздела */
.project-competitors__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.project-competitors__section-title {
  font-family: 'Headline Bold', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  color: #151515;
  text-transform: uppercase;
  margin: 0;
}

.project-competitors__icon {
  color: #c0c0c0;
  flex-shrink: 0;
}

/* Разделители */
.project-competitors__divider {
  height: 1px;
  background-color: #d0d0d0;
  margin: 20px 0 0 0;
  width: 100%;
}

.project-competitors__divider--header {
  margin-bottom: 32px;
}

/* Инфоблок */
.project-competitors__info {
  background-color: #F0F4F8;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 40px;
	
}

.project-competitors__info p {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #353535;
  margin: 0 0 12px 0;
}

.project-competitors__info p:last-child {
  margin-bottom: 0;
}

.project-competitors__info strong {
  font-family: 'Onest-Bold', sans-serif;
  font-weight: 600;
  color: #151515;
}


/* ============================================
   Screenshots. Приложения конкурентов
   ============================================ */

.project-competitor-screens {
  margin: 64px 0;
}

/* Сетка скриншотов */
.project-competitor-screens__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.project-competitor-screens__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Скриншот */
.project-competitor-screens__item img {
  display: block;
  width: 100%;
  height: auto;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  object-fit: contain;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

/* Hover-эффект: лёгкий подъём и усиление тени */
.project-competitor-screens__item:hover img {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Подпись под скриншотом */
.project-competitor-screens__caption {
  margin-top: 16px;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #737373;
  text-align: center;
}


/* Контейнер слайдера приложения конкурентов */
.project-competitor-screens-slider {
  position: relative;
  overflow: hidden;
}

/* Лента слайдов */
.project-competitor-screens-slider__track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* Слайд занимает всю ширину контейнера */
.project-competitor-screens-slider__slide {
  flex: 0 0 100%;
}

/* Твоя сетка 4х картинок (как раньше) */
.project-competitor-screens__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Элемент: картинка + подпись */
.project-competitor-screens__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-competitor-screens__item img {
  display: block;
  width: 100%;
  height: auto;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  object-fit: contain;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.project-competitor-screens__item:hover img {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.project-competitor-screens__caption {
  margin-top: 8px;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #737373;
  text-align: center;
}

/* Точки-пагинация */
.project-competitor-screens-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.project-competitor-screens-slider__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: #D0D8E0;
  padding: 0;
  cursor: pointer;
}

.project-competitor-screens-slider__dots button.is-active {
  background-color: #4A6CF7;
}

/* По умолчанию показываем только desktop‑версию */
.project-competitor-screens-slider--desktop {
  display: block;
}

.project-competitor-screens-slider--tablet,
.project-competitor-screens-slider--small,
.project-competitor-screens-slider--mobile {
  display: none;
}

/* Tablet: <1024px и ≥768px — показываем 3‑карточный слайдер */
@media (max-width: 1024px) and (min-width: 768px) {
  .project-competitor-screens-slider--desktop {
    display: none;
  }
  .project-competitor-screens-slider--tablet {
    display: block;
  }

  .project-competitor-screens__grid--tablet {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Small: <768px и ≥480px — показываем 2‑карточный слайдер */
@media (max-width: 767px) and (min-width: 480px) {
  .project-competitor-screens-slider--desktop,
  .project-competitor-screens-slider--tablet {
    display: none;
  }
  .project-competitor-screens-slider--small {
    display: block;
  }

  .project-competitor-screens__grid--small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile: ≤479px — показываем 1‑карточный слайдер */
@media (max-width: 479px) {
  .project-competitor-screens-slider--desktop,
  .project-competitor-screens-slider--tablet,
  .project-competitor-screens-slider--small {
    display: none;
  }
  .project-competitor-screens-slider--mobile {
    display: block;
  }

  .project-competitor-screens__grid--mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
















/* Подзаголовок таблицы Анализ конкурентов. Сводная таблица */
.project-competitors__subsection-title {
  margin: 0 0 32px;
  font-family: "Headline Bold", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: #141414;
}

/* Таблица — десктоп */
.project-competitors__table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
}

.project-competitors__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 700px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.project-competitors__table thead {
  background-color: #f5f7f9;
}

.project-competitors__table th {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #151515;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap;
}

.project-competitors__tr-dark {background: #F8F9FA;}


.project-competitors__table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: middle;
}

.project-competitors__table tbody tr:last-child td {
  border-bottom: 1px solid #e8e8e8;
}

/* Колонки */
.col-product {
  min-width: 220px;
}

.col-icon {
  text-align: center;
  width: 100px;
}

.col-text {
  min-width: 120px;
  font-size: 14px;
  line-height: 1.5;
  color: #353535;
}

/* Логотип и название продукта */
.competitor-logo {
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}

.competitor-name {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #151515;
  margin-right: 6px;
}

.competitor-feature {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  color: #777777;
}

/* Иконки статуса */
.status-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

.status-icon--inline {
  margin-right: 6px;
}

/* Легенда */
.project-competitors__legend {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  color: #777777;
}

.legend-icon {
  width: 16px;
  height: 16px;
}




/* ============================================
   Анализ конкурентов. Карточки (mobile / XS)
   ============================================ */

/* Контейнер для карточек внутри wrapper'а */
.competitors-cards {
  display: none;
}

/* Базовый вид карточки конкурента */
.competitor-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

/* Верхняя строка: логотип + название продукта */
.competitor-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.competitor-card__logo {
  max-width: 120px;
  height: auto;
  flex-shrink: 0;
}

.competitor-card__title {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 15px;
  color: #151515;
}

.competitor-card__feature {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  color: #777777;
  margin-top: 2px;
}

/* Общий блок внутри карточки (лейбл слева, контент справа) */
.competitor-card__block {
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
}

.competitor-card__block-inner {
  display: grid;
  grid-template-columns: minmax(96px, 112px) minmax(0, 1fr);
  column-gap: 14px;
  align-items: flex-start;
}

/* Лейбл блока (Совместный счёт, Цель/Сумма и т.п.) */
.competitor-card__label {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

/* Контент блока */
.competitor-card__content {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #353535;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Иконка статуса в блоке */
.competitor-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.competitor-card__status-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.competitor-card__status-text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  color: #353535;
}

/* Легенда (нижний блок) оставляем, но делаем колонкой на мобильных */
@media only screen and (max-width: 767px) {
  .project-competitors__table {
    display: none;
    border: none;
  }

  .competitors-cards {
    display: block;
  }

  .project-competitors__table-wrapper {
    overflow-x: hidden;
    border: none;
  }

  .competitor-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .competitor-card__title {
    font-size: 15px;
  }

  .competitor-card__block-inner {
    grid-template-columns: minmax(88px, 104px) minmax(0, 1fr);
    column-gap: 12px;
  }

  .competitor-card__content {
    font-size: 14px;
  }

  .project-competitors__legend {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 479px) {
  .competitor-card {
    padding: 14px;
    margin-bottom: 14px;
  }

  .competitor-card__title {
    font-size: 14px;
  }

  .competitor-card__block-inner {
    grid-template-columns: minmax(80px, 96px) minmax(0, 1fr);
    column-gap: 10px;
  }

  .competitor-card__label {
    font-size: 10px;
  }

  .competitor-card__content {
    font-size: 13px;
    line-height: 1.5;
  }

  .project-competitors__legend {
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
  }
}
















/* ============================================
   2.2 Ключевые выводы и гипотезы. 3 Карточки
   ============================================ */

.project-key-findings {
  margin: 64px 0;
}

/* Заголовок секции */
.project-key-findings__header {
  margin-bottom: 32px;
}

.project-key-findings__section-title {
  margin: 0 0 32px 0px;
  font-family: "Headline Bold", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: #141414;
}

/* Описание под карточками */
.project-key-findings__description {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #353535;
  margin: 0;
}

.project-key-findings__description a {
  color: #4A5FE2;
  text-decoration: none;
  position: relative;
}

.project-key-findings__description a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: #4A5FE2;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease-out;
}

.project-key-findings__description a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Сетка карточек */
.stats {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stats.has-animation.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 16px 0 36px 0;
}

@media (max-width: 767px) {
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 0;
  }
}

/* Карточка */
.stat-card {
  background-image: url("../images/projects/finrise/stat-card-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 0px solid #D3DCFF;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

@media (max-width: 767px) {
  .stat-card {
    padding: 24px 20px;
  }
}

.stat-card__number {
  font-family: "Headline Bold", sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -2px;
}

@media (max-width: 991px) {
  .stat-card__number {
    font-size: 44px;
  }
}

@media (max-width: 767px) {
  .stat-card__number {
    font-size: 48px;
  }
}

.stat-card__label {
  font-family: "Headline Bold", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

@media (max-width: 991px) {
  .stat-card__label {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .stat-card__label {
    font-size: 20px;
  }
}





















/* === 2.3 Блок: Сводная таблица выводов → гипотез → решений === */

.project-insights-table {
  margin: 80px 0;
}

/* Заголовок раздела */
.project-insights-table__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.project-insights-table__section-title {
  font-family: 'GeologicaRoman-Bold', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #151515;
  margin: 0;
}

.project-insights-table__icon {
  color: #c0c0c0;
  flex-shrink: 0;
}

/* Разделители */
.project-insights-table__divider {
  height: 1px;
  background-color: #d0d0d0;
  margin: 20px 0 0 0;
  width: 100%;
}

.project-insights-table__divider--header {
  margin-bottom: 32px;
}

/* Таблица — десктоп */
.project-insights-table__table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border: none;
}

.project-insights-table__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 100%;
  border-top: 1px solid #e8e8e8;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
}

.project-insights-table__table thead {
  background-color: #f5f7f9;
}

.project-insights-table__table th {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #151515;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap;
}

.project-insights-table__table td {
  padding: 16px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: top;
}

.project-insights-table__table tbody tr:last-child td {
  border-bottom: 1px solid #e8e8e8;
}

/* Колонки */

.col-num {
  width: 28px;
  text-align: left;
  font-family: 'GeologicaRoman-Bold', sans-serif;
  font-size: 16px;
  color: #151515;
  vertical-align: top;
  padding-top: 20px;
}

.col-insight {
  min-width: 220px;
}

.col-insight strong {
  display: block;
  font-family: 'Onest-Bold', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #151515;
  margin-bottom: 6px;
}

.col-insight p {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #777777;
  margin: 0;
}

.col-assumption {
  min-width: 180px;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #353535;
}

/* Колонка "Гипотеза" — десктоп */
.col-hypothesis {
  min-width: 200px;
}

/* Ячейка "Гипотеза": ведём себя как pain-item, но в таблице */
td.col-hypothesis {
  text-align: left;          /* содержимое ячейки выравниваем по левому краю */
  vertical-align: top;       /* вся связка "иконка + текст" прибита к верху строки */
}

/* Контейнер: иконка слева, текст справа, по верхнему краю */
td.col-hypothesis .hypothesis-badge {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  line-height: 1.5;
}

/* Иконка */
td.col-hypothesis .hypothesis-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
  padding-top: 4px;
}

/* Текст гипотезы */
td.col-hypothesis .hypothesis-badge p {
  margin: 0;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #353535;
}

/* Общий текст в колонке (на случай других p) */
.col-hypothesis p {
  margin: 0;
}

.col-confirm {
  min-width: 120px;
  white-space: normal;
}

.col-confirm .confirm-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.confirm-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.confirm-status {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 12px;
  color: #151515;
}

.confirm-count {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 12px;
  color: #555555;
}

.col-solution {
  min-width: 200px;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #353535;
  word-break: break-word;
}

/* Колонка "Вывод" подсветка */
.project-insights-table__table tbody .col-insight {
  background-color: #F7F8FE;
}

/* Колонка "Гипотеза" подсветка */
.project-insights-table__table tbody .col-hypothesis {
  background-color: #FBF7FE;
}

/* Колонка "Решение для FinRise" подсветка */
.project-insights-table__table tbody .col-solution {
  background-color: #F1F6FE;
}

/* Общая настройка для подсветки колонок */
.project-insights-table__table tbody .col-insight,
.project-insights-table__table tbody .col-hypothesis,
.project-insights-table__table tbody .col-solution {
  background-clip: padding-box;
}

/* Десктоп: таблица инсайтов без горизонтального скролла */
@media only screen and (min-width: 900px) {
  .project-insights-table__table-wrapper {
    overflow-x: auto;
  }

  .project-insights-table__table {
    font-size: 13px;
    min-width: 0;
  }

  .project-insights-table__table th {
    padding: 12px 14px;
  }

  .project-insights-table__table td {
    padding: 12px 14px;
  }

  .col-insight strong {
    font-size: 13px;
  }

  .col-insight p,
  .col-assumption,
  .col-hypothesis p,
  .col-solution {
    font-size: 13px;
  }
}

/* ================================================================================
   Сводная таблица выводов → гипотез → решений. Карточки (mobile / XS)
   ============================================================================= */

/* Контейнер для карточек внутри wrapper'а */
.insights-cards {
  display: none;
}

/* Базовый вид карточки инсайта */
.insight-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

/* Верхняя строка: номер + краткий заголовок инсайта (если нужен) */
.insight-card__header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.insight-card__num {
  font-family: 'GeologicaRoman-Bold', sans-serif;
  font-size: 18px;
  color: #151515;
}

.insight-card__header-title {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 15px;
  color: #151515;
}

/* Общие строки‑блоки внутри карточки (лейбл слева, контент справа) */
.insight-card__block {
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
}

/* Внутренняя сетка блока: лейбл (узкая колонка) + контент (широкая) */
.insight-card__block-inner {
  display: grid;
  grid-template-columns: minmax(96px, 112px) minmax(0, 1fr);
  column-gap: 18px;
  align-items: flex-start;
}

/* Лейбл блока (ВЫВОД, ПРЕДПОЛОЖЕНИЕ и т.п.) */
.insight-card__label {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

/* Контент блока */
.insight-card__content {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #353535;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ВЫВОД: внутри контента — title + описание */
.insight-card__insight-title {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 15px;
  color: #151515;
  margin-bottom: 6px;
}

.insight-card__insight-text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #353535;
}

/* ПРЕДПОЛОЖЕНИЕ / текстовые блоки */
.insight-card__text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #353535;
}

/* ГИПОТЕЗА: иконка + текст внутри контентной части */
.insight-card__hypothesis {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

.insight-card__hypothesis-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0;
}

.insight-card__hypothesis-text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #353535;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ПОДТВЕРЖДЕНИЕ: иконка + число */
.insight-card__confirm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  box-sizing: border-box;
}

.insight-card__confirm-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.insight-card__confirm-text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  color: #353535;
}

/* РЕШЕНИЕ ДЛЯ FINRISE */
.insight-card__solution-text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #353535;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ============================================
   Включаем карточки на mobile / XS
   ============================================ */

@media only screen and (max-width: 767px) {
  .project-insights-table__table {
    display: none;
  }

  .insights-cards {
    display: block;
  }

  .project-insights-table__table-wrapper {
    overflow-x: hidden;
    border: none;
  }

  .insight-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .insight-card__num {
    font-size: 17px;
  }

  .insight-card__header-title {
    font-size: 15px;
  }

  .insight-card__block-inner {
    grid-template-columns: minmax(88px, 104px) minmax(0, 1fr);
    column-gap: 16px;
  }

  .insight-card__content,
  .insight-card__insight-text,
  .insight-card__text,
  .insight-card__solution-text,
  .insight-card__hypothesis-text {
    font-size: 14px;
  }
}

@media only screen and (max-width: 479px) {
  .insight-card {
    padding: 14px;
    margin-bottom: 14px;
  }

  .insight-card__num {
    font-size: 16px;
  }

  .insight-card__header-title {
    font-size: 14px;
  }

  .insight-card__block-inner {
    grid-template-columns: minmax(80px, 96px) minmax(0, 1fr);
    column-gap: 14px;
  }

  .insight-card__label {
    font-size: 10px;
  }

  .insight-card__content,
  .insight-card__insight-text,
  .insight-card__text,
  .insight-card__solution-text,
  .insight-card__hypothesis-text {
    font-size: 13px;
    line-height: 1.5;
  }
}











/* ============================================
   Блок 3. Исследование: Интервью с пользователями
   ============================================ */

.project-section-header {
  margin: 64px 0 40px 0;
}

/* Верхняя часть: заголовок + иконка */
.project-section-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #D0D0D0;
  margin-bottom: 24px;
}

.project-section-header__title {
  font-family: 'Headline Bold', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #151515;
  margin: 0;
}

/* Иконка секции */
.project-section-header__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.project-section-header__icon svg {
  width: 100%;
  height: 100%;
}

/* Мета-блок */
.project-section-header__meta {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 20px 24px;
  background-color: #F0F4F8;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

/* Одна колонка мета-информации */
.project-section-header__meta-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 0 20px;
  position: relative;
}

/* Разделители между колонками */
.project-section-header__meta-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background-color: #D0D8E0;
}

.project-section-header__meta-item:first-child {
  padding-left: 0;
}

.project-section-header__meta-item:last-child {
  padding-right: 0;
}

/* Одна строка внутри колонки (label + value) */
.project-section-header__meta-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.project-section-header__meta-label {
  font-family: 'Onest-SemiBold', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
  white-space: nowrap;
  flex-shrink: 0;
}

.project-section-header__meta-value {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.interviews {margin: 24px 0 24px 0;}

.interviews p {    
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #353535;
  margin: 0 0 12px 0;}

/* ≤ 1200px: компактнее хедер */
@media (max-width: 1200px) {
  .project-section-header {
    margin: 56px 0 32px 0;
  }

  .project-section-header__title {
    font-size: 28px;
    line-height: 1.3;
  }
}

/* ≤ 1024px: заголовок и иконка в столбец */
@media (max-width: 1024px) {
  .project-section-header__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .project-section-header__icon {
    width: 32px;
    height: 32px;
    opacity: 0.4;
  }

  .project-section-header__meta {
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .project-section-header__meta-item {
    padding: 8px 0;
  }

  .project-section-header__meta-item:not(:last-child)::after {
    display: none; /* убираем вертикальные разделители */
  }
}

/* ≤ 948px: мета-колонки в один столбец */
@media (max-width: 948px) {
  .project-section-header {
    margin: 48px 0 28px 0;
  }

  .project-section-header__meta {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .project-section-header__meta-item {
    flex: none;
    padding: 0;
  }

  .project-section-header__meta-row {
    gap: 6px;
  }

  .project-section-header__meta-label,
  .project-section-header__meta-value {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* ≤ 479px: ещё компактнее заголовок и отступы */
@media (max-width: 479px) {
  .project-section-header {
    margin: 40px 0 24px 0;
  }

  .project-section-header__title {
    font-size: 22px;
    line-height: 1.3;
  }

  .project-section-header__meta {
    padding: 12px;
    border-radius: 6px;
  }
}



/* ============================================
   Блок 3.1 Персоны (Полноэкранный выезд)
   ============================================ */

.persona-section {
  position: relative;
  z-index: 1;
  margin: 64px 0;
}

.persona-section__header {
  margin-bottom: 40px;
}

.persona-section__title {
  margin: 0 0 24px;
  color: #141414;
  font-family: "Headline Bold", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -1px;
}

/* ============================================
   Обёртка и список
   ============================================ */

.persona-stack {
  position: relative;
  min-height: 400px;
  overflow: visible;
  z-index: 10;
}

.persona-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ============================================
   Карточка персоны
   ============================================ */

.persona-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  column-gap: 48px;
  align-items: start;

  width: 100%;
  max-width: 1140px;
  min-height: 360px;
  margin: 0 auto;
  padding: 40px;

  background-color: #f2f8ff;
  border: 1px solid #c4d0d9;
  border-radius: 16px;
  
  /* Разрешаем клики внутри карт */
  pointer-events: auto; 
}

/* ============================================
   Левая часть: изображение
   ============================================ */

.persona-card__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;

  background-color: #7eb8d4;
  border-radius: 16px;
}

.persona-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.persona-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;

  padding: 8px 16px;

  color: #006064;
  background-color: #e0f7fa;
  border-radius: 8px;

  font-family: "Onest-SemiBold", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

/* ============================================
   Правая часть: текст
   ============================================ */

.persona-card__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.persona-card__name {
  margin: 0;

  color: #000;
  font-family: "Onest-Bold", sans-serif;
  font-size: 22px;
  line-height: 1.3;
}

.persona-card__name-accent {
  font-weight: 700;
}

.persona-card__field {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.persona-card__field-label {
  margin: 0;

  color: #000;
  font-family: "Onest-SemiBold", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.persona-card__field-value {
  margin: 0;

  color: #333;
  font-family: "Onest-Regular", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   JTBD
   ============================================ */

.persona-card__jtbd-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.persona-card__jtbd {
  padding: 16px 20px;

  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.persona-card__jtbd-title {
  margin: 0 0 8px;

  color: #000;
  font-family: "Onest-Bold", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.persona-card__jtbd-text {
  margin: 0;

  color: #333;
  font-family: "Onest-Regular", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   Десктопные базовые стили скрипта
   ============================================ */

@media (min-width: 1200px) {
  .persona-section__header {
    position: relative;
    z-index: 20;
    pointer-events: none;
  }

  .persona-section__title {
    margin-bottom: 0;
  }

  .persona-stack {
    position: relative;
    overflow: visible;
    z-index: 10;
    /* Чтобы невидимая область в 100vh не блокировала клики под блоком */
    pointer-events: none; 
  }

  .persona-list {
    position: relative;
    display: block;
    height: 100%;
    margin: 0;
  }

  .persona-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    opacity: 1;
    transition: none;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .persona-scroll-container {
    position: relative;
    width: 100%;
    overflow: visible;
  }
}

/* ============================================
   Адаптив: до 1199px (Плоский список)
   ============================================ */

@media (max-width: 1199px) {
  .persona-stack {
    position: static !important;
    min-height: auto !important;
    height: auto !important;
    pointer-events: auto !important;
  }

  .persona-list {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    height: auto !important;
    margin: 0;
  }

  .persona-card {
    position: static !important;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    column-gap: 32px;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 32px;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    z-index: auto !important;
    pointer-events: auto !important;
  }
}

/* ============================================
   Планшеты ≤ 1024px
   ============================================ */

@media (max-width: 1024px) {
  .persona-card {
    grid-template-columns: 240px minmax(0, 1fr);
    column-gap: 24px;
  }
}

/* ============================================
   Мобильные ≤ 768px
   ============================================ */

@media (max-width: 768px) {
  .persona-card {
    display: block !important;
    padding: 24px;
  }

  .persona-card__visual {
    width: 60%;
    margin-bottom: 16px;
  }

  .persona-card__field {
    grid-template-columns: 1fr;
  }

  .persona-card__field-label {
    margin-bottom: 4px;
  }
}

/* ============================================
   Маленькие мобильные ≤ 479px
   ============================================ */

@media (max-width: 479px) {
  .persona-section {
    margin: 48px 0;
  }

  .persona-card {
    padding: 20px;
    border-radius: 12px;
  }

  .persona-card__visual {
    width: 100%;
  }

  .persona-card__name {
    font-size: 18px;
  }

  .persona-card__field-label,
  .persona-card__field-value,
  .persona-card__jtbd-title,
  .persona-card__jtbd-text {
    font-size: 13px;
  }
}





/* ============================================
   3.2 Главные инсайты по итогам интервью
   ============================================ */

.project-insights-block {
  margin: 64px 0;
}

/* Фон для секции "Инсайты интервью" во всю ширину */
#interview-insights {
  background-color: #f5f7f9;
}

/* Заголовок секции */
.project-insights-block__header {
  margin-bottom: 48px;
  padding-top:48px;
}

.project-insights-block__section-title {
  margin: 0px;
  font-family: "Headline Bold", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: #141414;
}

/* Список инсайтов */
.project-insights-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Один инсайт */
.project-insights-block__item {
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid #e0e0e0;
}

.project-insights-block__item:first-child {
  padding-top: 0;
}

.project-insights-block__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Номер инсайта слева */
.project-insights-block__number {
  font-family: 'Fact Expanded Bold', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #c0c0c0;  /* бледный серый, как на скриншоте */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: flex-start;
}

/* Контент справа */
.project-insights-block__content {
  min-width: 0;
}

.project-insights-block__title {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: #000;
  margin: 0 0 12px 0;
}

.project-insights-block__text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #353535;
  margin: 0;
}

/* Цитата внутри текста */
.project-insights-block__quote {
  display: block;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #353535;
  margin: 0;
}

.project-insights-block__quote::before {
  content: "«";
}

.project-insights-block__quote::after {
  content: "»";
}


/* Адаптив */

/* 1466px */
@media only screen and (max-width: 1466px) {
  .project-insights-block__item {
    grid-template-columns: 160px 1fr;
    column-gap: 40px;
    padding: 28px 0;
  }

  .project-insights-block__section-title {
    font-size: 28px;
  }
}

/* 1024px */
@media only screen and (max-width: 1024px) {
  .project-insights-block__item {
    grid-template-columns: 140px 1fr;
    column-gap: 32px;
    padding: 24px 0;
  }

  .project-insights-block__section-title {
    font-size: 26px;
  }

  .project-insights-block__title {
    font-size: 17px;
  }

  .project-insights-block__text,
  .project-insights-block__quote {
    font-size: 15px;
  }
}

/* 767px */
@media only screen and (max-width: 767px) {
  .project-insights-block {
    margin: 48px 0;
  }

  .project-insights-block__header {
    margin-bottom: 32px;
  }

  .project-insights-block__item {
    grid-template-columns: 1fr;  /* одна колонка */
    row-gap: 8px;
    padding: 24px 0;
  }

  .project-insights-block__number {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .project-insights-block__section-title {
    font-size: 24px;
  }

  .project-insights-block__title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .project-insights-block__text,
  .project-insights-block__quote {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* 479px */
@media only screen and (max-width: 479px) {
  .project-insights-block {
    margin: 40px 0;
  }

  .project-insights-block__header {
    margin-bottom: 24px;
  }

  .project-insights-block__section-title {
    font-size: 20px;
  }

  .project-insights-block__item {
    padding: 20px 0;
  }

  .project-insights-block__number {
    font-size: 11px;
  }

  .project-insights-block__title {
    font-size: 15px;
  }

  .project-insights-block__text,
  .project-insights-block__quote {
    font-size: 13px;
  }
}







/* ============================================
   Блок 4. Приоритезация функционала
   ============================================ */

.project-prioritization {
  margin: 64px 0;
  max-width: 100%;
}

/* Заголовок секции */

.project-prioritization__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E0E0E0;
}

.project-prioritization__header-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-prioritization__section-title {
  font-family: 'Headline Bold', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #151515;
  margin: 0;
}

.project-prioritization__header-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.project-prioritization__header-icon svg {
  width: 100%;
  height: 100%;
}

/* Метод (MoSCoW) */

.project-prioritization__method {
  background-color: #F0F4F8;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.project-prioritization__method p{
  font-family: 'Onest-Regular', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #353535;
  margin: 0 0 12px 0;
}

.project-prioritization__method-label {
  font-family: 'Onest-SemiBold', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.project-prioritization__method-value {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 15px;
  color: #353535;
}

/* Подзаголовок раздела таблицы */

.project-prioritization__subsection-title {
  margin: 0 0 24px 0px;
  font-family: "Headline Bold", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: #141414;
}

/* ============================================
   Таблица приоритизации
   ============================================ */

/* Обёртка: живём в пределах контейнера проекта,
   даём наружную обводку по периметру секции таблицы */

.project-prioritization__table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

/* Снимаем проектные min-width/скролл от .project-table */

.project-prioritization__table {
  width: 100%;
  max-width: 100%;
  border: 1px solid #E8E8E8;
  font-size: 14px;
  border-radius: 1px;
  overflow: hidden;
  box-sizing: border-box;
  table-layout: fixed; /* ключевой момент */
}

.project-prioritization__table.project-table {
  min-width: 0;
}

/* Шапка */

.project-prioritization__table thead {
  background-color: #f5f5f5;
}

.project-prioritization__table th {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #151515;
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #e0e0e0;
  white-space: normal; /* разрешаем перенос заголовка */
}

/* Ячейки */

.project-prioritization__table td {
  padding: 14px 12px;
  border-bottom: 1px solid #E8E8E8;
  vertical-align: top;
  line-height: 1.5;
}

/* Строки */

.project-prioritization__table tbody tr {
  background-color: #fff;
}

/* Текст в ячейках */

.project-prioritization__cell-text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  white-space: normal;    /* не запрещаем перенос */
  word-wrap: break-word;  /* длинные слова ломаются, а не растягивают колонку */
}

.project-prioritization__cell-text strong {
  font-family: 'Onest-SemiBold', sans-serif;
  font-weight: 600;
  color: #000;
}

/* Акценты для ячеек приоритезации */

.project-prioritization__must--have {
  background: linear-gradient(45deg, #EFF6FF 0%, #FFFFFF 45%, #FFFFFF 100%);
}

.project-prioritization__should--have {
  background: linear-gradient(45deg, #EFFAEF 0%, #FFFFFF 45%, #FFFFFF 100%);
}

.project-prioritization__could--have {
  background: linear-gradient(45deg, #FFFAEF 0%, #FFFFFF 45%, #FFFFFF 100%);
}

.project-prioritization__wont--have {
  background: linear-gradient(45deg, #FEF3F2 0%, #FFFFFF 45%, #FFFFFF 100%);
}
/* Минимальные ширины колонок — без процентов и nowrap */

.project-prioritization__table th:first-child,
.project-prioritization__table td:first-child {
  min-width: 140px;
}

.project-prioritization__table th:nth-child(2),
.project-prioritization__table td:nth-child(2) {
  min-width: 160px;
}

.project-prioritization__table th:nth-child(3),
.project-prioritization__table td:nth-child(3) {
  min-width: 140px;
}

/* Колонки "Релиз" и "Комментарий" — по левому краю */

.project-prioritization__table th:nth-child(4),
.project-prioritization__table td:nth-child(4),
.project-prioritization__table th:nth-child(5),
.project-prioritization__table td:nth-child(5) {
  text-align: left;
}

/* ============================================
   Бейджи внутри таблицы
   ============================================ */

/* Бейдж функционала */

.priority-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.priority-badge__icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Onest-Bold', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.priority-badge__icon img.functional-icon {
  display: block;
}

.priority-badge__text {
  font-family: 'Onest-SemiBold', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
}

/* Цветовые варианты (если используешь буквенные бейджи) */

.priority-badge__icon--blue {
  background-color: #3B82F6;
}

.priority-badge__icon--green {
  background-color: #22C55E;
}

.priority-badge__icon--yellow {
  background-color: #EAB308;
}

.priority-badge__icon--red {
  background-color: #EF4444;
}

.priority-badge__icon--orange {
  background-color: #F97316;
}

/* Бейдж гипотезы */

.hypothesis-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
}

.hypothesis-badge__icon {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Onest-Bold', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.hypothesis-badge__icon img.hypothesis-icon {
  display: block;
}

.hypothesis-badge__icon--purple {
  background-color: #A855F7;
}

.hypothesis-badge .project-prioritization__cell-text {
  margin: 0;
}

/* Комментарий «Риск без реализации» */

.project-prioritization__risk-label {
  font-family: 'Onest-SemiBold', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  display: block;
  margin-bottom: 4px;
}

/* ============================================
   Легенда MoSCoW
   ============================================ */

.project-prioritization__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  padding: 16px 0;
}

.project-prioritization__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-prioritization__legend-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-prioritization__legend-label {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

/* ============================================
   Адаптив
   ============================================ */

@media only screen and (max-width: 1024px) {
  .project-prioritization {
    margin: 48px 0;
  }

  .project-prioritization__section-title {
    font-size: 28px;
  }

  .project-prioritization__subsection-title {
    font-size: 20px;
  }
  .project-prioritization__legend {
  margin-top: 0px;
}
}

@media only screen and (max-width: 767px) {
  .project-prioritization {
    margin: 40px 0;
  }

  .project-prioritization__section-title {
    font-size: 24px;
  }

  .project-prioritization__table {
    font-size: 13px;
  }

  .project-prioritization__table th,
  .project-prioritization__table td {
    padding: 10px 10px;
  }

  .project-prioritization__table th:first-child,
  .project-prioritization__table td:first-child {
    min-width: 120px;
  }

  .project-prioritization__table th:nth-child(2),
  .project-prioritization__table td:nth-child(2) {
    min-width: 140px;
  }

  .project-prioritization__legend {
    gap: 16px;
  }
}


/* ============================================
   Таблица Приоритезации: карточный вид
   ============================================ */

/* Контейнер карточек: сетка + скрыто по умолчанию (включает JS) */
.prioritization-cards {
  display: none;                /* JS включает при <1024px */
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Адаптивная сетка для tablet/desktop */
@media (min-width: 640px) {
  .prioritization-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .prioritization-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Базовый вид карточки приоритета (по образцу инсайтов) */
.prioritization-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

/* Цветовые акценты по приоритету */
.prioritization-card[data-priority="mvp"] {
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.15);
}

.prioritization-card[data-priority="v11"] {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.prioritization-card[data-priority="v20"] {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.12);
}

.prioritization-card[data-priority="deferred"] {
  border-color: #9ca3af;
  box-shadow: 0 0 0 1px rgba(156, 163, 175, 0.12);
  opacity: 0.9;
}

/* Шапка карточки: иконка функционала + название (как у инсайтов) */
.prioritization-card__header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.prioritization-card__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.prioritization-card__title {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

/* Общие блоки внутри карточки */
.prioritization-card__block {
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
}

.prioritization-card__block:last-child {
  margin-bottom: 0;
}

/* Комментарий / риск — мягкий фон, но та же сетка */
.prioritization-card__block--comment {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 0 -4px;
}

/* Внутренняя сетка блока: лейбл слева, контент справа (как у инсайтов) */
.prioritization-card__block-inner {
  display: grid;
  grid-template-columns: minmax(96px, 112px) minmax(0, 1fr);
  column-gap: 18px;
  align-items: flex-start;
}

/* Лейбл блока: ГИПОТЕЗА / ОБОСНОВАНИЕ / РЕЛИЗ / КОММЕНТАРИЙ */
.prioritization-card__label {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

/* Контент блока */
.prioritization-card__content {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #353535;
  word-break: break-word;
  overflow-wrap: break-word;
  /* горизонтальное расположение иконки и текста гипотезы */
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.prioritization-card__content p {
  margin: 0;
}

/* Гипотеза: иконка + текст */
.prioritization-card__hypothesis-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 6px;
  display: block;
}

.prioritization-card__hypothesis-text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #353535;
  margin: 0;
}

/* Обоснование / релиз / обычный текстовый блок */
.prioritization-card__text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #353535;
  margin: 0;
}

/* Риск / комментарий */
.prioritization-card__risk-label {
  font-size: 12px;
  font-weight: 600;
  color: #d97706;
  margin-bottom: 4px;
}

/* Адаптация под маленькие экраны (как у инсайтов) */
@media only screen and (max-width: 767px) {
  .prioritization-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .prioritization-card__icon {
    width: 18px;
    height: 18px;
  }

  .prioritization-card__title {
    font-size: 15px;
  }

  .prioritization-card__block-inner {
    grid-template-columns: minmax(88px, 104px) minmax(0, 1fr);
    column-gap: 16px;
  }

  .prioritization-card__content,
  .prioritization-card__text,
  .prioritization-card__hypothesis-text {
    font-size: 14px;
  }
}

@media only screen and (max-width: 479px) {
  .prioritization-card {
    padding: 14px;
    margin-bottom: 14px;
  }

  .prioritization-card__icon {
    width: 16px;
    height: 16px;
  }

  .prioritization-card__title {
    font-size: 14px;
  }

  .prioritization-card__block-inner {
    grid-template-columns: minmax(80px, 96px) minmax(0, 1fr);
    column-gap: 14px;
  }

  .prioritization-card__label {
    font-size: 10px;
  }

  .prioritization-card__content,
  .prioritization-card__text,
  .prioritization-card__hypothesis-text {
    font-size: 13px;
    line-height: 1.5;
  }
}



/* === 6. Блок: Customer Journey Map === */

.project-cjm {
  margin: 80px 0;
}

/* Заголовок раздела */
.project-cjm__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.project-cjm__section-title {
  font-family: 'Headline Bold', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #151515;
  margin: 0;
}

.project-cjm__icon {
  color: #c0c0c0;
  flex-shrink: 0;
}

/* Разделители */
.project-cjm__divider {
  height: 1px;
  background-color: #d0d0d0;
  margin: 20px 0 0 0;
  width: 100%;
}

.project-cjm__divider--header {
  margin-bottom: 32px;
}

/* Таблица CJM */
.project-cjm__table-wrapper {
  width: 100%;
  overflow-x: visible;
}

.project-cjm__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px 8px;
  font-size: 13px;
  table-layout: fixed;
}

/* Шапка */
.project-cjm__table thead th {
  background-color: #3d3d3d;
  color: #ffffff;
  padding: 12px 10px;
  border-radius: 8px;
  text-align: center;
  vertical-align: middle;
  font-family: 'Onest-Bold', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.project-cjm__table thead th.col-stage {
  background-color: #252424;
  color: #ffffff;
  text-align: center;
  border-radius: 8px;
  vertical-align: middle;
  font-family: 'Onest-Bold', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Бейдж номера этапа */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #5a5a5a;
  color: #ffffff;
  border-radius: 50%;
  font-family: 'GeologicaRoman-Bold', sans-serif;
  font-size: 12px;
  margin-bottom: 6px;
}

.step-title {
  display: block;
  font-size: 12px;
  line-height: 1.3;
}

/* Тело таблицы */
.project-cjm__table tbody td {
  padding: 14px 10px;
  vertical-align: top;
  background-color: #f5f5f5;
  border-radius: 8px;
  font-family: 'Onest-Regular', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: #353535;
}

.project-cjm__table tbody td.col-stage {
  background-color: #e8e8e8;
  width: 100px;
  text-align: center;
  vertical-align: middle;
}

/* Подпись этапа */
.stage-label {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #151515;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stage-label--opportunity {
  color: #151515;
}

/* Ячейки этапов */
.col-step {
  width: calc((100% - 100px) / 6);
}

/* Эмоции */
.emotion-row {
  display: flex;
  flex-direction: column;    /* колонка вместо строки */
  align-items: flex-start;   /* выравниваем по левому краю */
  gap: 2px;                  /* небольшой отступ между названием и звёздочками */
  margin-bottom: 4px;
}

.emotion-row:last-child {
  margin-bottom: 0;
}

.emotion-label {
  font-size: 11px;
  color: #555555;
}

.emotion-stars {
  font-size: 10px;
  letter-spacing: -1px;
}

/* Боли */
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.pain-item .hypothesis-icon {
  width: 18px;      /* выбери подходящее значение, например 20–24px */
  height: 18px;     /* чтобы иконки были ровными по размеру */
  flex-shrink: 0;   /* не сжимать иконку при переносе текста */
}

.pain-item:last-child {
  margin-bottom: 0;
}

.pain-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background-color: #7c3aed;
  color: #ffffff;
  border-radius: 4px;
  font-family: 'GeologicaRoman-Bold', sans-serif;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Возможности — голубой фон */
.col-step--opportunity {
  background-color: #e8f4fd !important;
  color: #1a5f9e;
}

/* Ячейка этапа "Возможности" — голубой фон */
.project-cjm__table tbody tr:last-child td.col-stage {
  background-color: #e8f4fd;   /* тот же голубой, что у col-step--opportunity */
  color: #1a5f9e;
}

/* Отступы между строк */
.project-cjm__table tbody tr {
  margin-bottom: 8px;
}

.project-cjm__table tbody tr:last-child {
  margin-bottom: 0;
}


/* =====================================================
   Блок: Customer Journey Map. Карточки (mobile / XS)
   ================================================== */

/* Контейнер для карточек внутри wrapper'а */
.cjm-cards {
  display: none;
}

  .cjm-card__emotion-label {
    font-size: 12px;
  }

  .cjm-card__emotion-stars {
    font-size: 11px;
  }
}

/* Базовый вид карточки одного этапа CJM */
.cjm-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

/* Шапка карточки: номер этапа + название */
.cjm-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.cjm-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #3d3d3d;
  color: #ffffff;
  border-radius: 50%;
  font-family: 'GeologicaRoman-Bold', sans-serif;
  font-size: 12px;
  flex-shrink: 0;
}

.cjm-card__title {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 15px;
  color: #151515;
}

/* Общий блок внутри карточки (лейбл слева, контент справа) */
.cjm-card__block {
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
}

.cjm-card__block-inner {
  display: grid;
  grid-template-columns: minmax(96px, 112px) minmax(0, 1fr);
  column-gap: 14px;
  align-items: flex-start;
}

/* Лейбл блока (Действие, Мысли и т.п.) */
.cjm-card__label {
  font-family: 'Onest-Bold', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

/* Контент блока */
.cjm-card__content {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #353535;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Эмоции внутри блока */
.cjm-card__emotion-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 4px;
}

.cjm-card__emotion-row:last-child {
  margin-bottom: 0;
}

.cjm-card__emotion-label {
  font-size: 12px;
  color: #555555;
}

.cjm-card__emotion-stars {
  font-size: 11px;
  letter-spacing: -1px;
}

/* Боли внутри блока */
.cjm-card__pain-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.cjm-card__pain-item:last-child {
  margin-bottom: 0;
}

.cjm-card__pain-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cjm-card__pain-text {
  font-size: 14px;
  color: #353535;
}

/* Возможности — голубой фон внутри карточки (для блока Opportunities) */
.cjm-card__block--opportunity .cjm-card__content {
  background-color: #e8f4fd;
  border-radius: 8px;
  padding: 8px 10px;
  color: #1a5f9e;
}

/* ============================================
   Адаптив: CJM → карточки ≤ 767px
   ============================================ */

@media only screen and (max-width: 767px) {
  .project-cjm__table {
    display: none;
  }

  .cjm-cards {
    display: block;
  }

  .project-cjm__table-wrapper {
    overflow-x: hidden;
  }

  .cjm-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .cjm-card__title {
    font-size: 15px;
  }

  .cjm-card__block-inner {
    grid-template-columns: minmax(88px, 104px) minmax(0, 1fr);
    column-gap: 12px;
  }

  .cjm-card__content {
    font-size: 14px;
  }
}

@media only screen and (max-width: 479px) {
  .cjm-card {
    padding: 14px;
    margin-bottom: 14px;
  }

  .cjm-card__title {
    font-size: 14px;
  }

  .cjm-card__block-inner {
    grid-template-columns: minmax(80px, 96px) minmax(0, 1fr);
    column-gap: 10px;
  }

  .cjm-card__label {
    font-size: 10px;
  }

  .cjm-card__content {
    font-size: 13px;
    line-height: 1.5;
  }
}








/* ============================================
   Заголовок блока с иконкой и описанием
   ============================================ */

.project-section-header-v2 {
  margin: 64px 0 32px 0;
}

/* Верхняя часть: заголовок + иконка */
.project-section-header-v2__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #D0D0D0;
  margin-bottom: 20px;
}

.project-section-header-v2__title {
  font-family: 'Headline Bold', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #151515;
  margin: 0;
}
}

/* Иконка секции */
.project-section-header-v2__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.25;
  
}

.project-section-header-v2__icon svg {
    width: 32px;
    height: 32px;
	color: #c0c0c0;
}

/* Описание под заголовком */
.project-section-header-v2__description {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #353535;
  margin: 0;
}


/* ---------- Адаптив ---------- */

/* 767px */
@media only screen and (max-width: 767px) {
  .project-section-header-v2 {
    margin: 48px 0 24px 0;
  }

  .project-section-header-v2__top {
    padding-bottom: 14px;
    margin-bottom: 16px;
  }

  .project-section-header-v2__title {
    font-size: 26px;
  }

  .project-section-header-v2__icon {
    width: 28px;
    height: 28px;
  }

  .project-section-header-v2__description {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* 479px */
@media only screen and (max-width: 479px) {
  .project-section-header-v2 {
    margin: 40px 0 20px 0;
  }

  .project-section-header-v2__top {
    padding-bottom: 12px;
    margin-bottom: 14px;
  }

  .project-section-header-v2__title {
    font-size: 22px;
  }

  .project-section-header-v2__icon {
    width: 24px;
    height: 24px;
  }

  .project-section-header-v2__description {
    font-size: 14px;
  }
}







/* ============================================
   Блок 10: Результат
   ============================================ */

.project-result {
  margin: 80px 0;
}

/* Заголовок раздела */
.project-result__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.project-result__section-title {
  font-family: 'Headline Bold', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #151515;
  margin: 0;
}

.project-result__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  opacity: 0.3;
  color: #000;
}

/* Разделитель */
.project-result__divider {
  height: 1px;
  background-color: #d0d0d0;
  margin: 20px 0 0 0;
  width: 100%;
}

.project-result__divider--header {
  margin-bottom: 32px;
}

/* Контент */
.project-result__content {
  margin-bottom: 40px;
}

.project-result__text {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #353535;
  margin: 0 0 16px 0;
}

.project-result__text:last-child {
  margin-bottom: 0;
}

/* Подзаголовок */
.project-result__subsection-title {
  margin: 0 0 24px 0px;
  font-family: "Headline Bold", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: #141414;
}


/* ========== Адаптив ========== */

/* 1024px */
@media only screen and (max-width: 1024px) {
  .project-result {
    margin: 64px 0;
  }

  .project-result__section-title {
    font-size: 28px;
  }

  .project-result__text {
    font-size: 15px;
  }
}

/* 767px */
@media only screen and (max-width: 767px) {
  .project-result {
    margin: 48px 0;
  }

  .project-result__section-title {
    font-size: 24px;
  }

  .project-result__icon {
    width: 28px;
    height: 28px;
  }

  .project-result__divider--header {
    margin-bottom: 24px;
  }

  .project-result__content {
    margin-bottom: 32px;
  }

  .project-result__text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .project-result__subsection-title {
    font-size: 18px;
  }
}

/* 479px */
@media only screen and (max-width: 479px) {
  .project-result {
    margin: 40px 0;
  }

  .project-result__section-title {
    font-size: 22px;
  }

  .project-result__icon {
    width: 24px;
    height: 24px;
  }

  .project-result__divider--header {
    margin-bottom: 20px;
  }

  .project-result__content {
    margin-bottom: 24px;
  }

  .project-result__text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .project-result__subsection-title {
    font-size: 16px;
  }
}






/* Project Flow Slider */
.project-flow-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.project-flow-slider__container {
  position: relative;
  width: 100%;
}

.project-flow-slider__track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.project-flow-slider__slide {
  min-width: 100%;
  flex-shrink: 0;
  width: 100%;
}

/* === Один элемент в слайде === */
.project-flow-slider__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 0;
}

.project-flow-slider__mockup {
  width: 100%;
  display: flex;
  justify-content: center;
}

.project-flow-slider__mockup img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
}

.project-flow-slider__caption {
  font-size: 17px;
  line-height: 1.7;
  color: #353535;
  margin: 0;
  text-align: left;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.project-flow-slider__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2E26D9;
  color: #fff;
  font-family: 'Fact Expanded Bold', sans-serif;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

.project-flow-slider__step-text {
  flex: 1;
  min-width: 0;
}

/* Стрелки */
.project-flow-slider__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #D7D7F0;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: background 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.project-flow-slider__arrow--prev {
  left: 20px;
}

.project-flow-slider__arrow--next {
  right: 20px;
}

.project-flow-slider__arrow.is-visible {
  opacity: 1;
  visibility: visible;
}

.project-flow-slider__arrow:hover {
  background: #2E26D9;
}

/* SVG стрелки внутри кнопок */
.project-flow-slider__arrow svg {
  stroke: #fff;
  transition: stroke 0.2s ease;
}

.project-flow-slider__arrow:hover svg {
  stroke: #fff;
}

/* Точки */
.project-flow-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  height: 20px;
  padding: 5px 0;
  box-sizing: border-box;
}

.project-flow-slider__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D7D7F0;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.project-flow-slider__dots button.is-active {
  background: #2E26D9;
  transform: scale(1.2);
}

.project-flow-slider__dots button:hover {
  background: #2E26D9;
  opacity: 0.8;
}

/* === Адаптив: планшет (767px) === */
@media only screen and (max-width: 767px) {
  .project-flow-slider__arrow {
    width: 36px;
    height: 36px;
  }
  
  .project-flow-slider__arrow--prev {
    left: 10px;
  }
  
  .project-flow-slider__arrow--next {
    right: 10px;
  }
  
  .project-flow-slider__item {
    padding: 30px 0;
  }
  
  .project-flow-slider__mockup img {
    max-width: 400px;
  }
  
  .project-flow-slider__caption {
    max-width: 400px;
    font-size: 16px;
    line-height: 1.6;
    gap: 10px;
  }
  
  .project-flow-slider__step-number {
    min-width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

/* === Адаптив: мобильные (479px) === */
@media only screen and (max-width: 479px) {
  .project-flow-slider__item {
    padding: 24px 0;
  }
  
  .project-flow-slider__mockup img {
    max-width: 280px;
  }
  
  .project-flow-slider__caption {
    max-width: 280px;
    font-size: 15px;
    line-height: 1.6;
    gap: 8px;
  }
  
  .project-flow-slider__step-number {
    min-width: 26px;
    height: 26px;
    font-size: 13px;
  }
  
  .project-flow-slider__arrow {
    width: 32px;
    height: 32px;
  }
  
  .project-flow-slider__arrow--prev {
    left: 5px;
  }
  
  .project-flow-slider__arrow--next {
    right: 5px;
  }
}





/* Metrics Section */
.project-metrics-section {
  margin-top: 48px;
  margin-bottom: 48px;
}

.project-metrics-section__header {
  margin-bottom: 40px;
}

.project-metrics-section__header-left {
  max-width: 800px;
}

.project-metrics-section__section-title {
  font-family: 'GeologicaRoman-Bold', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #151515;
  margin: 0;
}

.project-metrics-section__divider {
  height: 1px;
  background-color: #d0d0d0;
  margin: 20px 0 0 0;
  width: 100%;
}

.project-metrics-section__divider--header {
  margin-bottom: 32px;
}

.project-metrics-section__intro {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #353535;
  margin: 24px 0 24px 0;
}

/* Metrics Roadmap */
.project-metrics-roadmap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project-metrics-roadmap__stage {
  background: #f2f5ff;
  border: solid 1px #D2DEFF;
  border-radius: 12px;
  padding: 32px;
}

.project-metrics-roadmap__stage-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.project-metrics-roadmap__stage-icon {
  width: 40px;
  height: 40px;
  color: #2E26D9;
  flex-shrink: 0;
}

.project-metrics-roadmap__stage-icon svg {
  width: 100%;
  height: 100%;
}

.project-metrics-roadmap__stage-titles {
  flex: 1;
  min-width: 0;
}

.project-metrics-roadmap__stage-title {
  font-family: 'GeologicaRoman-Bold', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin: 0 0 4px 0;
}

.project-metrics-roadmap__stage-subtitle {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  color: #777;
  margin: 0;
  line-height: 1.4;
}

/* Адаптив */
@media only screen and (max-width: 767px) {
  .project-metrics-roadmap__stage-header {
    gap: 12px;
  }
  
  .project-metrics-roadmap__stage-icon {
    width: 36px;
    height: 36px;
  }
  
  .project-metrics-roadmap__stage-title {
    font-size: 18px;
  }
  
  .project-metrics-roadmap__stage-subtitle {
    font-size: 13px;
  }
}

.project-metrics-roadmap__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-metric-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.project-metric-card__value {
  font-family: 'Fact Expanded Bold', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #2E26D9;
  margin-bottom: 8px;
}

.project-metric-card__label {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #000;
  margin-bottom: 8px;
}

.project-metric-card__desc {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #777;
  margin: 0;
}

.project-metrics-section__note {
  margin-top: 32px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
}

.project-metrics-section__note p {
  font-family: 'Onest-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Адаптив */
@media only screen and (max-width: 767px) {
  .project-metrics-roadmap__stage {
    padding: 24px;
  }
  
  .project-metrics-roadmap__stage-title {
    font-size: 18px;
  }
  
  .project-metric-card__value {
    font-size: 16px;
  }
}

@media only screen and (max-width: 479px) {
  .project-metrics-section {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .project-metrics-roadmap__stage {
    padding: 20px;
  }
  
  .project-metrics-roadmap__metrics {
    grid-template-columns: 1fr;
  }
}



/* ===== Планы на развитие ===== */
.development {
  padding: 40px 0;
}

@media (max-width: 767px) {
  .development {
    padding: 48px 0;
  }
}

/* ===== Заголовок блока===== */
.development__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid #E5E5E5;
  margin-bottom: 32px;
}

.development__title {
  font-family: 'Headline Bold', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #151515;
  margin: 0;
}

@media (max-width: 767px) {
  .development__title {
    font-size: 28px;
  }
}

@media (max-width: 479px) {
  .development__title {
    font-size: 24px;
  }
}

/* ===== Описание ===== */
.development__text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
}

.development__text:last-of-type {
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .development__text:last-of-type {
    margin-bottom: 32px;
  }
}

/* ===== Карточки ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 767px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 479px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.card {
  background: linear-gradient(135deg, #EEEEFF 0%, #E6F1FF 100%);
  border-radius: 16px;
  padding: 24px;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

@media (max-width: 767px) {
  .card {
    padding: 20px;
    padding-right: 0;
    min-height: 280px;
  }
}

@media (max-width: 479px) {
  .card {
    padding: 20px;
    padding-right: 0;
    min-height: auto;
  }
}

.card__text {
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  padding-right: 24px;
}

@media (max-width: 767px) {
  .card__text {
    padding-right: 20px;
  }
}

@media (max-width: 479px) {
  .card__text {
    padding-right: 20px;
  }
}

.card__illustration {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
}

.card__illustration img {
  max-width: 140px;
  height: auto;
  display: block;
}

@media (max-width: 479px) {
  .card__illustration {
    margin-top: 20px;
  }

  .card__illustration img {
    max-width: 120px;
  }
}