.section-phones {
    background: #F4F9FF;
}

.phones_wrap {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    padding: 64px 0;
}

.phones_text-block {
    width: calc(50% - 32px);
}

.phones_tabs-block {
    width: calc(50% - 32px);
    display: flex;
    flex-direction: column;
}

.phones_title {
    margin-bottom: 16px;
}

.phones_text {
    color: #595959;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 64px;
}

.phones_label {
    color: #595959;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 8px;
}

.phones_card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-radius: 12px;
    border: 1px solid #F0F0F0;
    background: #FFF;
    padding: 32px;
}

.phones_card a {
    color: #000;
    font-size: 28px;
    font-weight: 600;
    line-height: 110%;
    transition: var(--transition);
}

.phones_card a:hover,
.phones_card a:focus {
    color: var(--primary);
    text-decoration: none;
}

.phones_card .flag {
    width: 48px;
    height: 48px;
    border-radius: 50px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.flag.en {
    background-image: url("../../images/flags/F-en.svg");
}
.flag.de {
    background-image: url("../../images/flags/F-de.svg");
}
.flag.fr {
    background-image: url("../../images/flags/F-fr.svg");
}
.flag.it {
    background-image: url("../../images/flags/F-it.svg");
}
.flag.es {
    background-image: url("../../images/flags/F-es.svg");
}
.flag.pt-br {
    background-image: url("../../images/flags/F-br.svg");
}
.flag.ms {
    background-image: url("../../images/flags/F-ms.svg");
}
.flag.th {
    background-image: url("../../images/flags/F-th.svg");
}
.flag.zh-hans {
    background-image: url("../../images/flags/F-cn.svg");
}
.flag.zh-hant {
    background-image: url("../../images/flags/F-cn.svg");
}
.flag.ar {
    background-image: url("../../images/flags/F-ar.svg");
}

.phones_tabs-block>.phones_label {
    margin-bottom: 12px;
}

.tabs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.tab-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.tab-button {
    width: fit-content;
    border-radius: 50px;
    border: 1px solid #F0F0F0;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    line-height: 100%;
    cursor: pointer;
    padding: 8px;
}

.tab-button.active {
    border: 1px solid #154C8B;
    background: #113C6E;
    color: #FFF;
}

.tab-button .flag {
    width: 20px;
    height: 20px;
    border-radius: 50px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.tab-content .tab-pane {
    display: none;
}

.tab-content .tab-pane.active {
    display: block;
}

@media (max-width: 1199px) {
    .phones_wrap {
        flex-direction: column;
        gap: 48px;
        padding: 0;
    }

    .phones_text-block {
        width: 100%;
    }

    .phones_tabs-block {
        width: 100%;
    }

    .phones_text {
        margin-bottom: 40px;
    }

    .phones_card a {
        font-size: 24px;
    }

    .phones_tabs-block>.phones_label {
        margin-bottom: 8px;
    }
}

@media (max-width: 640px) {
    .phones_text {
        margin-bottom: 32px;
    }

    .phones_card {
        padding: 24px;
    }

    .phones_card a {
        font-size: 20px;
    }

    .phones_card .flag {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 300px) {
    .phones_card a {
        font-size: 18px;
    }
}