/*.own_company {*/
/*    justify-content: space-between;*/
/*    display: flex;*/
/*    max-width: 1760px;*/
/*    flex-direction: row;*/
/*    align-content: center;*/
/*}*/
/*.own_company__item{*/
/*    justify-content: center;*/
/*}*/
@media (max-width: 1024px) {
    .branch-card.circle {
        width: 110px;
        height: 110px;
        border: 2px solid #00b1f2; /* синий */
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #fff;
        position: relative;
    }

    /* цифра */
    .circle-number {
        font-size: 32px;
        font-weight: 700;
        color: #00b1f2;
        line-height: 1;
    }

    /* текст */
    .circle-text {
        font-size: 13px;
        text-align: center;
        max-width: 80px;
        line-height: 1.2;
    }
    body .wrapper_inner, body .maxwidth-theme {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.benefits-img{
    padding-top: 120px;
}
.subscribe div button{
    padding: 10px 26px;
}
.subscribe{
    justify-items: center;
    padding: 40px;
}
.benefits-col{
    border-color: #00b1f2;
    background: transparent;
    border-style: solid;
    border-radius: 8px;
    flex: 1;
}
.benefits-col div img{
    position: relative;
}
.benefits-col img{
    width: 100px;
    height: 100px;
    transform: translateY(-50px);
}
.benefits-arrow{
    width: 12px;
    height: 12px;
    border-right: 2px solid #00b1f2;
    border-bottom: 2px solid #00b1f2;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: auto;
}

@media (max-width: 1024px) {
    .benefits-header{
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .benefits-col.active .benefits-arrow{
        transform: rotate(225deg); /* плавный разворот */
    }
    .employees-img{
        justify-self: center;
    }
    .desc-title{
        font-size: 20px !important;
    }
    .desc-rows {
        font-size: 15px !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        align-content: flex-start;
    }
    .mp-section{
        justify-items: left !important;
    }
    .desc-row{
        text-align: left !important;
        max-width: 100% !important;
    }
    .desc-row::before {
        content: "\2014";
        padding-left: 8px;
        margin-bottom: 10px;
        left: 0;
        top: 0;
        font-size: 26px;
        line-height: inherit;
        color: #e33333f;
        padding-right: 4px;
    }
    /*.own_company{*/
    /*    flex-direction: column;*/
    /*}*/
    .subscribe{
        padding: 0;
    }
    .desc-title{
        padding: 20px 0 20px 0;
        text-align: left;
        justify-content: flex-start !important;
    }

    /* контейнер */
    .benefits-img{
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-top: 40px;
        align-items: center;
    }

    /* карточка */
    .benefits-col{
        width: 90%;
        max-width: 350px;
        border: 1px solid #00b1f2;
        border-radius: 10px;
        padding: 16px;
        cursor: pointer;
        transition: 0.25s ease;
        display: flex;
        flex-direction: column;
        margin-left: 30px;
    }
    .benefits-image{
        width: 0;
    }
    /* верх (иконка + заголовок) */
    .benefits-header{
        display: flex;
        align-items: center;
        min-height: 70px; /* фикс — чтобы не прыгало */
    }

    /* иконка */
    .benefits-header{
        position: relative;
    }

    .benefits-header img{
        width: 60px;
        height: 60px;
        transform: translateX(-46px);
    }

    /* заголовок */
    .benefits-title{
        flex: 1;
        display: flex;
        align-items: center; /* центр по вертикали */
        font-size: 18px;
        font-weight: 700;
    }

    /* описание (скрыто) */
    .benefits-desc{
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        font-size: 15px;
        line-height: 1.4;
    }

    /* активное состояние */
    .benefits-col.active .benefits-desc{
        max-height: 300px;
        opacity: 1;
        margin-top: 12px;
    }
}
.team-desktop img{
    max-width: 100%;
}
@media (min-width: 1024px) {

    .team-desktop .benefits-img{
        display: flex;
        flex-direction: row;
        gap: 30px;
    }

    .benefits-title{
        height: 92px;
        padding: 0 20px 20px 20px;
        font-size: 20px;
        font-weight: 700;
    }
    .benefits-desc{
        padding: 0 20px 20px 20px;
    }
}
.mp-section{
    justify-items: center;
    padding-bottom: 120px;

}
/*.own_company__item-img {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    flex-direction: column;*/
/*    gap: 0;*/
/*}*/
/*.own_company__item {*/
/*    padding: 0 100px;*/
/*    max-width: 415px;*/
/*}*/
.left_block{
    display:none;
}
.team{
    padding-bottom: 120px;
}
.desc-title{
    display: flex;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}
.benefits-desc{
    font-size: 18px;
}
.desc-rows{
    font-size: 18px;
    display: flex;
    justify-content: space-evenly;
}
.desc-row{
    padding: 50px 50px 0px 50px;
    max-width: 365px;
    text-align: center;
}
.employees-img {
    text-align: center;
}

.team-mobile {
    display: none;
}
.mp-container{
    max-width: 100%;
}
@media (max-width: 1024px) {
    .own_company__info{
        font-size: 20px;
    }
    .desc-row{
        padding: 10px 10px 0 10px;
    }
    .team-col div{
        height: 72px;
    }
    .employees-number div img{
        height: 200px;
        padding-bottom: 20px;
    }

    .mp-section{
        padding-bottom: 20px;
    }
    .team-desktop {
        display: none;
    }

    .team-mobile {
        display: block;
    }

    .team-mobile .img-row.big {
        text-align: center;
        margin-bottom: 20px;
    }

    .team-mobile .img-row.big img {
        width: 120px;
    }

    .team-columns {
        display: flex;
        gap: 10px;
        align-items: stretch;
    }

    .team-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }
    .benefits-desc{
        font-size: 15px;

    }

    /* элементы */
    .team-col div {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        padding: 10px;
        border-color: #00b1f2;
        background: transparent;
        border-style: solid;
        border-radius: 8px;
        text-align: left;
        box-sizing: border-box;
    }

    /* иконка */
    .team-col img {
        width: 40px;
        height: 40px;
        min-width: 40px;
        object-fit: contain;
        margin: 0;
    }
}












.team-tree {
    position: relative;
    padding: 60px 0;
}

.tree-root {
    text-align: center;
}

.tree-root img {
    width: 220px;
}

/* SVG слой */
.tree-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ветки */
.tree-branches {
    display: flex;
    flex-direction: column;
    gap: 20px; /* меньше расстояние */
}

/* строка */
.tree-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ветки */
.tree-branch {
    width: 48%; /* компактно */
    display: flex;
}

/* выравнивание */
.tree-branch.left {
    justify-content: flex-end;
}

.tree-branch.right {
    justify-content: flex-start;
}

.tree-branch.left {
    justify-content: flex-start;
}

.tree-branch.right {
    justify-content: flex-end;
    position: absolute;
    right: 0%;
    /*padding-top: 140px;*/
}

.branch-card {
    position: relative;
    display: inline-block;
}

.branch-card img {
    width: 110px;
    display: block;
}

.branch-card span {
    position: absolute;
    top: 77%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    pointer-events: none;
}

.tree-branch, .tree-root img {
    opacity: 0;
    transform: perspective(2500px) rotateY(90deg);
    transition: all 0.7s ease;
    backface-visibility: hidden;
}

.tree-branch.visible, .tree-root img {
    opacity: 1;
    transform: perspective(2500px) rotateY(0);
}
.tree-lines path {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}
.employees-img,.team-mobile,.team-tree{
    width:100%;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.tree-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* ВАЖНО */
    pointer-events: none;
    z-index: 0;
}
.tree-lines path {
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.08));
}
.tree-root,
.tree-branches {
    position: relative;
    z-index: 1;
    width: calc(100% - 20px);
    max-width: 450px;
    justify-self: center;
}
.tree-trunk {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #ccc, #aaa);
}


