﻿body.js-block-scroll {
    height: 100vh;
    overflow: hidden;
}

* {
    --light-text: white;
    --font: #181818;
    --red-text: #FF6505;
    --red-text-hover: #d04f00;
    --blue-text: #4296E9;
}

.main-container {
    margin-bottom: 120px;  
}

.container {
    max-width: 1189px;
    margin: 0 auto;
}

.page-section {
    padding: 0 20px;
    margin-bottom: 100px;
}


.page-section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
}

.blue-text {
    color: var(--blue-text);
}

.red-button {
    display: block;
    padding: 20px 42px 20px 42px;
    border-radius: 4px;
    background: var(--red-text);
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: 600;    
    cursor: pointer;
    transition: 0.3s;
}

    .red-button:hover {
        background: var(--red-text-hover);
        transition: 0.3s;
    }

p.breadcrumbs {
    margin-bottom: 40px;
}

.tabs-section {
    margin-bottom: 48px;
}

.tabs-list {
    display: flex;
    gap: 16px;    
}

.tab a {
    display: flex;
    border: 1px solid #4296E9;
    padding: 8px 20px 8px 20px;
    border-radius: 4px;
    font-size: 19px;
    font-weight: 500;
    color: #1A1A1A;
    transition: 0.3s;
    height: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
}

    .tab a:hover, .tab a.active {
        background: #4296E9;
        color: #fff;
        transition: 0.3s;
    }

.tab-content{
    display: none;
}

.tab-content.active{
    display: block;
}


.person-info-section {
    margin-bottom: 48px;
}

.person-info-flex {
    display: grid;
    grid-template-columns: auto 1fr;   
    gap: 32px 48px;
    margin-bottom: 60px;
}

.person-foto-wrapper{
    width: 165px;
    flex-shrink: 0;  
    grid-row-start:1;
    grid-row-end: 3;
}

.person-name {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.person-job p {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.contacts-list{
    grid-column-start: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

    .contact-item a  {
        text-decoration: underline;
    }

.contact-item::before {
    display: block;
    content: "";
    width: 30px;
    height: 30px;
    background-image: url("/Content/img/icons.svg#icon-tel");
    background-repeat: no-repeat;
    background-size: 30px 30px;
    flex-shrink: 0;
}

.contact-item.email-item::before {
    background-image: url("/Content/img/icons.svg#icon-email");
}

.contact-item.skype-item::before {
    background-image: url("/Content/img/icons.svg#icon-skype");
}

    .contact-item.telegram-item::before {
        background-image: url("/Content/img/icons.svg#icon-telegram");
    }

.person-additional-info-block{
    margin-bottom: 48px;
}

.person-additional-info-item, .person-additional-info-item p {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 24px;
}

    .person-additional-info-item:last-child, .person-additional-info-item p:last-child {
        margin-bottom: 0;
    }

.person-additional-info-item dt, .person-additional-info-item dd{
    display: inline;
}   

    .person-additional-info-item dt {
        font-weight: 700;
        margin-right: 8px;
    }

.team-block {
    margin-bottom: 48px;
}

.team-block-header, .cases-section-header {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 24px;
    font-weight: 700;
}

.team-list {
    list-style-type: disc;
    color: #4296E9;
    list-style-position: inside;
}

    .team-list li a {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.4;
        text-align: left;
        text-decoration: underline;
    }

    .team-list li a:hover {
        text-decoration: none;
    }
.case{
    padding: 80px 20px;
}

.case:nth-child(2n-1) {
    background: linear-gradient(75.92deg, #EAF3FF -1.52%, #C7DFFF 108.84%);
    border-radius: 40px;
}

.case-flex{
    display: flex;
    gap: clamp(24px, 4vw, 60px);
    justify-content: space-between;
}

.case-header {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.case-text ul {
    list-style-type: disc;
    list-style-position: inside;
}

.case-text p, .case-text li {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 16px;
}

.case-text p:last-child{
    margin-bottom: 0;
}

.case-right{
    flex-shrink: 0;
    max-width: 322px;
}


.letter-img-wrapper{
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 16px;
}

.case:nth-child(2n) .case-flex{
    flex-direction: row-reverse;
}

.case:nth-child(2n) .letter-img-wrapper {
    box-shadow: 0px 0px 40px 0px #12283E33;
}

.link-scale {
    display: flex;
    font-size: 20px;
    font-weight: 400;
    color: #181818;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

    .link-scale:after {
        display: block;
        content: "";
        width: 24px;
        height: 24px;
        background: url("/Content/img/icons.svg#icon-magnifier") no-repeat;
        background-size: 24px 24px;
    }

.cm-modal{
    padding: 48px;
}

.modal2024 .modal-body.cm-modal-body {
    max-width: 680px;
    max-height: 100vh;
    overflow: auto;
}

.contact-modal-header {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    margin-bottom: 16px;
}

.contact-modal-text {
    margin-bottom: 16px;
}

.contact-modal-text p {
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;     
}

.cm-input-wrapper{
    margin-bottom: 12px;
}

    .cm-input-wrapper input:not([type=checkbox]), .cm-input-wrapper textarea {
        display: block;
        width: 100%;
        border: 1px solid #E3E7ED;
        background: #FFFFFF;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.3;
        padding: 14px 16px;
        border-radius: 4px;
    }

    .cm-input-wrapper input:focus, .cm-input-wrapper textarea:focus {
        outline: 1px solid #4296E9;
    }

.cm-button-wrapper{
    padding-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

@keyframes round-loader{
    from{
        transform: rotate(0)
    }
    to{
        transform: rotate(360deg);
    }
}

.modal2024.modal .loader.round-loader {
    border-width: 2px;
    animation-name: round-loader;
    animation-timing-function:linear;
    display: none;
}


.cm-send-button {
    width: 100%;
}

.cm-agree-wrapper{
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

    .cm-agree-wrapper label {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.2;       
    }

.cm-agree-wrapper input{
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.case-img-wrapper{
    overflow: hidden;
}

.case-img-wrapper img {
    width: 100%;
}

@media (max-width: 792px) {
    .container{
        padding-right: 0!important;
    }

    .tab a {
        padding: 8px;
        font-size: 16px;
    }
    
    .person-info-flex{
        gap: 24px;
        margin-bottom: 32px;
    }

    .person-foto-wrapper{
        grid-row-end:2;
        
    }

    .contacts-list{
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .case-flex{
        flex-direction: column!important;
    }

    .org-response-card{
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .page-section {
        margin-bottom: 48px;
    }
    
    .red-button{
        font-size: 16px;
    }

    .tabs-list{
        gap: 8px;
    }

    .tab a {
        font-size: 12px;
    }
     
    .person-foto-wrapper {
        width: 110px;
    }

    .person-name{
        font-size: 24px;
    }

    .person-job p{
        font-size: 14px;
    }

    .contact-item{
        font-size: 14px;
        margin-bottom: 8px;
        gap: 16px;
    }

        .contact-item::before{
            transform: scale(0.9);
        }

    .person-additional-info-item, .person-additional-info-item p{
        font-size: 14px;
    }

    .team-block-header{
        font-size: 14px;
    }

    .team-list li a {
        font-size: 14px;
    }

    .cases-section{
        padding: 0;
    }

    .cases-section-header {
        font-size: 14px;
        padding-left: 20px;
    }

    .case {
        padding: 40px 20px;
    }

    .case:nth-child(2n-1){
        border-radius: 18px;
    }

    .case-header{
        font-size: 20px;
    }

    

    .case-text p, .case-text li {
        font-size: 14px;
    }

    .link-scale{
        font-size: 12px;
    }

    .modal2024 .modal-body.cm-modal-body{
        padding-left: 20px;
        padding-right: 20px;
    }
}