.button {
    position: relative;
    border-radius: 100px;
}

.button a {
    width: 100%;
    height: 100%;
    min-height: unset;
    padding: 19px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1;
    color: var(--color-white);
    background-color: transparent;
    border-radius: inherit;
}

.button--shady {
    background: var(--color-shady-black);
    backdrop-filter: blur(50px);
    height: 54px;
}

.button--certificate {
    width: 159px;
}

.button--reach {
    width: 199px;
}

.button--dotted a,
.button--reach a {
    justify-content: space-between;
}

.button--dotted a::before,
.button--dotted a::after,
.button--reach a::before,
.button--reach a::after,
.button--cta a::before,
.button--cta a::after,
.button--nav-cta a::before,
.button--nav-cta a::after,
.button--intro-cta a::before,
.button--intro-cta a::after,
.button--service-cta a::before,
.button--service-cta a::after,
.button--program-cta a::before,
.button--program-cta a::after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-white);
    flex-shrink: 0;
}

.button--certificate a::before {
    content: "";
    width: 18px;
    height: 19px;
    flex-shrink: 0;
    background-image: url("../../images/icons/certificate.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.button--back a::before {
    content: "";
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url("../../images/icons/back-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.button .dot--button,
.button .button__icon {
    display: none;
}

.button--dark-charcoal {
    background: #4f4a485e;
}

.button--nav-cta,
.button--service-cta,
.button--program-cta {
    height: 51px;
    background: #2f221e5e;
    border: 1px solid;
    border-image-source: linear-gradient(121.27deg, rgba(255, 255, 255, 0.06) 29.99%, rgba(153, 153, 153, 0) 70.01%);
}

.button--nav-cta {
    background: #2f221e5e;
    margin-top: auto;
    margin-bottom: 30px;
    margin-left: 32px;
    margin-right: 32px;
}

.button--service-cta {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: #0000005e;
    backdrop-filter: blur(50px);
    width: calc(100% - 16px);
}

.button--intro-cta {
    background: #27272782;
    backdrop-filter: blur(50px);
    width: 398px;
    margin-top: 38px;
}

.button--program-cta {
    background: #2f221e5e;
    backdrop-filter: blur(50px);
}

.button--brown {
    background: var(--color-brown);
}

.button--shady-brown {
    background: #2f221e5e;
    backdrop-filter: blur(50px);
    border: 1px solid #ffffff0b;
}

.button--cta {
    height: 55px;
    width: 100%;
}

.button--cta a,
.button--program-cta a {
    justify-content: space-between;
    padding: 19px 32px;
    font-family: var(--font-helvetica-neue-cyr-roman);
    font-weight: 400;
    letter-spacing: 0.2px;
    font-size: 15px;
}

.button--intro-cta::before {
    content: "";
    position: absolute;
    bottom: -1.2%;
    left: -3px;
    z-index: -1;
    content: "";
    width: 100.5%;
    height: 104.5%;
    background: linear-gradient(140.15deg, rgba(255, 255, 255, 0.041) 22.31%, rgba(255, 255, 255, 0.036) 77.69%);
    border: 1px solid;
    border-image-source: linear-gradient(140.15deg, rgba(255, 255, 255, 0.07) 22.31%, rgba(255, 255, 255, 0) 77.69%);
    border-radius: 100px;
}

.button--nav-cta a,
.button--intro-cta a,
.button--service-cta a {
    justify-content: space-between;
    padding: 19px 33px;
    font-family: var(--font-helvetica-neue-cyr-roman);
    font-weight: 400;
    letter-spacing: 0.2px;
    font-size: 15px;
}

.button--back {
    width: max-content;
}

.button--black {
    background: var(--color-black);
}

.button--back a {
    padding: 0;
    color: var(--color-grey);
    gap: 8px;
    opacity: 0.6;
    font-family: var(--font-helvetica-neue-cyr-roman);
}

@media (min-width: 1024px) {
    .button--shady {
        height: 46px;
        width: 200px;
    }

    .button--nav-cta {
        display: none;
    }

    .button--certificate-nav {
        width: 200px;
        background: #2828285e;
        backdrop-filter: blur(50px);
        font-weight: 400;
        letter-spacing: 0.2px;
        font-family: var(--font-accent-roman);
    }

    .button--program-cta {
        background: var(--color-black);
        backdrop-filter: blur(50px);
    }

    .button--cta {
        height: 46px;
    }

    .button--higher {
        height: 56px;
    }
}
