.services {
    width: 1410px;
    height: 1410px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    left: -448px;
    top: 0;
}

.services>* {
    flex-grow: 1;
}

.circle--rotate {
    border-radius: 50%;
    border: 1px #000000 solid;
    width: 100%;
    height: 100%;
    margin: 0 auto 0;
    position: relative;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    z-index: 0;
    padding: 0;
    height: 1410px;
}

.circle--rotate>li {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    z-index: 10;
    transition: transform 1s;
    /* visibility: hidden; */
    cursor: pointer;
}

.circle--rotate>li .icon {
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    border-radius: 50%;
    height: 44PX;
    width: 44px;
    margin: -22px auto;
    display: flex;
    transition: all 500ms ease;
    box-shadow: -10px 10px 25px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
    color: #EBBF89;
    font-family: 'iCielBCCubano';
    font-size: 20px;
    background-color: #81161C;
}

.circle--rotate>li i {
    color: #ffffff;
    font-size: 24px;
    margin: auto;
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: table;
}

.circle--rotate>li i::before {
    display: table-cell;
    vertical-align: middle;
}

.circle--rotate>li img {
    margin: auto;
}

.circle--slider {
    position: relative;
}



.circle--slider .animate-wrapper {
    width: 25%;
    height: 25%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
}

.circle--slider .animate-title {
    color: #fff;
}

.circle--slider .animate-img {
    width: 25%;
    height: 25%;
    border-radius: 50%;
    overflow: hidden;
}

.circle--slider .animate-img .animate-img__in {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 50%;
    background-repeat: no-repeat;
    z-index: 3;
    -webkit-transform: rotate3d(0, 0, 0, 0deg) scale(0.85);
    transform: rotate3d(0, 0, 0, 0deg) scale(0.85);
    transition: .55s ease-in-out;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.3);
}

.circle--slider .animate-more {
    opacity: 0;
    visibility: hidden;
    transition: all .5s .4s;
    min-width: 131px;
    overflow: hidden;
    text-align: center;
    z-index: 30;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    padding: 15px;
    height: 62px;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
}

.circle--slider .animate.active .animate-more {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.circle--slider .animate.active .animate-img .animate-img__in {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.circle--slider .prev,
.circle--slider .next {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    display: block;
    height: 62px;
    width: 87px;
    text-align: center;
    cursor: pointer;
}

.circle--slider .prev span,
.circle--slider .next span {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-weight: 700;
}

.circle--slider .prev {
    left: 250px;
}

.circle--slider .next {
    right: 250px;
}

.block-text {
    position: absolute;
    top: 0;
    max-width: 481px;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 2;
    opacity: 1;
    overflow: unset !important;
    visibility: visible;
    background: #F5F5F3;
    padding: 24px;
    border-radius: 12px;
    transition: all 0.5s;
}

.block-text img {
    position: absolute;
    right: 0;
    top: -48px;
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.block-text h3 {
    font-size: 20px;
    max-width: calc(100% - 160px);
    margin-bottom: 24px;
    color: #221E20;
    line-height: 26px;
}

.block-text h4 {
    font-size: 16px;
    color: #221E20;
    font-weight: 500;
    margin: 0;
    line-height: 19px;
}

.block-text h4 span {
    color: #6C6E70;
    font-weight: normal;
}

.block-text p {
    margin: 0;
    font-size: 14px;
    color: #6C6E70;
    line-height: 21px;
}

.block-text h4::after {
    content: "";
    width: 100px;
    height: 1px;
    display: block;
    background: #81161C;
    margin: 12px 0;
}

.services-wrap {
    position: relative;
    height: 518px;
    margin-top: 232px;
    user-select: none;
}

.imgae-main-ser img {
    display: block;
    max-height: 521px;
}

.circle--rotate::after {
    content: url(../images/line-slider.png);
    position: absolute;
    top: 28px;
    right: 0;
    transform: rotate(6deg);
}

@media screen and (max-width: 1200px) and (min-width: 850px) {
    .services-wrap {
        margin-top: 100px;
    }

    .services {
        transform: scale(0.8);
    }

    .imgae-main-ser img {
        display: block;
        max-height: 521px;
        width: 40%;
        position: absolute;
        left: 0;
        bottom: 0;
    }
}

@media (min-width: 850px) {

    .home .header-wrapper .header-inner,
    .home .header-wrapper .header-main,
    .home .header-wrapper {
        width: max-content;
    }

    .circle--slider .count6 li:not(.active, .active1, .active2) {
        opacity: 0;
        visibility: hidden;
        -webkit-transform: rotate(57deg);
        transform: rotate(151deg);
    }

    .circle--slider .count6 li.active {
        -webkit-transform: rotate(-12deg);
        transform: rotate(-2deg);
    }

    .circle--slider .count6 li.active .block-text {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
        bottom: calc(100% + 38px);
        left: 223px;
        opacity: 0.7;
        top: auto;
        border: 1px solid #83161C;
    }

    .circle--slider .count6 li.active:not(.active2) .block-text {
        opacity: 1;
    }

    .circle--slider .count6 li.active1 {
        -webkit-transform: rotate(32deg);
        transform: rotate(32deg);
    }

    .circle--slider .count6 li.active1 .block-text {
        -webkit-transform: rotate(-32deg);
        transform: rotate(-32deg);
        top: -268px;
        left: auto;
        border: 1px solid #83161C;
        right: 217px;
    }

    .circle--slider .count6 li:nth-child(3).active1 .block-text {
        left: auto;
        right: 291px;
        top: -467px;
    }

    .circle--slider .count6 li:nth-child(3).active2 .block-text {
        left: auto;
        right: 182px;
        top: -332px;
        /* border: 1px solid rgb(255 255 255 / 70%); */
    }

    .circle--slider .count6 li.active2 {
        -webkit-transform: rotate(57deg);
        transform: rotate(57deg);
    }

    .circle--slider .count6 li.active1 .icon {
        transform: rotate(-34deg);
    }

    .circle--slider .count6 li.active2 .icon {
        transform: rotate(-58deg);
    }

    .circle--slider .count6 li.active2 .block-text * {
        opacity: 0.6;
        color: #333 !important
    }

    .circle--slider .count6 li.active2 .block-text {
        border: 1px solid rgb(255 255 255 / 70%);
        background: #f6f6f5;
        backdrop-filter: blur(63px);
        background-color: rgba(255, 255, 255, 0.4);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

    .circle--slider .count6 li.active2 .block-text {
        -webkit-transform: rotate(16deg);
        transform: rotate(-57deg);
        top: -306px;
        left: 465px;

    }
}

@media (max-width: 850px) {
    .services-wrap {
        height: 286px;
        margin-top: 420px;
    }

    .services {
        width: 1125px;
        height: 1125px;
        left: 50%;
        transform: translateX(-50%);
        margin: auto;
    }

    .circle--rotate {
        height: 1125px;
    }

    .circle--slider .count6 li.active {
        opacity: 1;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        z-index: 999;
    }

    .circle--slider .count6 li.active1,
    .circle--slider .count6 li.active2 {
        opacity: 0;
    }

    .circle--slider .count6 li {
        opacity: 0;
        visibility: hidden;
    }

    .circle--slider .count6 li .block-text {
        left: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        bottom: calc(100% + 38px);
        top: auto;
        height: 0;
        width: 0;
        transform: translate(500%, 500%) scale(0);
        padding: 16px;
        left: 0;
        right: 0;
        transition: all 1.5s ease-in-out;
        height: 372px;
        width: var(--box-width);
    }

    .circle--slider .count6 li.nextactive .block-text,
    .circle--slider .count6 li.reactive .block-text {
        width: 0 !important;
        opacity: 1;
        transform: translate(-500%, 500%) scale(0);
    }

    .circle--slider .count6 li.nextactive .block-text {
        transform: translate(500%, 500%) scale(0);
    }

    .circle--slider .count6 li.nextactive1 .block-text {
        transform: translate(-500%, 500%) scale(0);
    }

    .circle--slider .count6 li.nextactive1.active .block-text,
    .circle--slider .count6 li.active .block-text {
        transform: translate(0, 0) scale(1);
    }

    .circle--slider .count6 li.nextactive,
    .circle--slider .count6 li.nextactive1,
    .circle--slider .count6 li.reactive,
    .circle--slider .count6 li.active {
        opacity: 1;
        visibility: visible;
    }

    .block-text img {
        width: 80px;
        height: 80px;
        top: 4px;
        right: 4px;
    }

    .block-text p {
        font-size: 12px;
    }

    .block-text h3 {
        max-width: calc(100% - 80px);
        font-size: 18px;
        margin-bottom: 16px;
    }

    .block-text h4 {
        font-size: 14px;
    }

    .imgae-main-ser img {
        max-height: 306px;
        margin: 0 auto;
    }

    .circle--rotate::after {
        content: url(../images/line-slider-mb.png);
        top: 1px;
        left: 0;
        transform: rotate(-2deg);
        margin: auto;
        text-align: center;
    }
}