@import '/@beeline/design-tokens/css/font-face.css';

body {
    background-color: rgb(255, 255, 255);
}

.container {
    font-family: 'Beeline Sans';
    max-width: 1280px;
    padding: 0 16px;
    margin: 0 auto;
}

.dsb_typography__h2 {
    font-size: 44px;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: 0.3px;
}

.firstContainer {
    padding: 12px 16px;
    display: flex;
    gap: 16px;
}

.gapContainer {
    gap: 80px;
}

.logoGroup {
    display: flex;
    width: 29.9%;
    align-items: center;
    justify-content: space-between;
}

.logo_partners {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    object-fit: cover;
    max-height: 64px;
}

.logo_block_only_icon, #modalWin {
    display: none;
}

.block_for_logo {
    width: 146px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contactsGroup {
    display: flex;
    width: 64%;
    justify-content: flex-end;
    gap: 16.4%;
}

.infoGroup {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(9, 11, 22, 0.94);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
}

.menu-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px 16px;
    gap: 36px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: absolute;
    top: 56px;
    left: 16px;
    flex-direction: column;
    gap: 24px;
}

.paddingContainer {
    padding: 32px 0;
}

.search_for_services {
    max-width: 713px;
    padding-top: 20px;
}

.close_button {
    --color-text-inactive: rgba(25, 28, 52, 0.7);
    position: absolute;
    top: 50%;
    right: 16px;
    cursor: pointer;
    transform: translateY(-50%);
}

.hide, .expansion-block, .menu-item-footer, .logo_partners_960 {
    display: none;
}

.expansion-panel {
    border-bottom: 1px solid rgba(25, 28, 52, 0.12);
}

.panel-content {
    padding-top: 12px;
}

.expansion-objects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(456px, 1fr));
    gap: 16px;
    padding-bottom: 16px;
}

.dsb_typography__h5_title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.2px;
}

.chips_group {
    display: flex;
    padding-top: 24px;
    justify-content: space-between;
}

.chip_text {
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.2px;
}

.cardContainer {
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    --color-border: rgba(25, 28, 52, 0.18);
    height: 256px;
    max-width: 400px;
    transition: all .25s ease-out;
}

.card_filler {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transition_button {
    background-color: #fff;
    position: absolute;
    right: 24px;
    bottom: 24px;
    border: 1px solid rgba(25, 28, 52, 0.18);
}

footer {
    padding-top: 120px;
}

.footer_padding {
    padding: 24px 0;
    position: relative;
}

.footer_text {
    position: absolute;
    right: 0px;
    bottom: 12px;
    color: rgba(25, 28, 52, 0.7);
    font-size: 17px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.2px;
}



@media (max-width: 1279px)  {
    .contactsGroup, .partner_beeline_logo, .search_for_services, .cardContainer, .noResults {
        display: none;
    }

    #modalWin, .expansion-block, .menu-item-footer, .logo_partners_960 {
        display: block;
    }

    #modalWin {
        font-size: 20px;
        color: rgba(25, 28, 52, 0.7);
    }

    .logo_block_only_icon {
        display: block;
        max-width: 32px;
        max-height: 40px;
    }

    .logoGroup {
        width: 132px;
        height: 40px;
    }

    .block_for_logo {
        width: 83px;
        height: 65px;
        display: flex;
        align-items: center;
    }

    .logo_partners {
        display: inline-block;
        vertical-align: top;
        max-width: 100%;
        object-fit: cover;
        max-height: 37px;
    }

    .firstContainer {
        padding: 8px 16px;
        align-items: center;
        justify-content: space-between;
    }

    #dsb_divider--vertical_960 {
        height: 40px;
    }

    .dsb_typography__h2 {
        font-size: 34px;
        font-weight: 400;
        line-height: 44px;
        letter-spacing: 0.3px;
    }

    #modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 1000;
    }

    #modalContent {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        justify-content: space-between;
        padding: 20px;
        color: white;
    }

    .close {
        cursor: pointer;
        font-size: 30px;
        font-weight: bold;
    }

    .group {
        width: 30%;
    }

    .menu-item-footer {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer_text {
        position: absolute;
        left: 0px;
        top: 202px;
        color: rgba(25, 28, 52, 0.7);
        font-size: 14px;
        font-weight: 400;
        line-height: 18px;
    }

    .card {
        max-width: 100%;
        box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
        height: auto;
        cursor: pointer;
    }
}

@media (max-width:500px) {
    .expansion-objects {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
        gap: 16px;
    }
}