.steps-dev__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: fill;
  opacity: 0.1;
}
.steps-dev__video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  background: var(--background);
  object-fit: cover;
  object-position: center;

  opacity: 0.1;
  pointer-events: none;
}
.steps-dev__video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  background: var(--background);
  object-fit: cover;
  object-position: center;

  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 1200px)  {
.steps-dev__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.13 !important;
    z-index: 0;
    pointer-events: none;
  }
}
.portfolio-filter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 0 40px;
}
.portfolio-filter__button {
  font-size: 18px;
  text-transform: uppercase;
  color: var(--dark-color);
  padding: 18px;
  position: relative;
  z-index: 1;
  border-radius: 40px 40px 0 0;
}
.portfolio-filter__button:after,
.portfolio-filter__button:before {
  content: "";
  height: calc(100% + 20px);
  top: 0;
  width: 38px;
  position: absolute;
  opacity: 0;
  background-color: inherit;
  z-index: -1;
  pointer-events: none;
}
.portfolio-filter__button:before {
  border-radius: 20px 0 0 0;
  right: calc(100% - 20px);
  transform: skew(-28deg);
}
.portfolio-filter__button:after {
  border-radius: 0 20px 0 0;
  left: calc(100% - 20px);
  transform: skew(28deg);
}
.portfolio-filter__button.is-active {
  background-color: #f4f4f4;
  font-weight: 600;
}
.portfolio-filter__button.is-active:after,
.portfolio-filter__button.is-active:before {
  opacity: 1;
}
@media (hover: hover)  {
.portfolio-filter__button:hover {
    background-color: #f4f4f4;
  }
.portfolio-filter__button:hover:after,
  .portfolio-filter__button:hover:before {
    opacity: 1;
  }
}
@media (max-width: 1200px)  {
.hero__portfolio {
    padding: 62px 0 !important;
  }
}
@media (max-width: 992px)  {
.portfolio-filter {
    justify-content: flex-start;
    overflow: auto;
    padding: 0 12px;
  }
.portfolio-filter__button {
    white-space: nowrap;
    font-size: 15px;
  }
}
@media (max-width: 1440px)  {
.portfolio-filter {
    gap: 12px;
    padding: 0 28px;
  }
.portfolio-filter__button {
    font-size: 15px;
    padding: 16px 14px;
  }
.portfolio-filter__button:after,
  .portfolio-filter__button:before {
    width: 29px;
  }
}
@media (max-width: 1200px)  {
.portfolio-filter {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 0 22px;
    gap: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
.portfolio-filter::-webkit-scrollbar {
    display: none;
  }
.portfolio-filter__button {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 15px 16px;
  }
}
@media (max-width: 1132px)  {
.portfolio-filter__button:after,
  .portfolio-filter__button:before {
    height: calc(100% + 55px);
  }
}
@media (max-width: 992px)  {
.portfolio-filter {
    margin-bottom: 0;
    padding: 0 18px;
  }
}
@media (max-width: 768px)  {
.portfolio-filter {
    padding: 0 14px;
    gap: 6px;
  }
.portfolio-filter__button {
    font-size: 13px;
    padding: 13px 14px;
    border-radius: 28px 28px 0 0;
  }
.portfolio-filter__button::before,
  .portfolio-filter__button::after {
    width: 31px;
    height: calc(100% + 69px);
  }
}
@media (max-width: 560px)  {
.portfolio-filter {
    padding: 0 10px;
  }
.portfolio-filter__button {
    font-size: 12px;
    padding: 12px 13px;
  }
}
@media (max-width: 390px)  {
.portfolio-filter__button {
    font-size: 11px;
    padding: 11px 12px;
  }
}
.steps-dev__video {
  position: absolute !important;
  inset: 0 !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center !important;

  background-color: #0d101f !important;

  opacity: 0.1 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
@media (max-width: 768px)  {
.hero__portfolio {
    padding: 30px 0 !important;
  }
}
@media (max-width: 660px)  {
.wave--to-dark svg path {
    fill: #1a1e2a !important;
  }
.portfolio-showcase-tabs__button.is-active {
    background-color: #1a1e2a !important;
  }
}
.hero__portfolio {
  height: unset !important;
  min-height: unset !important;
  max-width: 1650px;
  padding-top: 0;
}
.hero__portfolio:after {
  display: none;
}
.block__portfolio {
  display: flex;
  gap: 10px;
  
}
.hero-service__portfolio {
  line-height: 134%;
  font-size: 31px;
}
.hero-service__portfolio .section-title span {
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}
.hero-clients__portfolio {
  background: rgb(50 52 61 / 38%);
}
.hero-card__portfolio::before {
  z-index: 0;
}
.hero-card__portfolio:after {
  z-index: 1;
}
.hero-card__portfolio {
  z-index: 2;
  right: 0px;
  bottom: 2px;
}
.hero-service__decor--left {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 104px;
  position: relative;
  margin-top: 4px;
}
.hero-service__decor--left {
  margin-left: 10px;
  margin-right: 6px;
}
.hero-service__decor--left::before,
.hero-service__decor--left::after {
  content: "";
  position: absolute;

  width: 12px;
  height: 94%;

  background: linear-gradient(
    180deg,
    #f2b705 0%,
    #f2b705 58%,
    rgba(242, 183, 5, 0.72) 74%,
    rgba(242, 183, 5, 0.35) 88%,
    rgba(242, 183, 5, 0) 100%
  );

  transform: skew(-10deg);
  border-radius: 1px;
}
.hero-service__decor--left::before {
  left: 0;
  top: 10px;
}
.hero-service__decor--left::after {
  right: 5px;
  top: -12px;
}
@media (max-width: 768px)  {
.hero-service__decor--left {
    width: 30px;
    height: 78px;
  }
.hero-service__decor--left::before,
  .hero-service__decor--left::after {
    width: 8px;
  }
.hero-service__decor--left::before {
    top: 8px;
  }
.hero-service__decor--left::after {
    top: -8px;
    right: 4px;
  }
}
@media (max-width: 480px)  {
.hero-service__decor--left {
    width: 24px;
    height: 66px;
  }
.hero-service__decor--left::before,
  .hero-service__decor--left::after {
    width: 7px;
  }
}
.portfolio-showcase__inner {
  position: relative;
  padding-top: 42px;
}
.portfolio-showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 0 40px;
}
.portfolio-showcase-tabs::-webkit-scrollbar {
  display: none;
}
.portfolio-showcase-tabs__button {
  flex: 0 0 auto;

  min-height: 22px;
  padding: 4px 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  color: #a4a6b3;
  background: rgba(255, 255, 255, 0.035);

  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;

  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.portfolio-showcase-tabs__button.is-active {
  color: #171b25;
  background: var(--accent-color);
}
.portfolio-showcase-tabs__button.is-active {
  background-color: #f4f4f4;
  font-weight: 600;
}
@media (hover: hover)  {
.portfolio-showcase-tabs__button:hover {
    color: #0d101f;
    background: var(--accent-color);
    transform: translateY(-1px);
  }
}
.portfolio-filter__button::before {
  border-radius: 20px 0 0 0;
  right: calc(100% - 20px);
  transform: skew(-28deg);
}
.portfolio-case {
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.portfolio-case.is-hidden {
  display: none !important;
}
.portfolio-case.is-case-show {
  animation: caseFadeUp 0.32s ease both;
}
.portfolio-case.is-visible-last::after {
  display: none !important;
}
.portfolio-case.is-visible-last {
  padding-bottom: 82px;
}
.portfolio-showcase__bottom {
  position: relative;
  z-index: 5;
}
@media (max-width: 768px)  {
.portfolio-showcase__inner {
    padding-top: 48px;
  }
.portfolio-showcase-tabs {
    top: 12px;
    justify-content: flex-start;
    width: calc(100% - 24px);
  }
.portfolio-showcase-tabs__button {
    min-height: 24px;
    padding: 5px 12px;
    font-size: 10px;
  }
}
@media (max-width: 420px)  {
.portfolio-showcase__inner {
    padding-top: 52px;
  }
.portfolio-showcase-tabs {
    width: calc(100% - 18px);
  }
.portfolio-showcase-tabs__button {
    padding: 5px 10px;
  }
}
.portfolio-showcase {
  background: #0d101f;
  padding: 70px 0 95px;
  overflow: hidden;
}
.portfolio-showcase__inner {
  max-width: 1650px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
  background: #0d101f;
  padding: 0 15px;
}
.portfolio-case {
  position: relative;
  min-height: 455px;
  padding: 48px 64px 82px;

  gap: 34px;

  overflow: hidden;
  isolation: isolate;
}
.portfolio-case--dark {
  background: #1a1e2a;
  color: #fff;
}
.portfolio-case--light {
  background: #f8fcff;
  color: #0d101f;
}
.portfolio-case--reverse {
  grid-template-columns: 1.14fr 0.86fr;
}
.portfolio-case--reverse .portfolio-case__media {
  order: 1;
}
.portfolio-case--reverse .portfolio-case__text {
  order: 2;
}
.portfolio-case--light::after {
  background: #0d101f;
  transform: rotate(3deg);
}
.portfolio-case--last::after {
  display: none;
}
.portfolio-case + .portfolio-case {
  margin-top: 0px;
}
.portfolio-case__text,
.portfolio-case__media {
  position: relative;
  z-index: 5;
}
.portfolio-case__text {
}
.portfolio-case__title {
  margin: 0 0 16px;

  font-family: var(--unbounded-font, inherit);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.portfolio-case__description {
  margin: 0 0 20px;

  color: #a4a6b3;
  font-size: 14px;
  line-height: 1.55;
}
.portfolio-case--light .portfolio-case__description {
  color: #5f6574;
}
.portfolio-case__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--accent-color);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;

  transition: 0.2s ease;
}
.portfolio-case__link:hover {
  transform: translateX(4px);
}
.portfolio-case__media {
  min-height: 330px;
}
.portfolio-case__img {
  position: absolute;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.portfolio-case__img--main {
  top: 0;
  right: 0;
  width: 68%;
  z-index: 1;
}
.portfolio-case__img--laptop {
  left: 22%;
  bottom: 2px;
  width: 55%;
  z-index: 3;
}
.portfolio-case__img--phone {
  left: 0;
  bottom: 18px;
  width: 28%;
  z-index: 4;
}
.portfolio-case__media--single {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-case__media--single .portfolio-case__img,
.portfolio-case__img--single {
  position: static !important;
  width: 100%;
  max-width: 540px;
  height: auto;
  z-index: 5;
}
.portfolio-case__media--crypto {
  min-height: 360px;
}
.portfolio-case__media--crypto .portfolio-case__img--main {
  width: 49%;
  right: 0;
  top: 0;
  z-index: 2;
}
.portfolio-case__media--crypto .portfolio-case__img--laptop {
  width: 54%;
  left: 30%;
  bottom: 0;
  z-index: 4;
}
.portfolio-case__media--crypto .portfolio-case__img--phone {
  width: 30%;
  left: 0;
  bottom: 18px;
  z-index: 5;
}
.portfolio-case--dark:not(.portfolio-case--first) {
  padding-top: 72px;
  padding-bottom: 94px;
}
.portfolio-showcase__bottom {
  background: #f8fcff;
  padding: 0 0 48px;
  display: flex;
  justify-content: center;
}
.portfolio-showcase__button {
  min-width: 190px;
  height: 42px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border: 1px solid #0d101f;
  border-radius: 60px;

  color: #0d101f;
  font-size: 13px;
  font-weight: 500;

  transition: 0.2s ease;
}
.portfolio-showcase__button:hover {
  background: #0d101f;
  color: #fff;
}
@media (max-width: 992px)  {
.portfolio-showcase {
    padding: 56px 0 76px;
  }
.portfolio-showcase__inner {
    max-width: calc(100% - 32px);
  }
.portfolio-case {
    min-height: 425px;
    padding: 44px 42px 76px;
    gap: 26px;
  }
.portfolio-case::after {
    bottom: -48px;
    height: 105px;
  }
.portfolio-case__title {
    font-size: 19px;
  }
.portfolio-case__description {
    font-size: 13px;
  }
.portfolio-case__media {
    min-height: 300px;
  }
}
@media (max-width: 768px)  {
.portfolio-case,
  .portfolio-case--reverse {
    grid-template-columns: 1fr;
    min-height: auto;

    padding: 40px 28px 82px;
    gap: 28px;
  }
.portfolio-case--reverse .portfolio-case__text,
  .portfolio-case--reverse .portfolio-case__media {
    order: initial;
  }
.portfolio-case__text {
    max-width: 100%;
  }
.portfolio-case__media {
    min-height: 330px;
  }
.portfolio-case::after {
    left: -22%;
    right: -22%;
    bottom: -50px;
    height: 112px;
  }
.portfolio-case--dark::after {
    transform: rotate(-4deg);
  }
.portfolio-case--light::after {
    transform: rotate(4deg);
  }
}
@media (max-width: 520px)  {
.portfolio-showcase {
    padding: 42px 0 58px;
  }
.portfolio-showcase__inner {
    max-width: calc(100% - 20px);
    border-radius: 4px;
  }
.portfolio-case {
    padding: 34px 22px 72px;
  }
.portfolio-case::after {
    left: -34%;
    right: -34%;
    bottom: -42px;
    height: 92px;
  }
.portfolio-case__title {
    font-size: 17px;
  }
.portfolio-case__description {
    font-size: 12px;
    line-height: 1.5;
  }
.portfolio-case__media {
    min-height: 260px;
  }
.portfolio-case__img--main {
    width: 68%;
  }
.portfolio-case__img--laptop {
    width: 56%;
  }
.portfolio-case__img--phone {
    width: 31%;
  }
.portfolio-showcase__bottom {
    padding-bottom: 34px;
  }
.portfolio-showcase__button {
    min-width: 170px;
    height: 38px;
    font-size: 12px;
  }
}
.portfolio-showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;

  padding: 0 40px;
  margin: 0;

  position: relative;
  z-index: 20;

  width: 100%;
  max-width: 100%;

  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;

  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.portfolio-showcase-tabs::-webkit-scrollbar {
  display: none;
}
.portfolio-showcase-tabs__button {
  flex: 0 0 auto;

  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;

  padding: 18px;

  position: relative;
  z-index: 1;

  border-radius: 40px 40px 0 0;
  background: transparent;

  transition: background-color 0.2s ease, color 0.2s ease, font-weight 0.2s ease;
}
.portfolio-showcase-tabs__button::before,
.portfolio-showcase-tabs__button::after {
  content: "";

  height: calc(100% + 20px);
  top: 0;
  width: 38px;

  position: absolute;

  opacity: 0;
  background-color: inherit;
  z-index: -1;
  pointer-events: none;

  transition: opacity 0.2s ease;
}
.portfolio-showcase-tabs__button::before {
  border-radius: 20px 0 0 0;
  right: calc(100% - 20px);
  transform: skew(-28deg);
}
.portfolio-showcase-tabs__button::after {
  border-radius: 0 20px 0 0;
  left: calc(100% - 20px);
  transform: skew(28deg);
}
.portfolio-showcase-tabs__button.is-active {
  background-color: #171b25;
  color: var(--accent-color);
}
.portfolio-showcase-tabs__button.is-active::before,
.portfolio-showcase-tabs__button.is-active::after {
  opacity: 1;
}
@media (hover: hover)  {
.portfolio-showcase-tabs__button:hover {
    background-color: #1a1e2a;
    color: var(--accent-color);
  }
.portfolio-showcase-tabs__button:hover::before,
  .portfolio-showcase-tabs__button:hover::after {
    opacity: 1;
  }
}
.portfolio-showcase {
  background: #0d101f;
  padding: 70px 0 95px;
  overflow: hidden;
}
.portfolio-case {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  min-height: 430px;
  padding: 48px 64px 76px;

  gap: 34px;
}
.portfolio-case--reverse {
  grid-template-columns: 1.12fr 0.88fr;
}
.portfolio-case--reverse .portfolio-case__media {
  order: 1;
}
.portfolio-case--reverse .portfolio-case__text {
  order: 2;
}
.portfolio-case--light {
  background: #f8fcff;
  color: #0d101f;
}
.portfolio-case:first-of-type {
  border-radius: 0 0 0 0;
}
.portfolio-case--last {
  border-radius: 0 0 8px 8px;
}
.portfolio-case--last::after {
  display: none !important;
}
.portfolio-case + .portfolio-case {
  margin-top: 0px;
}
.portfolio-case--dark:not(.portfolio-case--first) {
  padding-top: 48px !important;
  padding-bottom: 82px !important;
}
.portfolio-case--light {
  padding-top: 46px !important;
  padding-bottom: 78px !important;
}
.portfolio-case__text,
.portfolio-case__media {
  position: relative;
  z-index: 5;
}
.portfolio-case__text {
}
.portfolio-case__title {
  margin: 0 0 16px;
  font-family: var(--unbounded-font, inherit);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.portfolio-case__description {
  margin: 0 0 20px;
  color: #a4a6b3;
  font-size: 14px;
  line-height: 1.55;
}
.portfolio-case--light .portfolio-case__description {
  color: #5f6574;
}
.portfolio-case__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--accent-color);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;

  transition: 0.2s ease;
}
.portfolio-case__link:hover {
  transform: translateX(4px);
}
.portfolio-case__media {
  min-height: 330px;
}
.portfolio-case__img {
  position: absolute;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.portfolio-case__img--main {
  top: 0;
  right: 0;
  width: 68%;
  z-index: 2;

  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}
.portfolio-case__img--laptop,
.portfolio-case__img--phone {
  border-radius: 0 !important;
  box-shadow: none !important;
}
.portfolio-case__img--laptop {
  left: 22%;
  bottom: 0;
  width: 55%;
  z-index: 4;
}
.portfolio-case__img--phone {
  left: 0;
  bottom: 18px;
  width: 28%;
  z-index: 5;
}
.portfolio-case__media--travel .portfolio-case__img--main {
  width: 68%;
  right: 0;
  top: 0;
  border-radius: 18px 18px 22px 22px;
}
.portfolio-case__media--travel .portfolio-case__img--laptop {
  width: 55%;
  left: 22%;
  bottom: 0;
}
.portfolio-case__media--travel .portfolio-case__img--phone {
  width: 27%;
  left: 2%;
  bottom: 20px;
}
.portfolio-case__media--gift .portfolio-case__img--main {
  width: 49%;
  left: 0;
  top: 0;
  border-radius: 18px;
}
.portfolio-case__media--gift .portfolio-case__img--laptop {
  width: 50%;
  left: 36%;
  bottom: 2px;
}
.portfolio-case__media--gift .portfolio-case__img--phone {
  width: 30%;
  right: 0;
  left: auto;
  bottom: 8px;
}
.portfolio-case__media--crypto {
  min-height: 350px;
}
.portfolio-case__media--crypto .portfolio-case__img--main {
  width: 49%;
  right: 0;
  top: 0;
  border-radius: 22px;
  z-index: 2;
}
.portfolio-case__media--crypto .portfolio-case__img--laptop {
  width: 54%;
  left: 30%;
  bottom: 0;
  z-index: 4;
}
.portfolio-case__media--crypto .portfolio-case__img--phone {
  width: 30%;
  left: 0;
  bottom: 18px;
  z-index: 5;
}
.portfolio-case__media--games .portfolio-case__img--main {
  width: 50%;
  left: 0;
  top: 0;
  border-radius: 18px;
}
.portfolio-case__media--games .portfolio-case__img--laptop {
  width: 52%;
  left: 34%;
  bottom: 0;
}
.portfolio-case__media--games .portfolio-case__img--phone {
  width: 30%;
  right: 0;
  left: auto;
  bottom: 10px;
}
.portfolio-case__media--single {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-case__media--single .portfolio-case__img,
.portfolio-case__img--single {
  position: static !important;
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.portfolio-showcase__bottom {
  background: #f8fcff;
  padding: 0 0 48px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.portfolio-showcase__button {
  min-width: 190px;
  height: 42px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border: 1px solid #0d101f;
  border-radius: 60px;

  color: #0d101f;
  font-size: 13px;
  font-weight: 500;

  transition: 0.2s ease;
}
.portfolio-showcase__button:hover {
  background: #0d101f;
  color: #fff;
}
@media (max-width: 992px)  {
.portfolio-showcase__inner {
    max-width: calc(100% - 32px);
  }
.portfolio-case {
    min-height: 410px;
    padding: 42px 42px 72px !important;
    gap: 26px;
  }
.portfolio-case::after {
    bottom: -42px;
    height: 96px;
  }
.portfolio-case__title {
    font-size: 19px;
  }
.portfolio-case__description {
    font-size: 13px;
  }
.portfolio-case__media {
    min-height: 295px;
  }
}
@media (max-width: 768px)  {
.portfolio-case,
  .portfolio-case--reverse {
    grid-template-columns: 1fr;
    min-height: auto;

    padding: 38px 28px 76px !important;
    gap: 28px;
  }
.portfolio-case--reverse .portfolio-case__text,
  .portfolio-case--reverse .portfolio-case__media {
    order: initial;
  }
.portfolio-case__text {
    max-width: 100%;
  }
.portfolio-case__media {
    min-height: 320px;
  }
.portfolio-case::after {
    left: -24%;
    right: -24%;
    bottom: -44px;
    height: 98px;
  }
.portfolio-case__img--main {
    border-radius: 16px;
  }
}
@media (max-width: 520px)  {
.portfolio-showcase {
    padding: 42px 0 58px;
  }
.portfolio-showcase__inner {
    max-width: calc(100% - 20px);
    border-radius: 6px;
  }
.portfolio-case {
    padding: 32px 22px 68px !important;
  }
.portfolio-case::after {
    left: -38%;
    right: -38%;
    bottom: -36px;
    height: 78px;
  }
.portfolio-case__title {
    font-size: 17px;
  }
.portfolio-case__description {
    font-size: 12px;
    line-height: 1.5;
  }
.portfolio-case__media {
    min-height: 250px;
  }
.portfolio-case__img--main {
    width: 68%;
    border-radius: 14px;
  }
.portfolio-case__img--laptop {
    width: 56%;
  }
.portfolio-case__img--phone {
    width: 31%;
  }
.portfolio-showcase__bottom {
    padding-bottom: 34px;
  }
.portfolio-showcase__button {
    min-width: 170px;
    height: 38px;
    font-size: 12px;
  }
}
.case {
  position: relative;
  padding: 90px 0 130px;
  overflow: hidden;
}
.case.is-visible {
  display: block;
}
.case--dark {
  background: #1a1e2a;
}
.case--light {
  background: var(--paper);
}
.case__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}
.case__inner--reverse {
  flex-direction: row-reverse;
}
.case__text {
  flex: 0 0 42%;
}
.case__media {
  flex: 1;
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.case__title {
  font-weight: 800;
  font-family: var(--unbounded-font);
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  color: var(--white);
}
.case--light .case__title {
  color: var(--text-dark);
}
.case__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-gray-light);
  margin: 0 0 26px;
}
.case--light .case__desc {
  color: var(--text-gray);
}
.case__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14;
  color: var(--accent-color);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, gap 0.25s ease;
}
.case__link:hover {
  border-color: currentColor;
  gap: 12px;
}
.case__link:hover .arrow {
  transform: translate(2px, -2px);
}
.portfolio__video {
  top: var(--reviews-black-start, 194px) !important;
}
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 90px;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}
.wave svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: #171b25;
}
.wave--to-light svg path {
  fill: var(--paper);
}
.wave--to-dark svg path {
  fill: #171b25;
}
.wave--to-light-end svg path {
  fill: var(--paper);
}
.case__inner--reverse .mock--browser {
  right: auto;
  left: 8%;
  transform: rotate(-2deg);
}
.case__inner--reverse .mock--laptop {
  transform: translateX(-42%) rotate(3deg);
}
.case__inner--reverse .mock--phone {
  left: auto;
  right: 18%;
  transform: rotate(-6deg);
}
.cases__cta {
  position: relative;
  background: var(--paper);
  padding: 10px 0 70px;
  display: flex;
  justify-content: center;
}
.cta__btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--text-dark);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.cta__btn:hover {
  background: var(--text-dark);
  color: #fff;
}
@media (max-width: 900px)  {
.case__inner,
  .case__inner--reverse {
    flex-direction: column-reverse;
    gap: 50px;
    text-align: center;
  }
.case__text {
    flex: none;
    width: 100%;
  }
.case__desc {
    margin-left: auto;
    margin-right: auto;
  }
.case__media {
    width: 100%;
    min-height: 300px;
  }
.case__inner--reverse .mock--browser {
    left: 50%;
    transform: translateX(-80%) rotate(-2deg);
  }
.case__inner--reverse .mock--laptop {
    transform: translateX(-50%) rotate(3deg);
  }
.case__inner--reverse .mock--phone {
    right: 8%;
    left: auto;
  }
}
@media (max-width: 600px)  {
.case {
    padding: 60px 0 100px;
  }
.case__inner {
    padding: 0 22px;
    gap: 40px;
  }
.case__title {
    font-size: 1.4rem;
  }
.case__media {
    min-height: 260px;
    transform: scale(0.85);
  }
}
.case.is-hidden,
.cases__cta.is-hidden {
  display: none !important;
}
.case.is-case-show {
  animation: caseFadeIn 0.35s ease both;
}
.case.is-last-visible .wave--to-dark,
.case.is-last-visible .wave--to-light {
  display: none;
}
.cases__cta {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.preview-card {
  width: 490px;
  height: 520px;
  position: relative;
  overflow: hidden;

  border-radius: 0 58px 0 58px;

  background: #111827;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}
.laptop {
  position: absolute;
  top: 49%;
  left: -59%;
  width: 439px;
  z-index: 32;
  transform: rotate(0deg);
}
.phone {
  position: absolute;
  bottom: 4%;
  left: -79%;
  width: 597px;
  height: 313px;
  
  border-radius: 26px;
  padding: 8px;
  transform: rotate(-7deg);
  
  z-index: 44;
}
.preview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 33%,
    rgba(255, 255, 255, 0.22) 34%,
    rgba(255, 255, 255, 0.08) 48%,
    transparent 49%
  );
}
.preview-card__img {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 19;
  
  object-fit: fill;
  object-position: center;

  background: #111827;
}
@media (max-width: 1215px)  {
.hero-service__portfolio {
    font-size: 25px;
  }
}
@media (max-width: 1000px)  {
.block__portfolio {
    flex-direction: column;
  }
.portfolio-showcase {
    padding-top: 0;
  }
}
@media (max-width: 900px)  {
.devices-scene {
    margin: 0 auto;
  }
.wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 72px !important;
    z-index: 4;
    line-height: 0;
    pointer-events: none;
}
.case--crypto .case-curve--bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 111px !important;
    z-index: 5;
    line-height: 0;
    pointer-events: none;
}
}
@media (max-width: 768px)  {
.hero__bottom-portfolio {
    position: sticky !important;
    transform: unset !important;
    left: 0 !important;
    height: 244px !important;
  }
}
@media (max-width: 600px)  {
.preview-card {
  width: 300px;
  height: 100%;
}
.case__title {
        font-size: 1rem;
    }
.case__desc {
      font-size: 14px;
    }
.wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 78px !important  ;
  }
}
@media (max-width: 480px)  {
.preview-card {
    border-radius: 0 28px 0 28px;
  }
}
@media (max-width: 435px)  {
.preview-card {
  width: 200px; }
}
.portfolio-showcase-tabs {
  display: flex;
  align-items: center;
  gap: 20px;

  width: 100%;
  max-width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  white-space: nowrap;
  flex-wrap: nowrap;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  touch-action: pan-x;
}
.portfolio-showcase-tabs::-webkit-scrollbar {
  display: none;
}
.portfolio-showcase-tabs__button {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 768px)  {
.portfolio-showcase-tabs {
    justify-content: flex-start !important;
    gap: 10px;
    padding: 0 14px 0 14px;
    margin: 0;
        margin-bottom: 12px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
.portfolio-showcase-tabs__button {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 14px 16px;
  }
}
@media (max-width: 420px)  {
.portfolio-showcase-tabs {
    gap: 8px;
    padding: 0 10px;
  }
.portfolio-showcase-tabs__button {
    font-size: 13px;
    padding: 12px 14px;
  }
}
.devices-scene {
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.preview-card {
  position: relative;
  z-index: 10;
}
.preview-card__img {
  display: block;
  width: 100%;
  height: auto;
}
.laptop {
  position: absolute;
  top: 49%;
  left: -55%;
  width: 439px;
  z-index: 32;

  transform-origin: center center;
  transform: perspective(1200px) rotateY(-28deg) rotateX(5deg) rotateZ(3deg);

  transform-style: preserve-3d;
}
.laptop img {
  display: block;
  width: 100%;
  height: auto;
}
.phone {
  position: absolute;
  bottom: 4%;
  left: -78%;
  width: 170px;
  z-index: 44;

  transform-origin: center center;
  transform: perspective(1000px) rotateY(34deg) rotateX(3deg) rotateZ(-8deg);

  transform-style: preserve-3d;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
}
.portfolio-case {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 39px 0 118px;
}
.case--dark {
  color: #ffffff;
}
.portfolio-case:first-of-type {
  padding-top: 60px;
}
.case--light {
  background: #f7f7f7;
  color: #151a28;
}
.case__inner {
  position: relative;
  z-index: 5;
}
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: 150px;
  z-index: 3;
  pointer-events: none;
  line-height: 0;
}
.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wave path {
  display: block;
}
.wave--to-light path,
.wave--to-light-end path {
  fill: #f7f7f7;
}
.wave--to-dark path {
  fill: #151a28;
}
.steps-dev__video,
.reviews__video,
.portfolio__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}
.case--dark .steps-dev__video {
  opacity: 0.35;
}
.case--light .portfolio__video {
  opacity: 0.18;
}
.case--crypto {
  position: relative;
  overflow: hidden;
  background: #1a1e2a;
  padding: 10px 0 120px;
  isolation: isolate;
}
.case--crypto .case__inner {
  position: relative;
  z-index: 5;
}
.case--crypto .steps-dev__video,
.case--crypto .reviews__video,
.case--crypto .portfolio__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  z-index: 1;
  pointer-events: none;
}
.case--crypto .case-curve {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}
.case--crypto .case-curve svg {
  display: block;
  width: 100%;
}
.case--crypto .case-curve--top {
  top: -1px;
  height: 128px;
}
.case--crypto .case-curve--top svg {
  height: 128px;
}
.case--crypto .case-curve--top path {
  fill: #f3f3f3;
}
.case--crypto .case-curve--bottom {
  bottom: -1px;
  height: 118px;
}
.case--crypto .case-curve--bottom svg {
  height: 118px;
}
.case--crypto .case-curve--bottom path {
  fill: #f3f3f3;
}
.portfolio-case {
  position: relative;
  overflow: hidden;
  margin: 0;
}
.case--light {
  background: #f4f4f5;
  color: #151a28;
}
.case + .case {
  margin-top: 0;
}
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 155px;
  z-index: 4;
  line-height: 0;
  pointer-events: none;
}
.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wave--to-dark path {
  fill: #151a28;
}
.wave--to-light path,
.wave--to-light-end path {
  fill: #f4f4f5;
}
.case--crypto {
  position: relative;
  overflow: hidden;
  padding: 10px 0 120px;
  min-height: 560px;
  isolation: isolate;
}
.case--crypto .case__inner {
  position: relative;
  z-index: 6;
}
.case--crypto .steps-dev__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}
.case--crypto .case-curve--bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 200px;
  z-index: 5;
  line-height: 0;
  pointer-events: none;
}
.case--crypto .case-curve--bottom svg {
  display: block;
  width: 100%;
  height: 100%;
}
.case--crypto .case-curve--bottom path {
  fill: #f4f4f5;
}
@media screen and (max-width: 1180px)  {
.phone {
    bottom: -6%;
    left: -64%;
  }
.laptop {
    position: absolute;
    top: 49%;
    left: -51%;
  }
}
@media screen and (max-width: 1000px)  {
.phone {
    display: none;
  }
.laptop {
    display: none;
  }
}
/* Generic case curve transitions */
.case-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 155px;
  z-index: 4;
  line-height: 0;
  pointer-events: none;
}
.case-curve svg {
  display: block;
  width: 100%;
  height: 100%;
}
.case-curve--bottom path {
  fill: #f4f4f5;
}
.case-curve--top path {
  fill: #1a1e2a;
}
@media screen and (max-width: 900px) {
  .case-curve {
    height: 110px;
  }
}
@media screen and (max-width: 600px) {
  .case-curve {
    height: 80px;
  }
}

/* Reversed device placement for odd-index cases */
.laptop-right {
  left: auto;
  right: -55%;
  transform: perspective(1200px) rotateY(28deg) rotateX(5deg) rotateZ(-3deg);
}
.phone-right {
  left: auto;
  right: -78%;
  transform: perspective(1000px) rotateY(-34deg) rotateX(3deg) rotateZ(8deg);
}
@media screen and (max-width: 1180px) {
  .laptop-right {
    right: -51%;
  }
  .phone-right {
    right: -64%;
  }
}
@media screen and (max-width: 1000px) {
  .laptop-right,
  .phone-right {
    display: none;
  }
}
