.levels-section {
    margin-top: 100px;
}

.levels-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.levels-section__title {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.3;
    margin: 0 0 14px;
    color: #000;
}

.levels-section__controls {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    position: relative;
    top: 4px;
    left: 1px;
    flex-shrink: 0;
}

.levels-section__control {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #38c4bd;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='18' viewBox='0 0 11 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 17L9.5 9L1.5 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.levels-section__control img {
    display: none;
}

.levels-section__control--prev {
    transform: rotate(180deg);
}

.levels-section__text {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 20px;
    color: #000;
    max-width: 950px;
}

.levels-swiper {
    width: 100%;
    overflow: hidden;
}

.levels-swiper .swiper-slide {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    overflow: hidden;
}

.levels-swiper .swiper-wrapper {
    justify-content: flex-start;
}

.levels-section__control.swiper-button-disabled {
    background-color: #c4c4c4;
    cursor: default;
}

.levels-section__cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 60px;
    background-color: #fff;
    border-radius: 30px;
    width: 100%;
    height: 455px;
    box-sizing: border-box;
    align-items: start;
    position: relative;
    overflow: hidden;
}

.levels-section__card-title {
    grid-column: 1 / 2;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.1;
    color: #000;
    margin-bottom: 10px;
}

.levels-section__card-list {
    grid-column: 1 / 2;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.levels-section__card-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.levels-section__card-icon {
    width: 33px;
    height: 29px;
    flex: 0 0 20px;
    margin-top: 2px;
}

.levels-section__card-text {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0;
    color: #000000;
    transform: translateY(3px);
}

.levels-section__card-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 494px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media screen and (max-width: 1199px) {
    .levels-section__cards {
        grid-template-columns: minmax(0, 1fr) 284px;
        padding: 30px;
        width: 100%;
        max-width: 936px;
        height: auto;
        padding: 43px 63px;
        gap: 15px;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    .levels-section__card-image {
        width: 284px;
        height: 256px;
        opacity: 1;
        object-fit: contain;
    }
}

@media screen and (max-width: 768px) {
    .levels-section__controls {
        display: none;
    }

    .levels-section__cards {
        position: relative;
        overflow: hidden;
        gap: 14px;
        grid-template-columns: 1fr;
        height: auto;
        width: 100%;
        padding: 30px 20px;
        box-sizing: border-box;
        margin: 0;
    }

    .levels-section__card-title {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        max-width: 60%;
    }

    .levels-section__card-image {
        position: absolute;
        top: 0;
        right: 0;
        width: 112px;
        height: 101px;
        opacity: 1;
        object-fit: contain;
        display: block;
        z-index: 1;
    }

    .levels-section__card-list {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        gap: 10px;
        margin-top: 5px;
    }

    .levels-section__title {
        font-size: 26px;
    }

    .levels-section__header {
        gap: 10px;
    }

    .levels-section__controls {
        gap: 8px;
    }

    .levels-section__card-text {
        font-weight: 400;
        font-size: 14px;
    }

    .levels-section__card-item {
        align-items: center;
        z-index: 2;
    }
}