body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

header, footer {
    padding: 10px 0;
}

.brand {
    font-weight: bold;
    font-size: 24px;
    color: #333;
}

.logo {
    display: flex;
    flex-direction: column;
    max-height: 70px;
}

.logo img{
    height: 100%;
}

.phone {
    text-align: right;
    color: #666;
    font-size: 14px;
}


.six.columns.phone {
    width: 12vw;
    float: right;
    padding: 10px 0;
}
.six.columns.brand {
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
}

.six.columns.phone p {
    font-size: 1.5vw;
    text-align: left;
    margin-bottom: 0;
    text-align: left;
    &.name-phone {
        color: #B9B9B9;
    }
}

/* Оформление блоков (карточек) */
.card {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    background-color: #fff;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.card button {
    margin-top: 10px;
    background-color: #539E53;
    color: #fff;
    line-height: 15px;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    width: 100%;
}

.card button:hover {
    background-color: #539e53f5;
}

footer {
    background-color: #333;
    min-height: 200px;
}

footer .logo {
    margin: 50px 0;
}

footer p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

@media (max-width: 390px) {
    .logo {
        /* Здесь можно задать другие стили для разрешения 320px */
        margin-top: 10px;
    }
    .container.social-section h2 {
        font-size: 22px;
        margin-top: 15px;
    }
    .card button {
        margin-top: 10px;
        background-color: #539E53;
        color: #fff;
        line-height: 15px;
        border: none;
        padding: 8px 16px;
        border-radius: 20px;
        cursor: pointer;
        width: 100%;
    }
    .card button:hover {
        background-color: #539e53f5;
    }
    .six.columns.phone p {
        font-size: 3vw;
    }
    .six.columns.phone {
        width: 23vw;
        float: right;
        padding: 10px 0;
    }
    footer .logo {
        width: 100%;
    }
}