.container {
    display: flex;
    gap: 8px;
    /* расстояние между колонками */
    width: 100%;
}

.column-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 40px;
}

.column {
    flex: 1;
    /* каждая колонка занимает равную ширину */
    padding: 16px;
    /* внутренние отступы */
    background: #f0f0f0;
    height: 118px;
    width: 100%;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.03em;
    color: rgba(29, 29, 31, 1);
    cursor: pointer;
    transition: 0.15s ease-out;
    max-width: 100%;
}

.column:hover {
    color: #1D1D1F;
    transform: scale(1.02);
    box-shadow: none;
    background: #DCDCDE;
}

.column:hover svg .blacksvg {
    fill: var(--black);
    stroke: var(--black);
}

.column:hover svg .whitesvg {
    stroke: var(--white);
}

.column:hover .right-svg span {
    color: #1D1D1F;
}

.dark-card .column:hover .right-svg span {
    color: #fff;
}

.column-main-no-hover .column:hover {
    color: inherit;
    transform: none;
    box-shadow: none;
    background: #fff;
    cursor: default;
}

.bottom-row {
    display: flex;
    justify-content: space-between;
    height: 100%;
    /* левый и правый SVG */
}

.top-text {
    font-weight: 450;
}

.left-top-svg {
    font-weight: 450;
    max-width: 170px;
}

.left-svg {
    width: 18px;
    height: 18px;
    align-self: end;
    transition: 0.15s ease-out;
}

.left-svg svg path {
    transition: 0.15s ease-out;
}

.right-svg {
    height: 18px;
    align-self: flex-end;
    align-items: center;
    display: flex;
    gap: 8px;
}

.right-svg svg {
    /* масштабируем по ширине родителя */
    height: auto;
    /* сохраняем пропорции */
    max-width: 18px;
    /* или любой другой максимум */
    max-height: 18px;
    min-width: 18px;
}

.top-text-text {
    font-size: 44px;
    line-height: 48px;
    letter-spacing: -0.03em;
    font-weight: 450;
    color: rgba(29, 29, 31, 1);
}

.p-text {
    font-size: 15px;
    line-height: 22px;
    letter-spacing: -0.01em;
    font-weight: 450;
    color: #616163;
    max-width: 664px;
}

.p-text b {
    color: #1D1D1F;
}

.right-svg span {
    color: #99999C;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.01em;
    font-weight: 450;
    transition: 0.15s ease-out;
}

.column-main {
    background: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.container-column {
    display: flex;
    gap: 8px;
    width: 100%;
}

.dark-card .column {
    background: #313133;
}

.padding-top {
    padding-top: 120px;
}

.title-font-inter {
    color: #1D1D1F;
    font-size: 36px;
    line-height: 20px;
    letter-spacing: -0.01em;
    font-weight: 450;
    padding-top: 16px;
}

.gray {
    background: #F5F5F7;
}

.red {
    background: #B5262F;
}

.white {
    background: #fff;
}

.dark {
    background: #313133;
}

.color-card {
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: 118px;
}

.color-card.gray {
    border: 1px solid #D7D7D7;
}

.row-card {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.item {
    display: flex;
    justify-content: space-between;
}

.item div {
    color: #1D1D1F;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.color-card.red .item div,
.color-card.dark .item div {
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.column-main-no-hover {
    flex: 1;
}

.tripple-card {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    padding: 16px 0px 16px 16px;
    background: #fff;
    border-radius: 8px;
    flex-wrap: wrap;
}

.tripple-card .column {
    height: 100px;
    background: #F0F0F0;
    max-width: 100%;
}

.tripple-card .column:hover {
    background: #F0F0F0;
}

.column-right {
    flex: 1;
}

.white-box-footer {
    max-width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-top: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.white-box-footer .column {
    max-width: 100%;
    position: relative;
}

.white-box-footer .column:hover {
    color: inherit;
    /* сохраняет исходный цвет текста */
    background: inherit;
    /* сохраняет исходный фон */
    transform: none;
    /* отключает масштабирование */
    box-shadow: none;
    /* отключает тень */
    cursor: default;
    /* курсор по умолчанию */
}

/* И текст справа, если есть */
.white-box-footer .column:hover .right-svg span {
    color: inherit;
}

.white-box-footer .left-top-svg {
    max-width: 258px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.white-box-footer .right-svg {
    position: relative;
}

.all-title {
    color: #1D1D1F;
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.03em;
    font-weight: 450;
}

.footer-p {
    color: #616163;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.uslug_banner_submit_desktop span {
    color: white;
    font-size: 15px;
    line-height: 20px;
    font-weight: 450;
    letter-spacing: -0.01em;
}

.order_page .uslug_banner_submit {
    position: absolute;
    z-index: 10;
    bottom: 16px;
    right: 16px;
    left: unset;
    padding: 12px 16px 16px;
    width: 208px;
    height: 96px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s ease-out;
}

.column:hover svg .redblacksvg {
    fill: #fff;
    stroke: #fff;
}

.column:hover svg .redwhitesvg {
    stroke: #313133;
}

.tripple-card > * {
    flex: 0 0 calc(33.333% - 16px); /* три колонки с учётом gap */
    box-sizing: border-box;
}

/* ================== МЕДИА-ЗАПРОСЫ ================== */

@media screen and (min-width: 1520px) {
    .header_pages_h1 h1 {
        padding-top: 72px;
        font-size: 72px;
        line-height: 80px;
        letter-spacing: -0.04em;
    }

    .white-box-footer .left-top-svg {
        justify-content: end;
    }
}

/* Для экранов <= 1200px */
@media screen and (min-width: 1200px) and (max-width: 1519px) {
    .column {
        max-width: 100%;
        min-width: 282px;
    }

    .column-main {
        /*flex-direction: row;*/
        flex-wrap: wrap;
    }

    #colors .column-main {
        flex-direction: column;
    }

    #font .column-main {
        flex-direction: column;
    }

    #products .column-main {
        flex-direction: column;
    }

    .padding-top {
        padding-top: 144px;
    }

    .column-text {
        margin-bottom: 32px;
    }

    .header_pages_h1 h1 {
        padding-top: 72px;
        font-size: 60px;
        line-height: 66px;
        letter-spacing: -0.04em;
    }

    .section_content_page.order_page {
        padding-bottom: 144px;
    }

    .tripple-card .column {
        max-width: 100%;
        min-width: 176px;
    }

    .white-box-footer .left-top-svg {
        justify-content: end;
    }

    .white-box-footer .column{
        position: relative;
    }

    .order_page .uslug_banner_submit {
        right: 16px;
        bottom: 16px;
    }
}

/* Для экранов <= 800px */
@media screen and (min-width: 800px) and (max-width: 1199px) {
    .container {
        flex-direction: column;
    }

    .cryptoarm-container{
        flex-direction: column;
    }

    .content {
        margin-top: 64px !important;
    }

    .header_pages_h1 h1 {
        font-size: 60px;
        line-height: 66px;
        letter-spacing: -0.04em;
    }

    .top-text-text {
        font-size: 40px;
    }

    .column-text {
        gap: 32px;
        margin-bottom: 40px;
    }

    .column {
        max-width: 376px !important;
        min-width: 376px !important;
    }

    .column-main .column {
        max-width: 100% !important;
        min-height: 127px;
    }

    .padding-top {
        padding-top: 104px;
    }

    .p-text {
        max-width: 100%;
    }

    .bottom-row {
        height: 127px;
    }

    .tripple-card .column {
        max-width: 33.333% !important;
        min-width: 200px !important;
    }

    .white-box-footer .column {
        max-width: 100% !important;
        min-width: 760px !important;
        position: relative;
    }

    .white-box-footer .left-top-svg {
        justify-content: end;
    }
}

/* Для экранов <= 600px */
@media screen and (min-width: 600px) and (max-width: 799px) {
    .container {
        flex-direction: column;
        padding-left: 16px;
        padding-right: 16px;
        gap: 32px;
    }

    .cryptoarm-container{
        flex-direction: column;
    }

    .content {
        margin-top: 64px !important;
    }

    .column-main {
        flex-wrap: wrap;
    }

    #colors .column-main {
        flex-direction: column;
    }

    #font .column-main {
        flex-direction: column;
    }

    #products .column-main {
        flex-direction: column;
    }

    .header_pages_h1 h1 {
        font-size: 48px;
        line-height: 105%;
        letter-spacing: -0.04em;
    }

    .top-text-text {
        font-size: 40px;
    }

    .column-text {
        gap: 32px;
    }

    .row-card {
        gap: 8px;
    }

    #font .bottom-row {
        height: 127px;
    }

    .tripple-card .column {
        max-width: 100%;
    }

    #products .white-box-footer .right-svg {
        height: 100%;
        width: 100%;
    }

    .white-box-footer .left-top-svg {
        justify-content: end;
    }

    .white-box-footer .column {
        max-width: 100% !important;
        min-width: 100% !important;
        position: relative;
    }

    .uslug_banner_submit{
        left: unset !important;
        right: 16px !important;
        bottom: 16px !important;
    }

}

/* Для экранов <= 360px */
@media screen and (min-width: 360px) and (max-width: 599px) {
    .container {
        flex-direction: column;
        padding-left: 16px;
        padding-right: 16px;
        gap: 24px;
    }

    #main .column{
        max-width: 100% !important;
    }

    #colors .column-main {
        flex-direction: column;
    }

    #font .column-main {
        flex-direction: column;
    }

    #products .column-main {
        flex-direction: column;
    }

    .content {
        margin-top: 128px !important;
    }

    .header_pages_h1 h1 {
        padding-top: 48px;
        font-size: 36px;
        line-height: 105%;
        letter-spacing: -0.04em;
    }

    .top-text-text {
        font-size: 32px;
        line-height: 48px;
        letter-spacing: -0.03em;
        font-weight: 450;
        color: rgba(29, 29, 31, 1);
    }

    .column-text {
        gap: 24px;
    }

    .column-main {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .container-column {
        flex-direction: column;
    }

    .tripple-card .column {
        height: 100px;
        background: #F0F0F0;
        max-width: 100%;
        min-width: calc(50% - 16px);
        padding: 8px;
    }

    .bottom-row {
        min-height: 100px;
        height: 100%;
    }

    #font .bottom-row {
        min-height: 127px;
    }

    #font .column-main .column {
        max-height: 164px !important;
    }

    .tripple-card {
        gap: 16px;
    }

    #products .bottom-row {
        min-height: 80px;
        height: 100%;
        position: relative;
    }

    #products .right-svg {
        position: absolute;
        right: 0;
        bottom: 4px;
        justify-content: space-between;
        width: 100%;
    }

    .white-box-footer .right-svg {
        position: relative;
    }

    .color-card {
        padding: 8px;
        padding-top: 16px;
    }

    #colors .row-card {
        gap: 8px;
    }

    .order_page .uslug_banner_submit {
        width: 152px;
        display: flex;
        right: 8px;
        bottom: 8px;
    }

    .white-box-footer .left-top-svg {
        justify-content: flex-end;
    }

    .footer-p {
        max-width: 138px;
    }

    .white-box-footer .column {
        min-height: 204px;
        max-width: 100% !important;
        position: relative;
    }

    #font .bottom-row{
        flex-direction: column;
    }
}