
@font-face {
    font-family: 'Jx Tabe';
    src: url('fonts/JxTabeDemoRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background: #0A0A0A;
    color: #ffffff;
    font-family: "Factor A TRIAL", sans-serif;
    margin: 0;
    padding: 0;
}

.header-introduction-container {
    max-width: 1760px;
    width: 100%;
    margin: 0 auto 79px auto;
    padding: 0 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.header-introduction-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 250px;
}

.logo-text-title {
    font-family: "Jx Tabe";
    font-size: 84px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-img-img {
    max-width: 442px;
    max-height: 78px;
    width: 100%;
    height: 100%;
    margin-left: 2%;
}

.header-footnote {
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    margin: 0;
    color: #ffffff;
}

.full-container-bitrix-features {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

.container-bitrix-features-col {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    align-items: stretch
}

.container-bitrix-features-col .col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0
}

.bitrix-future-card {
    background: #1758FF;
    border-radius: 30px;
    padding: 40px 40px 0 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #FFF;
    max-width: 869px;
    width: 100%;
    height: 100%;
    position: relative;
}

.bitrix-future-card.small {
    max-height: 269px;
    height: 100%;
}

.bitrix-future-card.big {
    max-height: 581px;
    width: 100%;
    height: 581px;
}


.bitrix-future-card.wide {
    max-width: none;
    width: 100%;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
}

.future-card-title {
    font-size: 36px;
    font-weight: 500;
    margin: 0;
    color: #FFF;
}

.future-card-number {
    font-size: 36px;
    font-weight: 400;
    color: #FFF;
    margin: 0;
    position: absolute;
    top: 40px;
    right: 40px;
}

.future-card-text {
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFF;
}

a,
a:visited,
a:hover,
a:active {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
}

.future-card-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 90%;
    max-width: none;
    object-fit: contain;
    z-index: 0;
}

.future-card-img.second {
    height: 70%;
}

.container-white {
    background-color: #ffffff;
    border-radius: 65px;
    width: 100%;
    margin: 0 auto;
}

.online-office-container {
    display: flex;
    flex-direction: column;
    color: #0B0B0B;
    padding: 80px 168px;
}

.online-office-header {
    font-family: "Jx Tabe", sans-serif;
    font-size: 72px;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    max-width: 1200px;
    margin: 0 auto 20px;
}

.online-office-header-white {
    color: #ffffff;
    margin-top: 80px;
}

.online-office-subtitle {
    font-size: 24px;
    text-align: center;
    margin: 20px auto 50px;
    line-height: 1.3;
    max-width: 950px;
}

.online-office-subtitle-white {
    color: #ffffff;
}

.office-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.office-features.col {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-bottom: 40px;
}

.office-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid #1758FF;
    padding-bottom: 20px;
}

.office-feature.col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 0;
    padding-bottom: 0;
    border-left: 4px solid #1758FF;
    padding-left: 20px;
}

.task-projects-row {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 80px;

}

.task-projects-row .office-feature {
    flex: 1 1 calc(50% - 30px);
    min-width: 300px; 
}

.feature-number {
    font-size: 24px;
    font-weight: 600;
    color: #1758FF;
    flex-shrink: 0;
    width: 40px;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 170px;
}

.feature-content.col {
    flex-direction: column;
    gap: 30px;
}

.feature-title {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
    max-width: 755px;
    width: 100%;
    height: auto;
}

.feature-title.col {
    max-width: 450px;
} 

.feature-text {
    font-size: 16px;
    margin: 0;
    line-height: 1.3;
    color: #555;
}

.feature-text.col {
    max-width: 636px;
    width: 100%;
    height: auto;
}

.office-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.office-btn {
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

.office-btn.white {
    background: #fff;
    border: 2px solid #1758FF;
    color: #0A0A0A;
    font-weight: 700;
    line-height: normal;
    font-style: normal;
    padding: 20px 40px;
    max-width: 328px;
    height: auto;
}

.office-btn.white:hover {
    background: #1758FF !important;
    border: 2px solid #1758FF !important;
    color: #fff;
}

.office-btn.blue {
    background: #1758FF;
    color: #fff;
    padding: 20px 30px;
}

.office-btn.blue:hover {
    background: #fff;
    border: 2px solid #1758FF;
    color: #0A0A0A;
    font-weight: 700;
    line-height: normal;
    font-style: normal;
}

.office-submit {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.office-submit-btn {
    background: #1758FF;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.crm-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
    margin-top: 40px;
}

.crm-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1400px;
}

.crm-card {
    background: #1758FF;
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    min-width: 320px;
}

.crm-card.big {
    flex: 1 1 100%;
}

.crm-card.small {
    flex: 1 1 calc(50% - 20px);
}

.crm-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1100px;
}

.crm-buttons .office-btn.white {
    background: #fff;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    padding: 20px 30px;
}

.office-footer-header {
    color: #000;
    text-align: center;
    font-size: 64px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

@media (max-width: 1024px) {
    .container-bitrix-features-col {
        flex-direction: column;
        gap: 18px;
    }

    .container-bitrix-features-col .col {
        gap: 18px;
    }

    .bitrix-future-card,
    .bitrix-future-card.wide {
        width: 100%;
    }

    .header-introduction-container,
    .online-office-container {
        padding: 40px 20px;
    }

    .online-office-subtitle {
        font-size: 18px;
        max-width: 100%;
    }
}