.heading-section__header {
    max-width: 706px;
    margin: 0 auto 32px;
}

.heading-section__text {
    margin-bottom: 48px;
}

.flex-reverse {
    flex-flow: row-reverse wrap;
}

.static-section {
    padding: 170px 0 179px;
}

.static-section__img {
    width: 100%;
    height: auto;
}

.static-section__row {
    margin-bottom: 50px;
    display: flex;
}

.static-section__header {
    margin-bottom: 32px;
    line-height: 64px;
    font-weight: 600;
}

.static-section__row:last-child {
    margin-bottom: 0;
}

.static-section__row:last-child .static-section__block {
    padding-top: 52px;
}

.static-section__block {
    padding-top: 30px;
}

.contrast-section {
    background: var(--color-gradiend-primary);
    padding-bottom: 200px;
}

.offer-section__title {
    margin-bottom: 52px;
    font-weight: 600;
    color: var(--color-tertiary-light);
}

.offer-section__cards {
    gap: 32px;
    justify-content: space-between;
}

.offer-card {
    flex: 1;
    border: 1px solid var(--color-secondary);
    background-color: var(--color-white);
    border-radius: 32px;
    padding: 54px 32px;
    background-color: var(--color-tertiary-light);
}

.offer-card__img {
    max-width: 400px;
    margin-bottom: 16px;
    width: 100%;
}

.offer-card__title {
    margin-bottom: 16px;
}

.offer-card__text {
    margin-bottom: 24px;
}

.why-section {
    padding-bottom: 200px;
}

.why-section__header {
    max-width: 983px;
    margin: 0 auto 56px;
    text-align: center;
}

.why-section__cards {
    margin: 0 auto;
    gap: 32px;
    max-width: 1556px;
}

.why-section__cards .cards__item {
    margin-top: 0;
    padding: 0;
}

.example-section__title {
    margin-bottom: 80px;
    color: var(--color-tertiary-light);
    max-width: 710px;
    font-weight: 600;
}

.example-section__slider-container {
    max-width: initial;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.slider .main-container {
    max-width: initial;
}

.slider__slide {
    padding: 48px 32px;
    box-sizing: border-box;
    text-align: center;
    background: #ddd;
    background-color: #fff;
    border: 1px solid var(--color-secondary);
    border-radius: 32px;
    height: auto;
}

.slider__slide:last-child {
    margin-right: 0;
}

.slider__img {
    margin-bottom: 15px;
}

.slider__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 24px;
}

.slider__text {
    font-size: 20px;
    line-height: 32px;
}


.slider__controls {
    margin: 56px auto 0;
    display: flex;
    align-items: center;
    width: fit-content;
    height: 56px;
}

.slider__prev-btn, .slider__next-btn {
    border: none;
    cursor: pointer;
    background-color: transparent;
    display: flex;
    align-items: center;
    padding: 0;
}

.slider__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.slider__dot {
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.5;
    cursor: pointer;
    transition: all .3s ease-in-out;
    border: none;
    padding: 0;
}

.slider__dot:last-child {
    margin-right: 0;
}

.slider__dot.active {
    background-color: var(--color-tertiary-light);
    opacity: 1;
    transform: scale(1.333);
}

.glide__slides {
    cursor: grab;
}

.example-section {
    padding-top: 175px;
    padding-bottom: 200px;
}

.possibilities-section {
    padding-top: 272px;
}

.possibilities-section__title {
    margin-bottom: 56px;
    max-width: 670px;
    font-weight: 600;
}

.possibilities-section__cards {
    gap: 56px;
}

.possibilities-section__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
    max-height: 232px;
    gap: 30px;
}

.possibilities-section__card:first-child {
    max-height: 260px;
}

.possibilities-section__card:last-child {
    margin-bottom: 0;
}

.possibilities-section__card-title {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

.possibilities-section__card.reverse {
    flex-direction: row-reverse;
}

.possibilities-section__card-content {
    max-width: 760px;
    border: 1px solid #eee;
    padding: 31px;
    border-radius: 32px;
}

.possibilities-section__card-img {
    flex-grow: 1;
    text-align: center;
    max-width: 366px;
}

.possibilities-section__card-content-img {
    display: none;
}

.possibilities-section {
    padding-top: 200px;
}

.step-section__list {
    margin-bottom: 48px;
}

.step-section-title {
    margin-bottom: 90px;
}

.step-section__item {
    display: flex;
    justify-content: center;
}

.step-section__item-number {
    margin-right: 32px;
}

.step-section__item-number:before {
    width: 2px;
    height: 100%;
    background-color: var(--color-primary);
    content: '';
    position: absolute;
    padding-bottom: 60px;
    top: 0px;
    left: 33px;
    z-index: -1;
}

.step-section__item:last-child .step-section__item-number::before {
    display: none;
}

.step-section__item:last-child .step-section__content {
    padding-bottom: 0;
}

.step-section__item-number-count {
    width: 67px;
    height: 67px;
    background-color: var(--color-primary);
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-tertiary-light);
}

.step-section__item-number {
    width: 67px;
    position: relative;
}

.step-section__content {
    max-width: 859px;
    padding-bottom: 48px;
}

.step-section__item-title {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 24px
}


@media screen and (max-width: 1199px) {
    .heading-section__header {
        margin-bottom: 64px;
        max-width: 611px;
    }

    .heading-section__text {
        max-width: 760px;
        margin: 0 auto 48px;
    }

    .static-section {
        padding: 160px 0;
    }

    .static-section__row {
        align-items: flex-start;
        margin-bottom: 56px;
    }

    .static-section__block,
    .static-section__row:last-child .static-section__block {
        padding-top: 0;
    }

    .img-wrapper {
        display: flex;
        align-items: center;
    }

    .static-section__row .static-section__img {
        max-height: 312px;
    }

    .static-section__row:last-child .img-wrapper {
        height: 340px;
    }

    .static-section__header {
        font-weight: 600;
        line-height: 56px;
    }

    .example-section__slider-container {
        max-width: calc(100% - 30px);
    }

    .offer-section__title {
        margin-bottom: 48px;
    }

    .offer-section__cards {
        gap: 30px;
    }

    .offer-card {
        width: 450px;
        display: flex;
        flex-direction: column;
    }

    .offer-card__img {
        margin-bottom: 16px;
        width: 386px;
        height: 194px;
    }

    .offer-card__title {
        max-width: 80%;
        font-size: 28px;
        font-weight: 500;
        line-height: 36px;
        margin: 0 auto 16px;
    }

    .offer-card__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
    }

    .offer-card__btn {
        margin-top: auto;
    }

    .why-section__cards {
        gap: 24px;
    }

    .example-section__title {
        max-width: 722px;
        color: var(--color-tertiary-light);
        margin-bottom: 48px;
    }

    .slider .main-container {
        max-width: 1188px;
    }

    .slider__controls {
        margin-top: 48px;
    }

    .contrast-section {
        padding-top: 160px;
        padding-bottom: 160px;
    }

    .cards__item {
        max-width: 49%;
    }

    .why-section {
        padding-top: 160px;
        padding-bottom: 160px;
    }

    .why-section__header {
        margin: 0 auto 52px;
    }

    .possibilities-section {
        padding-top: 160px;
    }

    .possibilities-section__cards {
        gap: 24px;
    }

    .possibilities-section__card:first-child,
    .possibilities-section__card  {
        max-height: initial;
    }

    .possibilities-section__card-content {
        max-width: 610px;
    }

    .possibilities-section__card-title {
        margin-bottom: 16px;
    }

    .step-section {
        padding-top: 160px;
    }

    .step-section__list {
        max-width: 770px;
        margin: 0 auto 78px;
    }

    .step-section-title {
        max-width: 460px;
        margin-bottom: 56px;
    }

    .step-section__item-number {
        margin-right: 30px;
    }

    .step-section__item-number:before {
        left: calc(100% - 25px);
    }

    .step-section__item-number-count {
        width: 50px;
        height: 50px;
    }

    .step-section__content {
        padding-bottom: 32px;
    }

    .step-section__item-title {
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 767px) {

    .heading-section__column {
        width: 100%;
    }

    .static-section {
        padding: 120px 0;
    }

    .static-section__row {
        margin-bottom: 56px;
    }

    .static-section__col {
        width: 100%;
    }

    .static-section__text {
        margin-bottom: 24px;
    }

    .static-section__row:last-child .static-section__block {
        margin-top: initial;
        margin-bottom: initial;
    }

    .static-section__row:last-child .img-wrapper {
        display: none;
    }

    .static-section__row:last-child .static-section__text {
        margin-bottom: 0;
    }

    .offer-section__cards {
        flex-direction: column;
        gap: 24px;
    }

    .offer-card {
        max-width: initial;
        width: 100%;
    }

    .offer-card__img {
        margin-bottom: 24px;
        width: 100%;
        height: auto;
    }

    .offer-card:last-child {
        margin-bottom: 0;
    }

    .possibilities-section__card-content {
        max-width: initial;
        width: 100%;
    }

    .cards__item {
        max-width: initial;
    }

    .slider {
        width: calc(100% - 48px);
    }

    .possibilities-section__card,
    .possibilities-section__card.reverse {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 568px) {
    .page-section-main:first-child {
        padding-top: 160px;
    }
    .page-section-main {
        padding-top: 120px;
    }

    .heading-section__header {
        margin-bottom: 24px;
        max-width: 271px;
    }

    .heading-section__text {
        margin-bottom: 32px;
    }

    .button__text::before {
        display: none;
    }

    .heading-section__button {
        padding: 17px 30px;
    }

    .offer-section {
        padding: 120px 0;
    }

    .static-section__header {
        text-align: center;
        margin-bottom: 24px;
        line-height: 32px;
    }

    .offer-section__title {
        max-width: 150px;
        margin: 0 auto 32px;
    }

    .offer-card {
        width: 100%;
        padding: 24px;
    }

    .offer-card__title {
        margin: 0 auto 11px;
        max-width: 175px;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 28px;
    }

    .offer-card__text {
        margin-bottom: 32px;
    }

    .offer-card:last-child .offer-card__title{
        max-width: initial;
    }

    .offer-card__btn {
        padding: 17px 34px;
        width: 100%;
    }

    .offer-card__btn .button__text {
        width: 100%;
    }

    .why-section {
        padding-bottom: 0;
    }

    .why-section__header {
        text-align: center;
        width: 248px;
    }

    .why-section__cards {
        margin-top: 56px;
        margin-bottom: 120px;
    }

    .example-section {
        padding-bottom: 120px;
    }

    .example-section__title {
        margin-bottom: 32px;
    }

    .slider {
        width: 100%;
    }

    .slider__title {
        margin-bottom: 24px;
        font-size: 18px;
        line-height: 28PX;
    }

    .slider__text {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }

    .slider__controls {
        display: none;
    }

    .possibilities-section__cards {
        gap: 24px;
    }

    .possibilities-section__card {
        padding: 0 13px;
    }

    .possibilities-section__card-content {
        padding: 23px;
    }

    .possibilities-section__card-img {
        display: none;
    }

    .possibilities-section__card-content {
        padding: 23px;
    }

    .possibilities-section__card-text {
        letter-spacing: -0.1px;
    }

    .possibilities-section__card-content-img {
        display: block;
        width: 160px;
        height: 160px;
        margin-bottom: 16px;
    }

    .possibilities-section__card-title {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 16px;
        font-weight: 500;
    }

    .step-section__list {
        margin-bottom: 32px;
    }

    .step-section-title {
        margin-bottom: 45px;
        max-width: 230px;
    }

    .step-section__content {
        padding: 0 0 24px;
    }

    .step-section__item-number-count {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }

    .step-section__item-number:before {
        left: calc(100% - 30px);
    }

    .step-section__item-title {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 16px;
    }

    .step-section__item-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }

    .step-section__item-number {
        margin-right: 24px;
    }

    .step-section__button {
        padding: 17px 34px;
    }
}