.contacts {
    margin-top: 40px;
}

.contacts .section-title {
    text-align: center;
}

.table {
    border-collapse: separate;
    border-spacing: 0 4px;
    padding: 16px;
    border-radius: var(--rounded);
    background-color: var(--white-clr);
    border: 1px solid var(--border-clr);
}

.table_row:not(:first-child) {
    margin-top: 8px;
}

.table_row {
    display: grid;
    grid-template-columns: 128px 1fr;
    column-gap: 8px;
}

.row_title {
    font-size: 14px;
    font-weight: 500;
    line-height: 130%;
    color: var(--secondary-text-clr);
}

.row_text {
    font-size: 14px;
    line-height: 130%;
}

@media (min-width: 430px) {
    .table_row {
        grid-template-columns: 150px 1fr;
    }

    .row_title,
    .row_text {
        font-size: inherit;
    }
}

@media (min-width: 576px) {
    .table {
        max-width: 480px;
        margin-inline: auto
    }
}

@media (min-width: 1024px) {
    .contacts {
        margin-top: var(--section-margin-top);
    }
}

@media (min-width: 1280px) {
    .table {
        max-width: 520px;
        padding: 24px;
    }
    .table_row {
        grid-template-columns: 160px 1fr;
        column-gap: 16px;
    }
    .row_title {
        text-align: right;
    }
    .row_title,
    .row_text {
        font-size: 17px;
    }
}