/* utils */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.cases {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 64 * (100vw - 375px) / 1065 + 36px, 100px) 0;
  background-color: #fff;
}

.cases__container {
  position: relative;
  z-index: 1;
}

.cases__title-thumb {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(24px, 12 * (100vw - 375px) / 1065 + 24px, 36px);
}

@media screen and (min-width: 768px) {
  .cases__title-thumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.cases__tag {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.01em;
  color: #8067f5;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}

.cases__title {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: clamp(32px, 16 * (100vw - 375px) / 1065 + 32px, 48px);
  line-height: 100%;
  text-align: left;
  color: var(--text-dark);
  margin: 0 auto 0 0;
  max-width: 625px;
}

.cases__portfolio-link {
  width: -moz-fit-content;
  width: fit-content;
  min-width: 218px;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .cases__portfolio-link {
    flex: 0 0 auto;
  }
}
@media screen and (max-width: 767px) {
  .cases__portfolio-link {
    margin-bottom: 24px;
  }
}
.cases__list {
  display: grid;
  -moz-column-gap: 16px;
  column-gap: 16px;
  row-gap: clamp(24px, 12 * (100vw - 375px) / 1065 + 24px, 36px);
  margin-bottom: clamp(24px, 12 * (100vw - 375px) / 1065 + 24px, 36px);
}
@media screen and (min-width: 768px) {
  .cases__list {
    grid-template-columns: 1fr 1fr;
  }
}

.cases__item {
  position: relative;
}

.cases__image-thumb {
  position: relative;
  border-radius: clamp(16px, 8 * (100vw - 375px) / 1065 + 16px, 24px);
  overflow: hidden;
  margin-bottom: 16px;
}

.cases__picture {
  display: block;
}

.cases__image {
  border-radius: clamp(16px, 8 * (100vw - 375px) / 1065 + 16px, 24px);
  width: 100%;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .cases__item:hover .cases__image {
    transform: scale(1.05);
  }
}
.cases__tabs {
  position: absolute;
  bottom: clamp(8px, 8 * (100vw - 375px) / 1065 + 8px, 16px);
  left: clamp(8px, 8 * (100vw - 375px) / 1065 + 8px, 16px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4px, 4 * (100vw - 375px) / 1065 + 4px, 8px);
  width: calc(100% - clamp(16px, 16 * (100vw - 375px) / 1065 + 16px, 32px));
}
@media screen and (min-width: 900px) {
  .cases__tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cases__tab {
  border-radius: 8px;
  padding: clamp(8px, 8 * (100vw - 375px) / 1065 + 8px, 16px);
  -webkit-backdrop-filter: blur(54px);
  backdrop-filter: blur(54px);
  background: rgba(31, 30, 34, 0.08);
}

@media screen and (max-width: 899px) {
  .cases__tab:nth-child(3) {
    grid-column: 1/-1;
  }
}
.cases__tab-value {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: clamp(12px, 4 * (100vw - 375px) / 1065 + 12px, 16px);
  line-height: 100%;
  color: #fff;
  margin-bottom: clamp(4px, 4 * (100vw - 375px) / 1065 + 4px, 8px);
  display: block;
}

.cases__tab-label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(12px, 2 * (100vw - 375px) / 1065 + 12px, 14px);
  line-height: 125%;
  letter-spacing: -0.02em;
  color: #fff;
  opacity: 0.7;
}

.cases__item-tag {
  border-radius: 8px;
  padding: 9px 12px;
  -webkit-backdrop-filter: blur(54px);
  backdrop-filter: blur(54px);
  background: rgba(31, 30, 34, 0.08);
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  color: #1f1e22;
  position: absolute;
  top: clamp(16px, 10 * (100vw - 375px) / 1065 + 16px, 26px);
  left: clamp(16px, 8 * (100vw - 375px) / 1065 + 16px, 24px);
}

.cases__item-title {
  margin-bottom: clamp(8px, 8 * (100vw - 375px) / 1065 + 8px, 16px);
  font-family: var(--second-family);
  font-weight: 500;
  font-size: clamp(20px, 12 * (100vw - 375px) / 1065 + 20px, 32px);
  line-height: 100%;
  color: var(--text-dark);
  transform: translate3d(0, 0, 0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .cases__item:hover .cases__item-title,
  .cases__item:hover .cases__item-text {
    transform: translate3d(0, 6px, 0);
  }
}
.cases__item-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: #6e6f76;
  transform: translate3d(0, 0, 0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.cases__cta-thumb {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(16px, 8 * (100vw - 375px) / 1065 + 16px, 24px);
  padding: clamp(16px, 8 * (100vw - 375px) / 1065 + 16px, 24px) clamp(24px, 12 * (100vw - 375px) / 1065 + 24px, 36px);
  background: #fff;
  display: grid;
  gap: 24px;
}

.cases__cta-thumb::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(130% 240% at -20% 50%, rgba(252, 217, 188, 0.95) 0%, rgba(252, 217, 188, 0.5) 40%, rgba(252, 217, 188, 0.12) 70%, rgba(252, 217, 188, 0) 100%);
}

.cases__cta-thumb::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: -1px;
  width: min(70%, 226px);
  height: 100%;
  pointer-events: none;
  opacity: 0.78;
  background-image: url("../../img/decor/problem-cta-bg-mobile.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 100% 100%;
}

.cases__cta-text,
.cases__cta {
  position: relative;
  z-index: 1;
}

.cases__cta-text {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: clamp(20px, 12 * (100vw - 375px) / 1065 + 20px, 32px);
  line-height: 100%;
  color: var(--text-dark);
  max-width: 560px;
}

.cases__cta {
  min-height: 52px;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 206px;
}

@media screen and (min-width: 600px) {
  .cases__cta-thumb {
    justify-content: space-between;
    align-items: center;
    grid-template-columns: auto auto;
  }
  .cases__cta-thumb::after {
    width: min(68%, 639px);
    background-image: url("../../img/decor/problem-cta-bg.svg");
  }
}
/*# sourceMappingURL=cases.css.map */
