.certificates {
    position: relative;
    padding-bottom: 20px;
}

.certificates__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.certificates__title {
    font-size: 24px;
    font-weight: 400;
    line-height: 103%;
    letter-spacing: 0.4px;
    text-align: center;
    max-width: 200px;
}

.certificates__visualization {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 65px;
    width: 100%;
}

.certificates__image {
    width: 323px;
    height: 229px;
    transform: rotate(-15deg);
    margin-top: 20px;
}

.certificates__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 15px 30px 0px #3f30253d;
}

.certificates__text {
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0.2px;
    text-align: center;
    color: var(--color-darker-grey);
    max-width: 226px;
}

.certificates__pricing {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
}

.certificates__prices-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent, black 15%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 95%, transparent);
}

.certificates__prices {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    gap: 110px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.certificates__price {
    font-size: 32px;
    font-family: var(--font-eb-garamond);
    color: var(--color-black);
    white-space: nowrap;
    opacity: 0.2;
    transition: opacity 0.6s ease;
    cursor: pointer;
    user-select: none;
}

.certificates__price.is-active {
    opacity: 1;
}

.certificates__btn {
    position: absolute;
    z-index: 10;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.certificates__arrow-g {
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.certificates__btn.is-active .certificates__arrow-g {
    opacity: 1;
}

.certificates__btn:hover .certificates__arrow-g {
    opacity: 0.8;
}

.certificates__btn--prev {
    left: calc(50% - 150px);
}

.certificates__btn--next {
    right: calc(50% - 150px);
    transform: scaleX(-1);
}
.certificates__cta {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 5px;
}

@media (min-width: 1024px) {
    .certificates {
        margin-top: 10px;
        padding: 0 30px 20px 30px;
    }
    .certificates__inner {
        position: relative;
        justify-content: center;
        gap: 24px;
        background-color: var(--color-beige);
        border-radius: 12px;
        padding-left: 480px;
        padding-right: 30px;
        height: 400px;
    }
    .certificates__title {
        font-size: 34px;
        max-width: unset;
        margin-top: 10px;
    }

    .certificates__image {
        position: absolute;
        top: -30px;
        left: 12px;
        z-index: 1;
        width: 445px;
        height: 314px;
    }

    .certificates__text {
        max-width: unset;
    }

    .certificates__pricing {
        margin-top: 60px;
    }

    .certificates__cta {
        margin-top: 10px;
        max-width: 358px;
    }
}

@media (min-width: 1280px) {
    .certificates__inner {
        padding-right: 130px;
    }
}
