#promo {}
#promo-list {}
#promo-list .promo-item {
    padding: 0px 20px;
}
#promo-list .promo-item .info {
    display: flex;
    padding: 27px 30px;
    flex-direction: column;
    gap: 14px;
}
#promo-list .splide {
    position: initial;
}
#promo-list .promo-item .img {
    height: 237px;
}
#promo-list .promo-item .img{
    border-top-left-radius: var(--card-radius);
    border-top-right-radius: var(--card-radius);
    overflow: hidden;
}
#promo-list .promo-item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#promo-list .promo-item .date-to {
    font-size: 0.7em;
}
#promo-list .promo-item .caption {}
#promo-list .promo-item .description {}
#promo-list .promo-item .comment {}

#about {}
#main-gallery {
    margin-top: 60px;
    padding-left: 20px;
    padding-right: 20px;
}
#main-gallery .card {
    border-radius: var(--card-radius);
    overflow: hidden;
    max-height: 405px;
    height:100%;
}
#main-gallery .card img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#service-simple-items {}
#service-simple-items .items{
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
#service-simple-items .item:hover {
    background: #f6f6fc;
}
#service-simple-items .item {
    border-radius: var(--card-radius);
    cursor: pointer;
    flex: 1 1 0px;
}
#service-simple-items .item .content {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin: 30px 30px 40px 30px;

}

.popup.service {
    max-width: 660px;
}
.popup h2 {margin-bottom: 30px}
.popup p {margin-bottom: 30px}
.popup .price {
    color:var(--tpl-color)
}
.popup .price .old {
    text-decoration: line-through;
    opacity: 0.8;
    margin-right: 10px;
    font-size: 90%;
}

#service-simple-items .item .img{}
#service-simple-items .item .img img{
    max-width: 70px;
}
#service-simple-items .item .name {
    margin-top: 60px;
}

.service.popup .comment{
    font-size: 75%;
    line-height: 1.3em;
}

#technology {}
#technology .items {
    _display: flex;
    _gap: 40px;
    min-height: min(480px,60vh);
}
#technology .items .inner {
    height: 100%;
    width: 96%;
    position: relative;
    border-radius: 25px;
    margin-left: 2%;
    overflow: hidden;
}
#technology .items .item{
    height: 100%;
}
#technology .items .splide__slide{
    overflow: hidden;
    border-radius: var(--card-radius);
    position: relative;

}
@media screen and (min-width: 900px) {
    #technology .items .splide__slide {
        flex: 1 0 0;
    }
}
#technology .items .inner:before{
    display: block;
    content: "";
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s ease-in-out;
}
#technology .items .item:hover:before{
    background-color: rgba(0, 0, 0, 0.6);
}
#technology .items .item img{
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#technology .items .item .description {
    padding: 30px 40px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    transform: translateY(calc(100% - 40px));
    box-sizing: border-box;
    transition: transform 0.2s ease-in;
    color: #fff;
}
#technology .items .item .caption {
    position: absolute;
    display: block;
    padding-bottom: 25px;
    width: calc(100% - 80px);
    box-sizing: border-box;
    line-height: 1.4em;
    transform: translateY(-90%);
}
#technology .items .item .line{
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
    border-top:1px solid #fff;
}
#technology .items .item .text{
    opacity: 0;
    transition: opacity 0.2s ease-in 0.1s;
}
#technology .items .item:hover .text{
    opacity: 1;
}
#technology .items .item:hover .description{
    transform: translateY(0%);

}
#technology .items .item:hover .text{}

#specialist {
    position: relative;
}
.history .inner p em {
    color: rgb(154, 118, 179);
}


@media screen and (max-width: 1200px) {

}

@media screen and (max-width: 980px){
    #service-simple-items .item .content {
        margin: 30px 0px 30px 10px;
    }
}
@media screen and (max-width: 750px){
    #service-simple-items .items {
        flex-direction: column;
    }
    #service-simple-items .item .content {
        margin-top: 0px;
    }
    section:not(#index_top) {
        margin-top: 60px;
    }
    section#top_service {margin-top: 0px}
    #specialist-list .splide__arrow {
        top: 35%;
        opacity: 1;
    }
}
@media screen and (max-width: 600px){

    #service-simple-items .item .name {
        margin-top: 10px;
        margin-bottom: 15px;
        display: block;
    }
    #technology .items .item {
        min-width: 80vw;
    }
    #technology .items .item .description {
        transform: initial;
    }
    #technology .items .item .text {
        opacity: 1;
    }
    #technology .container.next {
        padding-left: 0px;
        padding-right: 0px;
    }
    .two-simple-col .next {
        font-size: 1em;
        line-height: 1.3em;
    }
    .two-simple-col h2 {
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 480px){
    #technology .splide__arrow--prev {
        left: -7px;
    }
    #technology .splide__arrow--next {
        right: -7px;
    }
    #technology .items .item {
        min-width: initial;


    }
    #technology .items .item {

        position: relative;
        box-sizing: border-box;
        border-radius: 25px;
        overflow: hidden;
    }
    #technology .container.next {
        padding-left: 10px;
        padding-right: 10px;
    }

    #index_top .two_col {
        min-height: initial;
    }
    .two_col .col-1 .caption {
        margin-top: 20px;
    }
    #index_top .two_col .col-2 .btn{
        margin-top: 20px;
    }
    #service-simple-items .items {
        flex-direction: column;
    }
    section .splide__arrow--next {
        right: 2px;
    }
    section .splide__arrow--prev {
        left: 2px;
    }
    #promo-list .promo-item .comment {
        font-size: 12px;
        line-height: 17px;
    }
    .two_col .col-2 .inner {
        margin-bottom: 0px !important;
    }
    #promo-list .promo-item .info {
        padding: 27px 10px;
    }
    body .splide__pagination {
        display: none;
    }
    #service-simple-items .item .content {
        gap: 10px;
    }
}
