

/* Start:/cases/css/cases.css?17943758629799*/
.cases {
  width: 100%;
}

.cases__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 786px;
  gap: 20px;
}

.cases__text-block {
  display: flex;
  flex-direction: column;
  padding: 60px;
  color: white;
  background: url('/images/cases/aboutcol1.png');
  background-size: cover;
  background-position: center;
  border-radius: 50px;
}

.cases__title {
    font-weight: 700;
    font-style: Bold;
    font-size: 76px;
    line-height: 110.00000000000001%;
    margin-bottom: 30px;
}

.cases__description {
    font-weight: 400;
    font-style: Regular;
    font-size: 38px;
    line-height: 110.00000000000001%;
    margin-bottom: 30px;
}

.cases__image-block {
  display: flex;
 
  justify-content: center;

}

.cases__image {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}




.services__list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  list-style: none;
  padding-bottom: 30px;
  align-items: stretch;
}

.services__item {
  background-color: #ffffff;
  border: 2px solid #000000;
  border-radius: 50px;
  padding:  16px;
  color: #6C757D;
  text-align: center;
  white-space: wrap;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 400;
  font-style: Regular;
  font-size: 32px;
  line-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  flex-basis: 0;
  max-width: fit-content;
}

/* При наведении: фон синий, белый текст, тень */
.services__item:hover {
 background-color: #D5E2FE;
  color: #000;
 box-shadow: 2px 2px 20px 0px #2258A280;

}

/* Активный элемент */
.services__item--active {
  background-color: #D5E2FE;
  color: #000;
  box-shadow: 2px 2px 20px 0px #2258A280;

}

/* Маленький размер */
.services__item--small {

}

/* Средний размер */
.services__item--medium {

}
.cases__button {
  width: 100%;
  display: flex;
  justify-content: center; 
  align-items: center;
}

.cases__button-btn {
  position: relative;
  width: 380px;       /* фикс ширина */
  height: 79px;       /* фикс высота */
  border: 2px solid #000;
  border-radius: 9999px;
  background: transparent;
  color: #000;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  cursor: pointer;
  display: flex;       /* чтобы центрировать текст */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: visible;
  padding: 60px 0;
  margin-top: 40px;
}

/* стрелка через фон */
.cases__button-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -45px;
  transform: translateX(-50%) translateY(-10px);
  width: 26px;
  height: 30px;
  background-image: url(/images/cases/arrow-down.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  opacity: 0;
  transition: all 0.3s ease;
}

.cases__button-btn:hover {
  background: #0B56FC;
  color: #fff;
  border: 2px solid #0B56FC;
  box-shadow: 2px 2px 20px 0px #2258A280;

}

.cases__button-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}



/* Список пк*/

@media screen and (max-width: 1900px) {
.services__item {
    border-radius: 50px;
    padding: 16px;
    font-size: 26px;
}

}


@media screen and (max-width: 1600px) {
  .services__item {
      border-radius: 50px;
      padding: 16px;
      font-size: 22px;
  }

}

@media screen and (max-width: 1400px) {
  .services__item {
      border-radius: 50px;
      padding: 16px;
      font-size: 18px;
  }

}

@media screen and (max-width: 1200px) {
  .services__list {
    gap: 20px;
    padding-bottom: 20px;
  }

   .services__item {
      border-radius: 50px;
      padding: 12px;
      font-size: 16px;
  }
}


@media screen and (max-width: 992px) {
  .services {
    display: none;
  }
}

/* Список мобилка */

.services__mobile {
  display: none;

  @media (max-width: 992px) {
    display: block;
  }
}

.services-mobile {
  position: relative;
  margin-bottom: 60px;
}

@media (max-width: 1200px) {
  .services-mobile {
    margin-bottom: 20px;
  }
}

.services-mobile--open .services-mobile__button{
  border-radius: 25px 25px 0 0;
}

.services-mobile__button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--c_Cyan);
  border-radius: 25px;
  border: none;
  cursor: pointer;
  z-index: 11;
  position: relative;
}

.services-mobile__text {
  font-size: 14px;
  color: #1e1e1e;
}

.services-mobile__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: blue;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 6;
  transition: all 0.7s ease;
  fill: #ffffff;
  color: #ffffff;
  transition: transform 0.3s;
}

.services-mobile__icon svg {
  width: 20px;
  height: 20px;
}

.services-mobile__list {
  display: none;
  background: var(--c_Light-Cyan);
  border-radius: 0px 0px 20px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 10;
  width: 100%;
}

.services-mobile__item {
  position: relative; /* нужно для квадратов */
  padding: 19px 22px;
  font-size: 14px;
  cursor: pointer;
}

.services-mobile__item:hover {
  background: var(--c_Cyan);
}

/* квадраты */
.square__one,
.square__two {
  width: 20px;
  height: 20px;
  position: absolute;
  background-color: var(--c_Light-Cyan);
  top: 100%; /* сразу под айтемом */
}

.square__one {
  left: 0;
  top: -20px;
}

.square__two {
  right: 0;
  top: -20px;
}

/* при ховере на первый айтем меняем цвет квадратов */
.services-mobile__item--with-squares:hover .square__one,
.services-mobile__item--with-squares:hover .square__two {
  background-color: var(--c_Cyan);
}

/* модификатор для открытия */
.services-mobile--open .services-mobile__list {
  display: block;
}

.services-mobile--open .services-mobile__icon {
  transform: rotate(180deg);
}

/*адаптив фильтра моб*/






/* кнопка */

@media screen and (max-width: 1400px) {
  .cases__button-btn {
    font-size: 28px;
    padding: 40px 0;
  }
}

@media screen and (max-width: 992px) {
  .cases__button-btn {
    font-size: 26px;
    padding: 30px 0;
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .cases__button-btn {
    font-size: 24px;
    padding: 20px 0;
  }
}

@media screen and (max-width: 576px) {
  .cases__button-btn {
      width: 199px;
      height: 40px;
      border: unset;
      background: #0B56FC;
      color: #ffffff;
      font-size: 18px;
      overflow: visible;
  }

  .cases__button-btn:hover::after {
    opacity: 0;
  }
}



#cases-services-block {
    scroll-margin-top: 175px; /* Отступ для десктопов */
}

/* Пример медиа-запроса, как вы и хотели */
@media (max-width: 768px) {
    #cases-services-block {
        scroll-margin-top: 70px; /* Уменьшаем отступ на мобильных */
    }
}




/* ПОИСК */

.cases-search-wrapper {
  margin-bottom: 40px;
}

.cases-search__inner {
  position: relative; /* Это важно, чтобы иконка позиционировалась относительно этого блока */
  width: 50%;
  padding: 20px 0;

}

.cases-search__inner::before,
.cases-search__inner::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  background-color: var(--c_Light-Gray);
  left: 0;

}

.cases-search__inner::before {
  top: 0;
}

.cases-search__inner::after {
  bottom: 0;
}

.cases-search__field {
  width: 100%;
  padding: 15px 20px;
  padding-left: 50px;
  padding-right: 50px;
  border: 3px solid var(--c_Gray);
  border-radius: 25px;
  font-size: 24px;
  line-height: 1;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
  box-shadow: var(--box-shadow-primary);

}

.cases-search__field:focus {
  border-color: var(--c_Black);
  background: #fff;
}

.cases-search__icon--left {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.6;
  display: flex;
}

/* Крестик справа */
.cases-search__clear {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px; /* Чтобы область клика была чуть больше */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: all 0.5s ease;
}

.cases-search__clear svg {
  stroke: var(--c_Gray);
  transition: all 0.5s ease;
}

.cases-search__clear svg:hover {
  stroke: var(--c_Red);
}

.cases-search__icon svg {
  width: 25px;
  height: 25px;
}

.cases-search__clear:hover {
  opacity: 1;
}

.cases-no-results {
  width: 100%;
  text-align: center;
  color: var(--c_Gray);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.cases-no-results.is-visible {
  opacity: 1;
}

.cases-no-results span {
  font-weight: 700;
  color: var(--c_Black);
}

@media (max-width: 1600px) {
  .cases-search__field {
    font-size: 22px;
  }

  .cases-search__icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 1400px) {
  .cases-search__field {
    font-size: 18px;
  }
}

@media (max-width: 1200px) {
  .cases-search-wrapper {
    margin-bottom: 20px;
  }

  .cases-search__field {
    font-size: 16px;
  }

  .cases-search__field {
    width: 100%;
    padding: 10px 15px;
    padding-left: 40px;
  }
}

@media (max-width: 992px) {
  .cases-search__field {
    font-size: 14px;
  }

  .cases-search__inner {
    width: 100%;
  }
}
/* End */


/* Start:/bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?177061784651*/
font.errortext{color:red}font.notetext{color:green}
/* End */
/* /cases/css/cases.css?17943758629799 */
/* /bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?177061784651 */
