/* cases.css */

/* контейнер */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  padding: 0;
}

/* базовые утилиты для заголовков и текста */
.case-dtp-hero__label {
  font-family: Unbounded;
  display: inline-block;
  border-radius: 15px;
  text-transform: uppercase;
  background: none;
  padding: 0;
  color: #8bcb0d;
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: 800;
}

.case-dtp-hero__title,
.case-dtp-hero__description {
  margin: 0;
}

/* cases.css */

/* Базовые типографические утилиты для цитат */
.quote__text {
  font-family: 'Unbounded', cursive;
  font-size: 2.5rem;
  line-height: 1.4;
  margin: 0 0 10px;
  font-weight: 300;
}

.quote__author {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 0;
  opacity: 1;
  font-weight: 200;
}


























/* cases.css */

/* Секция «Какие были проблемы» */
.case-dtp-problems__inner {
  padding: 150px 0;
}

/* Заголовок */
.case-dtp-problems__title {
  font-family: 'Unbounded', cursive;
  font-size: 3rem;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
}

/* Список карточек */
.case-dtp-problems__list {
  list-style: none;
  display: flex;
  gap: 40px;
  padding: 0;
  margin: 0;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Карточка */
.case-dtp-problems__item {
  max-width: 30%;
  flex: 1 1 30%;
  color: #fff;
}

.case-dtp-problems__item::before {
  content: "";
  width: 27px;
  height: 27px;
  position: absolute;
  background: url(../img/cases/error.png) no-repeat center center;
  left: -13px;
  top: 32px;
  background-size: 100% 100%;
  box-shadow: 0px 5px 10px #670c0c6b;
  border-radius: 50px;
}

.case-dtp-problems__item-title {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.case-dtp-problems__item-text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* cases.css */

/* Секция «Решение» */
.case-dtp-solution {
  background: #ffffff;    /* светло-серый фон */
  padding: 120px 0;       /* отступы сверху/снизу */
}

/* Выравнивание внутри контейнера */
.case-dtp-solution .container {
  text-align: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Заголовок */
.case-dtp-solution__title {
  font-family: 'Unbounded', cursive;
  font-weight: 900;
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #000;
}

/* Подчёркивание заголовка */
.case-dtp-solution__title::after {
  /* content: ''; */
  display: block;
  width: 80px;
  height: 4px;
  background: #8bcb0d; /* красный подчёркивающий цвет из макета */
  margin: 16px auto 0;
  border-radius: 2px;
}

/* Текст */
.case-dtp-solution__text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #000;
  max-width: 80%;
  margin: 40px auto 0;
}




















/* сегмент «Реальный план» */
.case-dtp-plan {
  background: #f5f6f8;
  padding: 170px 0;
}

/* заголовок */
.case-dtp-plan__title {
  font-family: 'Unbounded', cursive;
  font-weight: 900;
  font-size: 3rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 100px;
  color: #000;
}

/* список этапов */
.case-dtp-plan__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* единый блок этапа */
.case-dtp-plan__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 60px;
  border-radius: 20px;
  overflow: hidden;
}

/* чёт/нечёт: фон */
.case-dtp-plan__item:nth-child(odd) {
  background: #ffffff;
  color: #000;
}
.case-dtp-plan__item:nth-child(even) {
  background: #000;
}

/* контент */
.case-dtp-plan__content {
  max-width: 50%;
}

/* номер */
.case-dtp-plan__number {
  font-family: 'Unbounded', cursive;
  font-size: 4rem;
  font-weight: 300;
  margin-right: 20px;
  display: inline-block;
}
.case-dtp-plan__item:nth-child(odd) .case-dtp-plan__number {
  color: rgb(166 205 20);
}
.case-dtp-plan__item:nth-child(even) .case-dtp-plan__number {
  color: #c1ed1d;
}

/* заголовок этапа */
.case-dtp-plan__item-title {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
  font-size: 1.85rem;
  margin: 0 0 10px;
  color: inherit;
  line-height: 1.4;
}

/* текст этапа */
.case-dtp-plan__item-text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.4;
  color: inherit;
}

/* блок с изображением */
.case-dtp-plan__image {
  position: absolute;
  right: 0px;
  bottom: -40px;
  transition: bottom 1s ease;
}
.case-dtp-plan__image img {
  display: block;
  max-width: 500px;
  width: 100%;
  height: auto;
}

/* hover-эффект: изображение «всплывает» */
.case-dtp-plan__item:hover .case-dtp-plan__image {
  bottom: -1px;
}

/* адаптив */
@media (max-width: 992px) {
  .case-dtp-plan__item {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }
  .case-dtp-plan__content {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .case-dtp-plan__image {
    position: relative;
    right: 0;
    margin: 0 auto;
  }
}




















/* Секция «Результаты проекта» */
.case-dtp-results {
  background: #f5f6f8;
  padding: 100px 0;
}

.case-dtp-results__title {
  font-family: 'Unbounded', cursive;
  font-weight: 900;
  font-size: 3rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 90px;
  color: #000;
}

.case-dtp-results__inner {
  display: flex;
  gap: 40px;
  align-items: stretch;
  justify-content: space-between;
  color: #000;
}

/* Список пунктов */
.case-dtp-results__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  background: #fff;
  padding: 55px 50px;
  border-radius: 20px;
  padding-right: 80px;
}

.case-dtp-results__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.case-dtp-results__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 4px;
}

.case-dtp-results__item-title {
  font-family: 'Unbounded', cursive;
  font-size: 1.25rem;
  margin: 0 0 5px;
}

.case-dtp-results__item-text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
}

/* Колонка с документом */
.case-dtp-results__doc {
  flex: 1 1 50%;
  text-align: center;
  padding: 40px;
  background: #a7da42;
  border-radius: 20px;
}
.case-dtp-results__doc img {
  height: auto;
  width: auto;
  max-width: 80%;
  border: 15px solid #000; /* чёрная рамка */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.case-dtp-results__doc img:hover {
  transform: scale(1.02);
}

/* Адаптив */
@media (max-width: 992px) {
  .case-dtp-results__inner {
    flex-direction: column;
    gap: 40px;
  }
  .case-dtp-results__list,
  .case-dtp-results__doc {
    flex: 1 1 100%;
  }
}

























/* === Блок «Что было бы без нас» === */
.case-dtp-whatif {
  background: #fff;
  padding: 120px 0;
}

.case-dtp-whatif__title {
  font-family: 'Unbounded', cursive;
  font-weight: 900;
  font-size: 3rem;
  text-transform: uppercase;
  color: #000;
  text-align: center;
  margin-bottom: 25px;
}

.case-dtp-whatif__text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.5;
  color: #333;
  max-width: 80%;
  text-align: center;
  margin: 0 auto;
}

























/* cases.css */

/* CTA-блок кейса */
.case-dtp-cta {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
}

.case-dtp-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  gap: 40px;
}

/* Контентная колонка */
.case-dtp-cta__content {
  flex: 1 1 80%;
  color: #fff;
}

.case-dtp-cta__title {
  font-family: 'Unbounded', cursive;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 50px;
}

.case-dtp-cta__text {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 120px;
  width: 90%;
}

/* Форма */
.case-dtp-cta__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-dtp-cta__input {
  width: 100%;
  max-width: 300px;
  font-size: 1rem;
  flex: 1;
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  font-family: 'Roboto Flex', sans-serif;
  font-size: 1.25rem;
}

.case-dtp-cta__button {
  white-space: nowrap;
  border-radius: 10px;
  border: none;
}

/* Чекбокс */
.case-dtp-cta__consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  align-items: start;
  font-family: 'Roboto Flex', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 200;
  cursor: pointer;
  width: 60%;
}
.case-dtp-cta__consent input {
  margin: 0;
  margin-right: 8px;
  vertical-align: middle;
}

/* Изображение */
.case-dtp-cta__image {
  flex: 1 1 50%;
  position: relative;
}
.case-dtp-cta__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Адаптив */
@media (max-width: 992px) {
  .case-dtp-cta__inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  .case-dtp-cta__image {
    margin-bottom: 30px;
  }
}
