@media (max-width: 1279px) {
  .services.tt-theme-light .services__item-description {
    color: #55515f !important;
  }

  .services.tt-theme-light .services__item.is-active {
    border-color: transparent !important;
    color: #fff !important;
    margin: 8px 0 12px;
    overflow: hidden;
    padding: 14px 16px 16px;
  }

  .services.tt-theme-light .services__item.is-active::before {
    background-color: var(--tt-purple) !important;
    border-radius: 16px;
  }

  .services.tt-theme-light .services__item.is-active .services__item-title,
  .services.tt-theme-light .services__item.is-active .services__item-description {
    color: #fff !important;
  }

  .clients .clients__panel {
    border-radius: 62px;
    margin-top: 26px !important;
    padding: 34px 24px;
  }

  .clients .clients__items {
    border-radius: 0;
    margin-top: 0 !important;
    padding: 0;
  }

  .clients .clients__button {
    display: none !important;
  }

  .clients .clients__button-pc {
    display: none !important;
  }

  .clients .clients__button-mob {
    display: none !important;
  }

  .services .services__item {
    border-top-width: 1px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .cases .heading {
    padding-bottom: 22px;
  }

  .cases .heading__right {
    column-gap: 20px;
  }

  .cases .cases__items {
    overflow: visible;
    padding-top: 28px;
  }

  .cases .swiper {
    overflow: visible !important;
  }

  .cases .swiper-wrapper {
    align-items: stretch;
  }

  .cases .case,
  .cases .case__image {
    border-radius: 26px;
  }

  .cases .case {
    clip-path: none;
    overflow: hidden;
    isolation: isolate;
  }

  .cases .case__info {
    border-radius: inherit;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .services {
    padding-top: 40px !important;
  }

  .services .heading__title {
    font-size: 44px;
    line-height: 1.2;
  }

  .services .services-circle-wrapper {
    margin-top: 24px;
  }

  .services .services__items {
    margin-top: 0;
    max-height: 292px;
  }

  .services .services__item {
    font-size: 26px;
    font-weight: 300;
    line-height: 1.2;
    padding: 20px 16px;
  }

  .services .services__item.is-active {
    border-radius: 18px;
    padding: 20px 16px;
  }

  .services.tt-theme-light .services__item.is-active {
    padding: 20px 16px !important;
  }

  .services .services__item-title {
    font-size: 20px;
    line-height: 1.2;
  }

  .services .services__item-description {
    font-size: 16px;
    line-height: 1.2;
  }

  .cases {
    padding-top: 40px !important;
  }

  .cases .heading {
    align-items: flex-start;
    border-bottom: 0 !important;
    gap: 32px;
    padding-bottom: 0;
    position: relative;
  }

  .cases .heading__title {
    font-size: 44px;
  }

  .cases .heading__right {
    display: block;
    width: 100%;
  }

  .cases .heading__buttons {
    gap: 8px;
    max-width: 100%;
    padding-right: 0;
    row-gap: 8px;
  }

  .cases .heading__button {
    padding: 7px 14px;
  }

  .cases .heading__button span {
    font-size: 16px;
  }

  .cases .heading__icon {
    position: absolute;
    right: 0;
    top: 8px;
  }

  .cases .cases__items {
    margin-left: 0;
    margin-right: 0;
    overflow: visible !important;
    padding-left: 0;
    padding-right: 0;
    padding-top: 24px;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
  }

  .cases .swiper,
  .cases .swiper-wrapper {
    overflow: visible !important;
  }

  .cases .swiper-wrapper {
    gap: 0;
    transform: translate3d(0, 0, 0);
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform;
  }

  .cases .case {
    background-color: #000 !important;
    border-radius: 38px !important;
    clip-path: none !important;
    height: 100% !important;
    overflow: hidden !important;
    isolation: isolate;
    transform: translate3d(0, 0, 0);
    width: 100% !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  .cases .case:active,
  .cases .case:focus,
  .cases .case:focus-visible {
    outline: none !important;
  }

  .cases .case:not(.case-no-image) .case__image img {
    background-color: transparent !important;
    border-radius: inherit !important;
    filter: none !important;
    object-fit: fill !important;
    overflow: hidden !important;
    transform: translate3d(0, 0, 0) !important;
  }

  .cases .case__image {
    background-color: #fff !important;
    border-radius: inherit !important;
    overflow: hidden !important;
    z-index: 0 !important;
  }

  .cases .case:not(.case-no-image) .case__info {
    border-radius: inherit !important;
    inset: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: 1 !important;
  }

  .cases .cases__items .swiper-slide .case:not(.case-no-image) .case__info {
    background-color: rgb(0 0 0 / 85%) !important;
  }

  .cases .cases__items .swiper-slide .case.case-no-image .case__info {
    background-color: rgb(0 0 0 / 15%) !important;
  }

  .cases .cases__items .swiper-slide .case__content {
    opacity: 1 !important;
  }

  .cases .cases__items .swiper-slide-active .case:not(.case-no-image) .case__info {
    background-color: rgb(0 0 0 / 85%) !important;
  }

  .cases .cases__items .swiper-slide-active .case.case-no-image .case__info {
    background-color: rgb(0 0 0 / 15%) !important;
  }

  .cases .cases__items .swiper-slide-active .case__content {
    opacity: 1 !important;
  }

  .cases .case.case-no-image {
    background-color: transparent !important;
    clip-path: none !important;
    overflow: hidden !important;
  }

  .clients .heading {
    align-items: flex-start;
  }

  .clients {
    padding-top: 40px !important;
  }

  .clients .heading__text {
    text-align: left;
  }

  .clients .clients__panel {
    border-radius: 62px;
    padding: 34px 24px;
  }

  .clients .clients__items {
    border-radius: 0;
    margin-top: 0 !important;
    padding: 0;
  }

  .clients .clients__items-pc {
    display: none !important;
  }

  .clients .clients__items-mob {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients .clients__button,
  .clients .clients__button-pc,
  .clients .clients__button-mob {
    display: none !important;
  }

}

@media (hover: none) and (pointer: coarse) {
  .cases .heading__button:hover,
  .cases .heading__button:hover span {
    background-color: transparent !important;
  }

  .cases:not(.tt-theme-dark) .heading__button:not(.active):hover span {
    color: rgb(5 5 5 / 58%) !important;
  }

  .cases.tt-theme-dark .heading__button:not(.active):hover span {
    color: rgb(255 255 255 / 48%) !important;
  }

  .cases .case:hover .case__image img,
  .cases .case:active .case__image img {
    filter: none !important;
    transform: none !important;
  }

  .cases .case.case-no-image:hover .case__image img,
  .cases .case.case-no-image:active .case__image img {
    filter: none !important;
  }
}

/* Keep touch swipes from triggering desktop hover reveal states. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  .cases .case:hover .case__title,
  .cases .case:active .case__title,
  .cases .case:focus .case__title,
  .cases .case:hover .case__fact,
  .cases .case:active .case__fact,
  .cases .case:focus .case__fact,
  .cases .case:hover .case__content,
  .cases .case:active .case__content,
  .cases .case:focus .case__content {
    opacity: 1 !important;
    transition-delay: 0s !important;
  }

  .cases .case:hover .case__stats,
  .cases .case:active .case__stats,
  .cases .case:focus .case__stats,
  .cases .case:hover .case__title-mob,
  .cases .case:active .case__title-mob,
  .cases .case:focus .case__title-mob {
    opacity: 0 !important;
    transition-delay: 0s !important;
  }

  .cases .case__info,
  .cases .case__content {
    backface-visibility: hidden;
    transform: translateZ(0);
  }
}

