.wrap-home-promo {
    height: 650px;
    position: relative;
}

.bag-img-home-promo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.zag-home-promo {
    font-size: 65px;
    font-weight: 800;
    color: #FBF7EF;
    text-transform: uppercase;
    width: 100%;
    font-family: "EB Garamond", serif;
}

.inner-home-promo {
    position: absolute;
    bottom: 70px;
    left: 0;
}

.desc-home-promo {
    font-size: 20px;
    margin-top: 20px;
    max-width: 60%;
    color: #FBF7EF;
    font-weight: 300;
}

.btn-feedback-home-promo {
    position: relative;
    background-color: #F4EDE0;
    border: 1px solid #FBF7EF;
    outline: none;
    box-shadow: none;
    padding: 8px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 10px;
    color: #2B2420;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 40px;
    overflow: hidden;
    transition: color 0.3s ease;
    cursor: pointer;
    z-index: 1;
}

.btn-feedback-home-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #96774B;
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-feedback-home-promo:hover::before {
    left: 0;
}

.btn-feedback-home-promo:hover {
    color: #FBF7EF;
}

.desc-services {
    margin-top: 6px;
    color: #2B2420;
    font-weight: 300;
    font-size: 18px;
    max-width: 750px;
}

.row-card-services {
    margin-top: 24px;
}

.row-card-services .row {
    row-gap: 24px;
}

.card-services {
    padding: 24px;
    background-color: #FBF7EF;
    border-color: #FBF7EF;
    border-radius: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    z-index: 1;
    overflow: hidden;
}

.zag-card-services {
    font-size: 32px;
    font-weight: 500;
    color: #2B2420;
    line-height: 100%;
}

.desc-card-services {
    margin-top: 12px;
    color: #2B2420;
    font-weight: 400;
    max-width: 300px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-watch-card-services {
    background-color: #96774B;
    border-color: #96774B;
    outline: none;
    box-shadow: none;
    color: #FBF7EF;
    width: fit-content;
    padding: 8px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 10px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn-watch-card-services:hover {
    background-color: #6B4F2C;
    border-color: #6B4F2C;
}

.img-bag-card-services {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(65%);
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
}

.card-services::before {
    content: "";
    position: absolute;
    background: #F4EDE0;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    opacity: .4;
}

.wrap-btn-watch-all-services {
    margin: 0 auto;
    margin-top: 36px;
    width: fit-content;
}

.btn-watch-all-services {
    background-color: #96774B;
    border-color: #96774B;
    outline: none;
    box-shadow: none;
    color: #FBF7EF;
    width: fit-content;
    padding: 8px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    font-size: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-watch-all-services:hover {
    background-color: #6B4F2C;
    border-color: #6B4F2C;
}

.OurCasesSwiper, .OurCommandSwiper, .BlogSwiper {
    margin-top: 24px;
}

.swiper-slide-our-case {
    height: auto!important;
    width: 500px!important;
}

.swiper-slide-our-command {
    height: auto!important;
    width: 380px!important;
}

.swiper-slide-video {
    width: 300px!important;
    height: auto!important;
}

.video-card {
    background-color: #FBF7EF;
    border-radius: 24px;
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.card-our-case {
    background-color: #FBF7EF;
    border-radius: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.img-card-our-case {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 24px;
}

.body-card-our-case {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
    flex: 1;
}

.zag-body-card-our-case {
    color: #2B2420;
    font-weight: 500;
    line-height: 100%;
    font-size: 30px;
}

.desc-body-card-our-case {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.inner-desc-body-card-our-case {
    display: flex;
    align-items: center;
    gap: 6px;
}

.text-desc-body-card-our-case {
    color: #2B2420;
    font-weight: 300;
    font-size: 16px;
}

.btn-watch-card-our-case {
    background-color: #96774B;
    border-color: #96774B;
    outline: none;
    box-shadow: none;
    color: #FBF7EF;
    width: fit-content;
    padding: 8px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn-watch-card-our-case:hover {
    background-color: #6B4F2C;
    border-color: #6B4F2C;
}

.btns-our-cases-swiper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-swiper {
    background-color: #96774B;
    border: none;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-slide-no-active {
    cursor: not-allowed;
    opacity: 0.7;
    width: 32px;
}

.row-gen-director {
    margin-top: 24px;
    justify-content: space-between;
    row-gap: 24px;
}

.img-gen-director {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
}

.fio-gen-director {
    font-size: 40px;
    font-weight: 500;
    line-height: 100%;
    color: #2B2420;
}

.position-gen-director {
    font-size: 16px;
    margin-top: 8px;
    color: #2B2420;
    font-weight: 300;
}

.desc-gen-director {
    font-size: 18px;
    margin-top: 32px;
    color: #2B2420;
    font-weight: 400;
}

.list-about {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.item-list-about {
    font-size: 18px;
    color: #2B2420;
    font-weight: 400;
}

.left-steps-work {
    position: sticky;
    top: 100px;
}

.desc-left-steps-work {
    font-size: 16px;
    color: #2B2420;
    font-weight: 300;
    margin-top: 6px;
}

.btn-left-steps-work {
    background-color: #96774B;
    border: 1px solid #96774B;
    outline: none;
    box-shadow: none;
    color: #FBF7EF;
    font-size: 20px;
    width: 100%;
    padding: 12px;
    margin-top: 32px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-left-steps-work:hover {
    background-color: #6B4F2C;
    border-color: #6B4F2C;
}

.right-steps-work {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-right-steps-work {
    padding: 24px;
    border-radius: 24px;
    background-color: #FBF7EF;
}

.header-card-right-steps-work {
    display: flex;
    align-items: center;
    gap: 24px;
}

.number-step-header-card-right-steps-work {
    background-color: #96774B;
    color: #FBF7EF;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    height: 40px;
    width: 40px;
    border-radius: 10px;
}

.zag-header-card-right-steps-work {
    color: #2B2420;
    font-size: 32px;
    font-weight: 500;
    line-height: 100%;
}

.desc-card-right-steps-work {
    margin-top: 24px;
    color: #2B2420;
    font-size: 16px;
    font-weight: 300;
}

.card-right-steps-work.dark {
    background-color: #96774B;
}

.number-step-header-card-right-steps-work.dark {
    background-color: #FBF7EF;
    color: #2B2420;
}

.zag-header-card-right-steps-work.dark {
    color: #FBF7EF;
}

.desc-card-right-steps-work.dark {
    color: #FBF7EF;
}

.splide__slide__gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 24px;
}

.desc-blog {
    margin-top: 6px;
    color: #2B2420;
    font-weight: 300;
    font-size: 18px;
}

.case-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    background-color: #FBF7EF;
}

.case-gallery.swiper {
    display: block;
}

.case-gallery .swiper-wrapper,
.case-gallery .swiper-slide {
    height: 100%;
}

.case-gallery .swiper-slide {
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.case-gallery__slide {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
}

.case-gallery--card {
    height: 300px;
    flex-shrink: 0;
}

.case-gallery--detail {
    height: 480px;
}

.case-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background-color: #96774B;
    color: #FBF7EF;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.case-gallery:hover .case-gallery__nav,
.case-gallery:focus-within .case-gallery__nav {
    opacity: 1;
}

.case-gallery__nav:hover {
    background-color: #6B4F2C;
}

.case-gallery__prev {
    left: 12px;
}

.case-gallery__next {
    right: 12px;
}

.case-gallery__pagination {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.case-gallery__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background-color: #FBF7EF;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-gallery__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.case-gallery--detail .case-gallery__nav {
    width: 44px;
    height: 44px;
    opacity: 1;
}

.case-gallery--detail .case-gallery__prev {
    left: 16px;
}

.case-gallery--detail .case-gallery__next {
    right: 16px;
}

@media (max-width: 1100px) {
    .zag-home-promo {
        font-size: 50px;
    }
}

@media (max-width: 990px) {
    .desc-home-promo {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .zag-home-promo {
        font-size: 40px;
    }
    .desc-home-promo {
        font-size: 16px;
    }
    header {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    .bag-img-home-promo {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    .card-services {
        padding: 16px;
        border-radius: 16px;
    }
    .img-bag-card-services {
        border-top-right-radius: 16px;
        border-bottom-right-radius: 16px;
    }
    .zag-card-services {
        font-size: 24px;
    }
    .row-card-services {
        margin-top: 16px;
    }
    .card-services::before {
        border-radius: 16px;
    }
    .swiper-slide-our-case {
        width: 350px!important;
    }
    .case-gallery--card {
        height: 200px;
    }
    .card-our-case {
        border-radius: 16px;
    }
    .case-gallery {
        border-radius: 16px;
    }
    .body-card-our-case {
        padding: 16px;
    }
    .zag-body-card-our-case {
        font-size: 24px;
    }
    .fio-gen-director {
        font-size: 32px;
    }
    .card-right-steps-work {
        padding: 16px;
        border-radius: 16px;
    }
    .img-card-our-case {
        border-radius: 16px;
    }
    .case-gallery--detail {
        height: 320px;
    }
}

@media (max-width: 575px) {
    .img-bag-card-services {
        width: 100%;
        filter: brightness(100%);
        display: none;
    }
    .card-services::before {
        opacity: .1;
    }
    .desc-card-services {
        max-width: 100%;
    }
    .swiper-slide-our-case {
        width: 280px!important;
    }
    .case-gallery--card {
        height: 180px;
    }
    .case-gallery {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .fio-gen-director {
        font-size: 24px;
    }
    .img-gen-director {
        height: 300px;
        border-radius: 16px;
    }
    .zag-header-card-right-steps-work {
        font-size: 20px;
    }
    .desc-card-right-steps-work {
        margin-top: 16px;
    }
    .swiper-slide-our-command {
        width: 300px!important;
    }
    .img-card-our-case {
        height: 280px;
    }
    .zag-card-services {
        font-size: 20px;
    }
    .btn-watch-card-services {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 36px;
        font-size: 18px;
    }
    .btn-watch-all-services {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 36px;
        font-size: 18px;
    }
    .wrap-btn-watch-all-services {
        margin-top: 30px;
    }
    .zag-body-card-our-case {
        font-size: 20px;
    }
    .btn-watch-card-our-case {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 36px;
        font-size: 18px;
    }
    .desc-gen-director {
        font-size: 16px;
    }
    .number-step-header-card-right-steps-work {
        font-size: 18px;
    }
    .btn-feedback-home-promo {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        font-size: 18px;
    }
    .header-card-right-steps-work {
        gap: 18px;
    }
}
