.solutions {
    position: relative;
    z-index: 1;
    background: var(--white);
    box-shadow: 0 8px 8px rgba(22, 34, 51, .08);
}

.solutions__container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 48px;
}

/* Header */
.solutions__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.solutions__title {
    font-family: 'Amplesoft Pro Bold', sans-serif;
    font-size: 24px;
    line-height: 1.18;
    color: var(--main-blue);
}

/* Cards */
.solutions__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solutions__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    height: 280px;
    padding: 80px 24px 32px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 16px -4px rgba(22, 34, 51, .08);
}

.solutions__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 130, .9) 0%, rgba(0, 0, 130, 0) 100%);
    pointer-events: none;
}

.solutions__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.solutions__icon {
    position: relative;
    z-index: 1;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--main-blue);
    border-radius: 800px;
}

.solutions__icon-img {
    display: block;
}

/* Asymmetric crop in the design */
.solutions__icon-img--briefcase {
    transform: translateY(-.42px);
}

.solutions__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solutions__card-title {
    font-family: 'Amplesoft Pro Bold', sans-serif;
    font-size: 20px;
    line-height: 1.2;
    color: var(--white);
}

.solutions__card-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--gray-200);
}

.solutions__break {
    display: none;
}

@media (min-width: 768px) {
    .solutions__container {
        gap: 40px;
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .solutions__title {
        font-size: 32px;
        line-height: 1.25;
    }

    /* Horizontal carousel */
    .solutions__list {
        flex-direction: row;
        margin-bottom: -16px;
        padding-bottom: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .solutions__card {
        flex: 0 0 calc((100% - 16px) / 2);
        height: 360px;
        scroll-snap-align: start;
    }

    .solutions__break {
        display: inline;
    }
}

@media (min-width: 1200px) {
    .solutions__container {
        gap: 48px;
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .solutions__title {
        font-size: 40px;
        line-height: 1.2;
    }

    .solutions__list {
        margin-bottom: 0;
        padding-bottom: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    .solutions__card {
        flex: 1 1 0;
        min-width: 0;
        height: 320px;
    }
}
