.services {
}

.services__title {
    margin-bottom: 24px;
}

.services__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 19px 0;
    border: 1px solid #D5DCDF;
    padding: 5px 5px;
    border-radius: 6px;
    width: fit-content;
    margin-bottom: 24px;
}

.services__tab {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: #202526;
    padding: 15px 10px;
    text-align: center;
    border-radius: 4px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: padding 0.3s ease, background-color 0.2s ease;
}

.services__tab._active {
    background-color: var(--primary);
    color: #fff;
}

.services__tab-content  .certificate-box__option-btn._active{
        background-color: #EFEFEF;
}


@media (min-width: 1240px) {
    .services__tab._active {
        padding: 15px 30px;
    }
}

@media (max-width: 1240px) {
    .services__tab {
        padding: 15px 30px;
    }
}

@media (max-width: 1024px) {
    .services__tabs {
        padding: 0;
        border: none;
        gap: 8px;

    }

    .services__tab {
        padding: 8px;
        border-radius: 100px;
        border: 1px solid #EAEAEA;
        font-size: 16px;
        line-height: 1.3;
    }

    .services__tab._active {
        background-color: #EAEAEA;
        color: #151515;
    }
}

/* CERTIFICATE START */

.certificate-box {
}

.card-box {
}

.card-box__head {
}

.card-box__title {
}

.card-box__body {
}

.certificate-box .card-box__main {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin: 0;
}

.certificate-box__content {
    width: 637px;
    flex: none;
}

.certificate-box .text-page {
    margin: 0px;
}

.certificate-box__option {
    margin: 12px 0 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.certificate-box__option-label {
    font-size: 16px;
    color: #151515;
}

.certificate-box__option-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.certificate-box__option-btn {
    border: 1px solid #D7B56D;
    font-size: 16px;
    line-height: 1.3;
    padding: 8px 16px;
    border-radius: 100px;
}

.certificate-box__option-btn._active {
    background-color: #fff;
}

.certificate-box__btn {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
    width: 100%;
    max-width: 300px;
}

.certificate-box__img {
    width: 100%;

}

.certificate-box__img img {
    display: block;
    margin: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.section-certificate .certificate-box .card-box__body{
    background-color: #EFEFEF;
}


@media (max-width: 1660px) {
    .certificate-box__content {
        width: 500px;
    }
}

@media (max-width: 1440px) {
    .certificate-box__content {
        width: 440px;
    }
}

@media (max-width: 1220px) {

    .certificate-box .card-box__main {
        flex-direction: column;
    }

    .certificate-box__content {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .certificate-box .card-box__title {
        font-size: 18px;
    }

    .certificate-box__option-wrap {
        gap: 4px;
    }

    .certificate-box .text-page p{
        font-size: 16px;
    }

    .certificate-box__option-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .section-certificate .certificate-box .card-box__body{
        border: none;
    }
}

/* CERTIFICATE END */


/* DOP BOX START */

.dop-box {
    background-color: #EFEFEF;
    padding: 24px;
    border-radius: 8px;
    display: flex;
    gap: 24px;
}

.dop-box__left {
    padding-right: 24px;
    border-right: 1px solid #D9D9D9;
    flex: none;
    min-width: 325px;
    width: max-content;
    max-width: 50%;
}

.dop-box__left > p{
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.4;
}

.dop-box__btn {
    margin-bottom: 12px;
}


.dop-box__price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dop-box__price-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    line-height: 1.4;
}

.dop-box__price-item > span{
    min-width: 240px;
}

.dop-box__price-item ._price {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid #D7B56D;
    color: #151515;
    flex: none;

}

.dop-box__right {
    width: 100%;
}

.dop-box__text {
    color: #151515;
    font-size: 16px;
    line-height: 1.4;
}
.dop-box__text p:first-child {
    margin-top: 0;
}
.dop-box__text p:last-child {
    margin-bottom: 0;
}

.dop-box__text p {
    display: block;
    margin-top: 16px;
    margin-bottom: 6px;

}

.dop-box__text a {
    padding-right: 12px;
    color: #00000082;
}

.dop-box__text a:hover {
    color: #151515;
}

@media (max-width: 768px) {
    .dop-box{
        flex-direction: column;
        gap: 12px;
    }


    .dop-box__left{
        padding: 0;
        border: none;
    }

    .dop-box__price-item{
        font-size: 16px;
        line-height: 1.3;
    }

    .dop-box__price-item > span{
        min-width: 220px;
    }
}

/* DOP BOX END */


/* PAYMENT BOX START */

.payment-box {
    background-color: #EFEFEF;
    padding: 24px;
    border-radius: 8px;
    display: flex;
    gap: 98px;
}

.payment-box__content {
    width: 100%;
}

.payment-box__content .text-page{
    margin: 0;
}

.payment-box__content .text-page p {
    margin: 0;
}

.payment-box__btn {
    margin-top: 32px;
}

.btn-red {
}

.payment-box__dop-content {
    width: max-content;
    flex: none;
    max-width: 50%;
    min-width: min-content;
    font-size: 18px;
    color: var(--color-main);
}

.payment-box__dop-content img{
    max-width: 137px;
    height: auto;
    object-fit: contain;
}

.payment-box .text-page ul li:before {
    top: 0.4rem;
}

@media (max-width: 1360px) {
    .payment-box{
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .payment-box{
       flex-direction: column;
    }
    .payment-box__dop-content{
        width: 100%;
        max-width: 100%;
    }
}

/* PAYMENT BOX END */


/* DOCUMENT BOX START */
.document-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.document-card {
    border: 1px solid var(--primary);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 283px;
}

.document-card__title {
    font-family: "cormorant", sans-serif;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 22px;
    line-height: 100%;
    text-transform: uppercase;

}

.document-card .text-page {
    margin-bottom: 60px;
}

.document-card  .text-page ul li:before{
    top: 0.4rem;
}

.document-card__btn {
    margin-top: auto;
    width: 100% ;
}


@media (max-width: 1440px) {
    .document-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .document-box {
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }

    .document-card .text-page {
        margin-bottom: 0;
    }

    .document-card{
        min-height: auto;
    }

    .document-card__btn {
        margin-top: 24px;

    }
}

/* DOCUMENT BOX END */

.instruction-box {
    width: max-content;
}

.instruction-box .payment-box__btn{
    width: 100% ;
}
