.cases-page__title {
    max-width: 1180px;
    margin: 34px 0 38px;
    color: #273142;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700
}

.cases-page__lead {
    max-width: 1260px;
    margin-bottom: 34px;
    padding-left: 20px;
    border-left: 4px solid #2ca483
}

.cases-page__lead p {
    margin: 0;
    color: #273142;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400
}

.cases-page__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 90px
}

.cases-page-card {
    padding: 38px 32px 34px;
    border: 1px solid rgba(39, 49, 66, .08);
    border-radius: 22px;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12)
}

.cases-page-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 46px;
    align-items: start
}

.cases-page-card__main {
    min-width: 0
}

.cases-page-card__number {
    margin-bottom: 20px;
    color: #2ca483;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800
}

.cases-page-card__date {
    margin-bottom: 8px;
    color: #748092;
    font-size: 14px;
    line-height: 1.35
}

.cases-page-card__title {
    margin: 0 0 8px;
    color: #273142;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700
}

.cases-page-card__description,
.cases-page-card__client,
.cases-page-card__stat p,
.cases-page-card__quote p {
    margin: 0;
    color: #273142;
    font-size: 15px;
    line-height: 1.35
}

.cases-page-card__client {
    margin-top: 14px
}

.cases-page-card__client b {
    font-weight: 700
}

.cases-page-card__stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
    gap: 48px;
    margin-top: 20px
}

.cases-page-card__stat-title {
    margin-bottom: 12px;
    color: #2ca483;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    text-align: center
}

.cases-page-card__stat--result {
    text-align: center
}

.cases-page-card__stat--result strong {
    display: block;
    margin-bottom: 4px;
    color: #2ca483;
    font-size: 28px;
    line-height: 1;
    font-weight: 800
}

.cases-page-card__quote {
    min-height: 252px;
    padding: 32px 18px 28px;
    border-radius: 22px;
    background-color: #013543;
    color: #fff
}

.cases-page-card__quote p {
    margin-top: 28px;
    color: #fff
}

.cases-page-card__quote-mark {
    height: 34px;
    color: #fff;
    font-size: 54px;
    line-height: .8;
    font-weight: 800
}

.cases-page-card__gallery {
    position: relative;
    display: grid;
    margin-top: 66px;
    overflow: visible
}

.cases-page-card__gallery-wrapper {
    width: 100%;
    overflow: hidden
}

.cases-page-card__gallery-list {
    display: flex;
    align-items: stretch
}

.cases-page-card__gallery-slide {
    flex-shrink: 0;
    height: auto
}

.cases-page-card__gallery-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 312/240;
    border-radius: 10px;
    object-fit: cover
}

.cases-page-card__gallery-prev,
.cases-page-card__gallery-next {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, opacity .2s ease
}

.cases-page-card__gallery-prev::before,
.cases-page-card__gallery-next::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin-left: 3px;
    border-left: 2px solid #273142;
    border-bottom: 2px solid #273142;
    transform: rotate(45deg)
}

.cases-page-card__gallery-prev:hover,
.cases-page-card__gallery-next:hover {
    background-color: #2ca483
}

.cases-page-card__gallery-prev.swiper-button-disabled,
.cases-page-card__gallery-prev.swiper-button-lock,
.cases-page-card__gallery-next.swiper-button-disabled,
.cases-page-card__gallery-next.swiper-button-lock {
    opacity: 0;
    pointer-events: none
}

.cases-page-card__gallery-prev {
    left: -12px
}

.cases-page-card__gallery-next {
    right: -12px
}

.cases-page-card__gallery-next::before {
    margin-right: 3px;
    margin-left: 0;
    transform: rotate(-135deg)
}

.cases-page-card__tag {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: 48px;
    padding: 11px 16px;
    border-radius: 24px;
    background-color: #2ca483;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .2s ease
}

.cases-page-card__tag:hover {
    background-color: #013543
}

.cases-page__more {
    width: 100%;
    min-height: 38px;
    border: 0;
    background-color: #fafafa;
    color: #2ca483;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease
}

.cases-page__more:hover {
    background-color: #f1f4f6
}

.cases-services {
    margin-top: 72px;
    padding-bottom: 90px
}

.cases-services__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px
}

.cases-services__title {
    margin: 0;
    color: #273142;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700
}

.cases-services__all {
    color: #2ca483;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none
}

.cases-services__all:hover {
    color: #013543
}

.cases-services__slider {
    position: relative
}

.cases-services__viewport {
    margin: -12px -10px;
    padding: 12px 10px;
    overflow: hidden
}

.cases-services__items {
    display: flex
}

.cases-service-card {
    position: relative;
    display: block;
    min-height: 306px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    text-decoration: none
}

.cases-service-card.swiper-slide {
    flex-shrink: 0;
    height: auto
}

.cases-service-card:hover .cases-service-card__image {
    transform: scale(1.04)
}

.cases-service-card:hover .cases-service-card__arrow {
    background-color: #013543
}

.cases-service-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease
}

.cases-service-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.58) 100%)
}

.cases-service-card__title {
    position: relative;
    z-index: 1;
    max-width: 230px;
    margin: 0;
    padding: 28px 26px;
    color: #fff;
    font-size: 26px;
    line-height: 1.12;
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .35)
}

.cases-service-card__arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #2ca483;
    transition: background-color .2s ease
}

.cases-service-card__arrow img {
    width: 17px;
    height: 15px
}

.cases-services .slider__controls-prev,
.cases-services .slider__controls-next {
    position: absolute;
    top: 50%;
    z-index: 20;
    transform: translateY(-50%)
}

.cases-services .slider__controls-prev {
    left: -12px
}

.cases-services .slider__controls-next {
    right: -12px
}

.cases-project-form {
    position: relative;
    min-height: 374px;
    margin-bottom: 90px;
    overflow: hidden;
    padding: 52px 40px;
    border-radius: 24px;
    background-color: #013543;
    color: #fff
}

.cases-project-form__content {
    position: relative;
    z-index: 2;
    max-width: 60%
}

.cases-project-form__title {
    margin: 0;
    color: #fff;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700
}

.cases-project-form__text {
    margin: 14px 0 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400
}

.cases-project-form__form {
    margin-top: 32px
}

.cases-project-form__field {
    position: relative
}

.cases-project-form__input {
    width: 100%;
    min-height: 60px;
    padding: 17px 76px 17px 24px;
    border: 0;
    border-radius: 8px;
    outline: none;
    background-color: #fff;
    color: #013543;
    font: inherit;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500
}

.cases-project-form__input::placeholder {
    color: rgba(39, 49, 66, .36)
}

.cases-project-form__input:focus {
    box-shadow: 0 0 0 2px rgba(44, 164, 131, .45)
}

.cases-project-form__submit {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #2ca483;
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, transform .2s ease
}

.cases-project-form__submit svg {
    width: 24px;
    height: 24px;
    fill: currentColor
}

.cases-project-form__submit:hover {
    background-color: #273142
}

.cases-project-form__submit:active {
    transform: translateY(-50%) scale(0.96)
}

.cases-project-form__checkbox {
    position: relative;
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    max-width: 630px;
    margin-top: 18px;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    cursor: pointer
}

.cases-project-form__checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

.cases-project-form__checkbox a {
    color: hsla(0, 0%, 100%, .62);
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease
}

.cases-project-form__checkbox a:hover {
    color: #2ca483
}

.cases-project-form__checkbox b {
    margin-left: 2px;
    color: #2ca483;
    font: inherit
}

.cases-project-form__checkbox-icon {
    position: relative;
    width: 15px;
    height: 15px;
    margin-top: 1px;
    border: 1px solid #fff;
    border-radius: 2px;
    background-color: #fff;
    flex: 0 0 15px
}

.cases-project-form__checkbox-icon::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 4px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #2ca483;
    border-bottom: 2px solid #2ca483;
    opacity: 0;
    transform: rotate(45deg)
}

.cases-project-form__checkbox input:checked+.cases-project-form__checkbox-icon::after {
    opacity: 1
}

.cases-project-form__image {
    position: absolute;
    right: 42px;
    bottom: 26px;
    z-index: 1;
    width: 420px;
    height: auto;
    pointer-events: none
}

@media screen and (max-width: 992px) {
    .cases-page {
        padding-top: 24px
    }
    .cases-page__title {
        margin: 28px 0 28px;
        font-size: 34px
    }
    .cases-page__lead {
        margin-bottom: 24px
    }
    .cases-page__lead p {
        font-size: 16px;
        line-height: 1.65
    }
    .cases-page-card {
        padding: 28px 24px 30px
    }
    .cases-page-card__top {
        grid-template-columns: 1fr;
        gap: 24px
    }
    .cases-page-card__quote {
        min-height: 180px
    }
    .cases-page-card__gallery {
        margin-top: 34px
    }
    .cases-page-card__tag {
        margin-top: 32px
    }
    .cases-services {
        margin-top: 56px
    }
    .cases-services .slider__controls-prev {
        left: -8px
    }
    .cases-services .slider__controls-next {
        right: -8px
    }
    .cases-project-form {
        min-height: 306px;
        margin-bottom: 64px;
        padding: 24px 20px 26px;
        border-radius: 22px
    }
    .cases-project-form__content {
        max-width: none
    }
    .cases-project-form__title {
        font-size: 26px;
        line-height: 1.25
    }
    .cases-project-form__form {
        margin-top: 30px
    }
    .cases-project-form__field,
    .cases-project-form__checkbox {
        max-width: none
    }
    .cases-project-form__input {
        min-height: 60px;
        padding-left: 26px;
        font-size: 16px
    }
    .cases-project-form__checkbox {
        margin-top: 17px;
        font-size: 12px;
        line-height: 1.35
    }
    .cases-project-form__checkbox-text {
        max-width: 520px
    }
    .cases-project-form__image {
        right: 34px;
        bottom: 0;
        width: 330px;
        opacity: .45
    }
}

@media screen and (max-width: 767px) {
    .cases-page__title {
        margin: 24px 0 22px;
        font-size: 28px;
        line-height: 1.18
    }
    .cases-page__lead {
        padding-left: 16px;
        border-left-width: 3px
    }
    .cases-page__lead p {
        font-size: 15px;
        line-height: 1.55
    }
    .cases-page__list {
        gap: 18px;
        padding-bottom: 56px
    }
    .cases-page-card {
        padding: 22px 18px 24px;
        border-radius: 18px
    }
    .cases-page-card__number {
        margin-bottom: 16px
    }
    .cases-page-card__title {
        font-size: 19px
    }
    .cases-page-card__stats {
        grid-template-columns: 1fr;
        gap: 18px
    }
    .cases-page-card__stat-title,
    .cases-page-card__stat--result {
        text-align: left
    }
    .cases-page-card__quote {
        min-height: 160px;
        padding: 26px 18px;
        border-radius: 18px
    }
    .cases-page-card__quote p {
        margin-top: 22px
    }
    .cases-page-card__gallery {
        margin-top: 24px
    }
    .cases-page-card__gallery-slide img {
        aspect-ratio: 16/10
    }
    .cases-page-card__gallery-prev,
    .cases-page-card__gallery-next {
        width: 40px;
        height: 40px
    }
    .cases-page-card__gallery-prev {
        left: -10px
    }
    .cases-page-card__gallery-next {
        right: -10px
    }
    .cases-page-card__tag {
        margin-top: 24px
    }
    .cases-page__more {
        min-height: 32px;
        font-size: 13px
    }
    .cases-services {
        margin-top: 44px;
        padding-bottom: 56px
    }
    .cases-services__head {
        margin-bottom: 22px
    }
    .cases-services__title {
        font-size: 22px
    }
    .cases-services__all {
        font-size: 14px
    }
    .cases-service-card {
        min-height: 260px;
        border-radius: 18px
    }
    .cases-service-card__title {
        padding: 24px 22px;
        font-size: 23px
    }
    .cases-project-form {
        margin-bottom: 56px;
        padding: 24px 20px 26px;
        border-radius: 20px
    }
    .cases-project-form__title {
        font-size: 23px;
        line-height: 1.25
    }
    .cases-project-form__text {
        font-size: 15px
    }
    .cases-project-form__form {
        margin-top: 30px
    }
    .cases-project-form__field {
        margin-right: 0
    }
    .cases-project-form__input {
        min-height: 60px;
        padding-right: 70px
    }
    .cases-project-form__submit {
        right: 10px
    }
    .cases-project-form__checkbox {
        gap: 10px;
        font-size: 11px;
        line-height: 1.3
    }
    .cases-project-form__image {
        right: 18px;
        bottom: 2px;
        width: 300px;
        max-width: 78%;
        opacity: .42
    }
}



#cases-list-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}