
.company__banner{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 251px 0 ;
}
.certificate__banner{
    background-image: url("../assets/certificate-banner.png");
}
.career__banner{
    background-image: url("../assets/career-banner.png");
}
.about__banner{
    background-image: url("../assets/about-banner.png");

}
.company__banner-content{
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.company__title{
    font-size: 36px;
    color: #FFFFFF;
    margin-bottom: 6px;
}
.company__description{
    font-size: 18px;
    color: #FFFFFF;
    text-transform: none;
    font-family: "Montserrat-Light" , sans-serif;
    line-height: 140%;
}

.company__animation {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.company__animation-list {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.company__animation-track {
    display: flex;
    white-space: nowrap;
    animation: scrollText 30s linear infinite;
}

.company__animation-item {
    font-size: 36px;
    line-height: 120%;
    color: #1F1F1F;
    padding: 15px 30px;
    border: 2px solid #1F1F1F;
    border-radius: 8px;
    flex-shrink: 0;
    margin-right: -1px;
}

@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.certificate__payment{
    padding: 80px 0;

    max-width: 1164px;
    margin: 0 auto;
}
.certificate__payment-body{
    display: grid;
    grid-template-columns: 185px minmax(auto ,796px);
    column-gap: 60px;
    justify-content: space-between;
}
.certificate__payment-title {
    font-family: 'Montserrat-medium', sans-serif;
    font-size: 32px;
    color: #1F1F1F;
    grid-column: 1 / span 2;
    margin-bottom: 80px;
}
.certificate__payment-body-left{
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.certificate__stage{
    display: flex;
    gap: 12px;
    font-size: 20px;
    line-height: 24px;
    color: #5B5B5B;
}
.certificate__stage.active{
    color: #1F1F1F;
    font-family: "Montserrat-Medium" , sans-serif;
}
.certificate__payment-form{
    margin-bottom: 80px;
}
.certificate__payment-wrapper-stagePar{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    justify-content: space-between;
}
.certificate__payment-wrapper-stageWhom , .certificate__payment-wrapper-stageWhen{
    max-width:446px;
}
.certificate__payment-textarea{
    height: 126px;
}
.certificate__payment-input{
    grid-column: 1 / span 4;
    background: transparent;
    border: 1px solid #B3B3B3;
    border-radius: 8px;
    padding: 29px;
    text-align: center;
    font-size: 24px;
    height: 77px;
}
.certificate__payment-input::placeholder{
    font-size: 16px;
    color: #B3B3B3;
}
.certificate__payment-button{
    padding: 25px;
    font-size: 24px;
    line-height: 1;
    height: 77px;
    color: #1F1F1F;
    white-space: nowrap;
}
.certificate__payment-button.active{
    border: 1px solid #1F1F1F;
}
.certificate-button{
    width: 100%;
}
.certificate__error{
    padding: 12px 15px;
    display: none;
    border-radius: 8px;
    color: #FFFFFF;
    background-color: #FF8181;
    font-size: 12px;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
}

.certificate__payment-wrapper-stageWhom-actions{
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}
.certificate__payment-wrapper-stageWhom-body{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.certificate__payment-text{
    font-size: 20px;
    line-height: 24px;
    color: #5B5B5B;
    text-transform: none;

}
.certificate__nav-buttons{
    position: relative;
}
.certificate-back-button{
    position: absolute;
    left: -150px;
    padding: 28px 0;
    height: 56px;
    display: flex;
    align-items: center;
}
.certificate__summary{
    display: flex;
    gap: 32px;
}
.certificate__summary-card{
    border-radius: 6px;
    background-image: url("../assets/certificate.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 101px 90px 101px 156px;
}
.certificate__summary-card-desc{
    white-space: nowrap;
    font-size: 15px;
    color: #4A2020;
    text-align: right;
}
.certificate__summary-info{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.certificate__summary-info-block{
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}
.certificate__summary-info-name{
    font-size: 16px;
    color: #B3B3B3;
    white-space: nowrap;
}
.certificate__summary-info-desk{
    font-size: 20px;
}
.faq{
    padding: 40px 0 80px 0;
    max-width: 926px;
    margin: 0 auto;
}
.company__title-center{
    text-align: center;
    font-size: 36px;
    margin-bottom: 32px;
}

.company__gallery-slider {
    position: relative;
    /*overflow: hidden;*/
}
.gallery-slider__slider-wrapper{
    display: flex;
    gap: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    overflow-x: auto;
    white-space: nowrap;
}

.gallery-slider__slider-wrapper::-webkit-scrollbar {
    display: none;
}

.gallery-slider__slider-wrapper img{
    border-radius: 8px;
    width: 1084px;
    height: 625px;
}
.gallery-slider__slider-wrapper img:first-child{
    margin-left: 20px;
}
.gallery-slider__slider-wrapper img:last-child{
    margin-right: 20px;
}

.company__gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    display: none;
}

.company__gallery-arrow.left {
    transform: translateY(-50%) rotate(180deg);
    left: 20%;
}

.company__gallery-arrow.right {
    transform: translateY(-50%);
    right: 20%;
}
.company__gallery-arrow.active {
    display: block;
}




.career{
    padding-bottom: 40px;
    margin-bottom: 20px;
}
.vacancies{
    padding: 40px 0 80px 0;
}
.vacancies .container{
    max-width: 966px;
}
.vacancies__title{
    text-align: left;
}
.vacancies-item__list-item{
    padding: 40px;
    cursor: pointer;
    border-radius: 8px;
    background: #F1F1F1;
}
.vacancies-items__list-item-question{
    display: flex;
    justify-content: space-between;
}
.vacancies-items__list-item-text{
    margin-top: 40px;
    display: none;
}
.vacancies-items__list-item-text-block:not(:last-child){
    margin-bottom: 38px;
}

.vacancies-items__list-question-info{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.vacancies-items__list-question-name{
    font-family: 'Montserrat-Medium', sans-serif;
    font-size: 24px;
}
.vacancies-items__list-question-tags{
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
}
.vacancies-items__list-question-tag{
    font-size: 16px;
    padding: 6px 19px;
    border: 1px solid #1F1F1F;
    border-radius: 6px;
    flex: 0 0 auto;
}
.vacancies-items__list-question-more{
    display: flex;
    align-items: flex-start;
    flex-direction: row;
}
.vacancies-items__list-question-more-button{
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    transition: all 0.3s ease;

}

.vacancies-items__list-question-more-button svg{
    margin-top: -2px;
    transition: transform 0.3s ease;
}
.vacancies-items__list-question-more-button.active svg {
    transform: rotate(180deg);
}

.vacancies-items__list-item-name{
    font-family: 'Montserrat-medium', sans-serif;
    font-size: 20px;
    color: #000000;
    margin-bottom: 16px;
}
.vacancies-items__list{
    display: flex;
    flex-direction: column;
    gap: 12px;
    line-height: 140%;
    text-transform: none;
}
.vacancies-items__item{
    position: relative;
    padding-left: 14px;
}
.vacancies-items__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 3px;
    height: 3px;

    background-color: black;
    border-radius: 50%;
}
.vacancies-items__button{
    width: 100%;
}

.vacancies__steps{
    padding: 80px 0;
}
.vacancies__steps .container{
    max-width: 966px;
}
.vacancies__steps-container {
    position: relative;
}


/* Стрелки */
.vacancies__steps-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px;
    z-index: 2;
    cursor: pointer;
    display: none;
}

.vacancies__steps-arrow.left {
    left: 10px;
    transform: translateY(-50%) rotate(180deg); /* Обновляем transform, чтобы стрелка оставалась на месте */
}

.vacancies__steps-arrow.right {
    right: 10px;
    transform: translateY(-50%); /* Без поворота для правой стрелки */

}



/* Показываем стрелки, если есть прокрутка */
.vacancies__steps-arrow.active {
    display: block;
}


.vacancies__steps-list{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none; /* Для Firefox */

    margin-right: -400px;
    margin-left: -400px;

    -ms-overflow-style: none;
    cursor: grab;

}
.vacancies__steps-list::-webkit-scrollbar {
    display: none; /* Для Chrome, Safari и других браузеров на Webkit */
}
.vacancies__step{
    width: 313px;
    height: 428px;
    padding: 33px 32px 27px 33px;
    background-color: #F4F4F4;
    border-radius: 6px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    justify-content: space-between;
    background-image: url("../assets/steps/step-bg.png");
    z-index: 1 ;
    transition: all ease 0.3s;
    cursor: pointer;
}
.vacancies__step:first-child{
    margin-left: 400px;
}
.vacancies__step:last-of-type{
    margin-right: 400px;
}
.vacancies__step-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.vacancies__step-overlay{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.vacancies__step:hover .vacancies__step-overlay{
    opacity: 1;
}
.vacancies__step:hover{
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1 ;
}

.vacancies__step-overlay img{
    border-radius: 6px;
}
.vacancies__step:hover .vacancies__step-name{
    color: #ffffff;
}
.vacancies__step:hover .vacancies__step-desc{
    color: #ffffff;
}

.vacancies__step-number{
    /*position: absolute;*/
    /*top: 33px;*/
    /*left: 33px;*/
    font-size: 80px;
    color: #DBDBDB;
}
.vacancies__step-info{
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 105px ;
}
.vacancies__step-info-small{
    gap: 36px;
}
.vacancies__step-name{
    font-family: 'Montserrat-medium', sans-serif;
    font-size: 20px;
    color: #1F1F1F;
}
.vacancies__step-desc{
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    color: #5B5B5B;
}
.vacancies-popup{
    padding: 67px 56px;
}
.vacancies-popup .popup__content{
    position: static;
}
.vacancies-popup__title{
    margin-bottom: 20px;
}
.vacancies-popup__body{
    width: 447px;
}
.vacancies-popup-close{
    top: 31px;
    right: 11px;
}
.vacancies-popup-form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}
.vacancies__textarea{
    height: 162px;
}
.vacancies__file-label{
    cursor: pointer;
    gap: 20px;
}
.vacancies__file-label-name{
    display: flex;
    gap: 12px;
    align-items: center;
}
.vacancies__file-label-name span{
    padding-left: 0;
}
.vacancies__file-block-wrapper{
    /*display: flex;*/
    flex-direction: row;
    gap: 12px;
    border-radius: 8px;
    background-color: #5B5B5B;
    width: max-content;
    padding-top: 2px;
    display: none;

}
.vacancies__file-block{
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Montserrat-Regular',sans-serif;
    line-height: 1;


}
.vacancies__file-block-del{
    width: 38px;
    height: 38px;
    border-radius: 8px;
}
.vacancies-popup__button{
    display: block;
    width: 100%;
    margin-bottom: 8px;
}
.vacancies-popup-policy{
    display: block;
    margin: 0;
}
.vacancies-popup__success{
    position: static;
    transform: unset;
    margin-top: 100px;
}
.about__gallery{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
}
.about__gallery-content{
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.about__gallery-block{
    /*width: auto;*/
    /*height: 100%;*/
    max-height: 844px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;

}

.about__gallery-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.7) 0%,   /* затемнение снизу */
      rgba(0, 0, 0, 0.3) 40%,  /* плавный переход */
      rgba(0, 0, 0, 0) 100%    /* прозрачный верх */
    );
    z-index: 1;
}
.about__gallery-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about__gallery-info{
    font-family: 'Montserrat-Regular',sans-serif;
    position: absolute;
    bottom: 66px;
    left: 68px;
    max-width: 795px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
    font-weight: 400;
    z-index: 2;
}

.about__gallery-name{
    font-size: 36px;
}

.about__gallery-desk{
    font-size: 18px;
    letter-spacing: -0.01em;
    text-transform: none;
    font-family: 'Montserrat-Regular',sans-serif;
    font-weight: 300;
}


.staff-photo{
    display: flex;
    justify-content: center;
    align-items: center;
}
.staff-photo img{
    width: 100%;
}

@media screen and (max-width: 1197px){
    .certificate__payment-body{
        display: flex;
        flex-direction: column;
        align-items: center;


    }
    .certificate__payment-body-left{
        order: 1;

        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 60px;
    }
    .certificate__payment-title{
        order: 2;
    }
    .certificate__payment-body-right{
        order: 3;
    }
    .certificate-back-button{
        left: -100px;
    }
    .certificate__payment{

        padding: 40px 0;
    }

}


@media screen and (max-width: 998px) {
    .career{
        padding-bottom: 0;
    }
    .certificate__banner{
        background-image: url("../assets/certificate-banner-tablet.png");
    }
    .company__banner{
        padding: 156px 0;

    }
    .company__title{
        font-size: 20px;
    }
    .company__description{
        font-size: 14px;
    }
    .company__banner-content{
        max-width: 430px;
    }
    .company__animation{
        padding: 20px 0;
        margin-bottom: 0;
    }
    .company__animation-item{
        font-size: 20px;
        padding: 12px 20px;
    }

    .faq{
        max-width: unset;
    }
    .company__title-center{
        text-align: left;
        font-family: 'Montserrat-medium', sans-serif;
        font-size: 18px;
        margin-bottom: 24px;
    }
    .certificate__stage{
        font-size: 14px;
    }
    .certificate__payment-title{
        font-size: 20px;
        margin-bottom: 32px;
    }
    .certificate__payment-wrapper-stagePar{
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .certificate__payment-input{
        grid-column: 1 / span 2;
        order: 2;
        height: 50px;
        font-size: 16px;
    }
    .certificate__payment-input::placeholder{
        font-size: 14px;
    }
    .certificate__payment-button{
        height: 50px;
        font-size: 16px;
        padding: 15px 44px;
    }
    .certificate__payment-body-right{
        max-width: 492px;
        width: 100%;
    }
    .certificate__payment-wrapper{
        max-width: 335px;
        margin: 0 auto;
        /*margin-bottom: 60px;*/
    }
    .certificate__payment-wrapper-stageWhom-actions{
        gap: 15px;
        margin-bottom: 32px;
    }
    .certificate__payment-wrapper-stageWhom-actions .certificate__payment-button{
        padding: 15px 33px ;
    }
    .certificate-back-button{
        left: -70px;
    }
    .certificate-back-button svg{
        width: 42px;
    }
    .certificate-button{
        height: 56px;
    }
    .certificate__summary-card{
        padding: 56px 50px 56px 86px;
        height: 156px;
    }
    .certificate__summary-card svg{
        width: 137px;
        height: 31px;
    }
    .certificate__summary-card-desc{
        font-size: 8px;
    }
    .certificate__payment-wrapper-stagePayment{
        margin-left: -100px;
    }
    .certificate__summary-info-name{
        font-size: 14px;
    }
    .certificate__summary-info-desk{
        font-size: 16px;
    }
    .certificate__payment-wrapper-stageSuccess{
        margin-left: -100px;
    }
    .vacancies{
        padding-bottom: 40px;
    }
    .vacancies-item__list-item{
        padding: 20px;
    }

    .vacancies-items__list-question-name{
        font-size: 14px;
    }
    .vacancies-items__list-question-info{
        gap: 12px;
    }
    .vacancies-items__list-question-tag{
        padding: 6px 16px;
        font-size: 12px;
    }
    .vacancies-items__list-question-more{
        font-size: 12px;
        align-self: center;
    }
    .vacancies-items__list-question-more svg{
        width: 8px;
        height: 13px;
        margin-top: -2px;
    }
    .vacancies-items__list-item-text{
        margin-top: 32px;
    }
    .vacancies-items__list-item-name{
        font-size: 14px;
    }
    .gallery-slider__slider-wrapper{
        gap: 12px;
    }
    .gallery-slider__slider-wrapper img{
        width: 700px;
        height: 403px;
    }
    .vacancies__steps{
        padding-top: 20px;
    }
    .vacancies__step-name{
        font-size: 14px;
    }
    .vacancies__steps-list{
        margin-right: -40px;
        margin-left: -50px;
    }

    .vacancies__step-desc{
        font-size: 12px;
    }
    .vacancies__step-info{
        gap: 12px;
    }
    .vacancies__step:first-child{
        margin-left: 40px;
    }
    .vacancies__step:last-of-type{
        margin-right:40px;
    }
    .company__gallery-arrow svg{
        width: 40px;
    }
    .company__gallery-arrow.left {
        left: 10%;
    }
    .company__gallery-arrow.right {
        right: 10%;
    }

    .vacancies-popup{
        padding: 80px 20px 40px 20px;
    }
    .vacancies-popup .popup__content{
        height: 100%;
        width: unset;
        align-items: center;
    }
    .vacancies-popup__body{
        max-width: 335px;
    }
    .vacancies-popup__success{
        max-width: 335px;
    }
    .vacancies-popup-close{
        width: 32px;
        height: 32px;
        top: 15px;
    }
    .vacancies-popup-close svg{
        width: 15px;
        height: 15px;
    }
    .vacancies__file-block{
        font-size: 12px;
        text-transform: none;
    }
}

@media screen and (max-width: 700px){
    .certificate__payment-wrapper-stagePayment {
        margin-left: 0;
    }
    .certificate__payment-wrapper-stageSuccess{
        margin-left: 0;
    }
    .certificate__summary{
        flex-direction: column;

    }
}

@media (max-width: 674px) {
    .about__gallery-info{
        bottom: 20px;
        left: 20px;
        right: 10px;
    }
    .about__gallery-name{
        font-size: 24px;
    }
    .about__gallery-desk{
        font-size: 16px;
    }
    .about__gallery-content{
        gap: 20px;
    }
}

@media screen and (max-width: 640px){
    .vacancies{
        padding-top: 20px;
    }
    .vacancies-items__list-item-question{
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .vacancies-items__list-question-more-button{

        padding: 17px;
        border-radius: 8px;
        background-color: #DBDBDB;
        width: 100%;
        justify-content: center;
        font-size: 12px;
    }
    .vacancies-items__list-question-more-button svg{
        width: 10px;
        height: 10px;
        margin-top: 0;
        }

}
@media screen and (max-width: 572px){
    .certificate__stage p:last-child{
        display: none;
    }
    .certificate__stage.active p:last-child{
        display: block;
    }
    .certificate__payment-body-left{
        margin-bottom: 32px;
        width: 100%;
    }
    .certificate__payment-title{
        margin-bottom: 24px;
        text-align: left;
    }
    .certificate__payment-input {
        padding: 15px 0;
    }
    .certificate__payment-body{
        max-width: 335px;
        margin: 0 auto;
    }
    .certificate__payment-body-right{
        width: 100%;
        max-width: unset;
    }
    .certificate__stage:last-child{
        display: none;
    }
    .certificate-back-button{
        position: static;
    }
    .certificate__nav-buttons{
        display: flex;
        gap: 10px;
    }
    .certificate__payment-form{
        margin-bottom: 60px;
    }

    .certificate__banner{
        background-image: url("../assets/certificate-banner-mobile.png");
        padding: 183px 0;
    }
    .company__banner-content{
        max-width: 275px;
    }
    .certificate__payment{
        padding: 20px 0;
    }
    .faq{
        padding: 40px 0 25px 0;
    }
    .gallery-slider__slider-wrapper img{
        width: 330px;
        height: 190px;
    }



    .vacancies__steps-arrow{
        display: none !important;
    }
    .vacancies__steps-list{
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 0;
    }

    /*.vacancies__step-wrapper {*/
    /*    position: relative;*/
    /*    overflow: hidden;*/
    /*    display: flex;*/
    /*    justify-content: center;*/
    /*    border-radius: 8px;*/
    /*}*/

    /*.vacancies__step-wrapper::before {*/

    /*    content: '';*/
    /*    background-image: var(--step-bg);*/
    /*    position: absolute;*/
    /*    inset: 0;*/
    /*    background-size: cover;*/
    /*    background-position: center;*/
    /*    filter: blur(12px);*/
    /*    transform: scale(1.05);*/
    /*    z-index: 0;*/
    /*    opacity: 0.7;*/
    /*}*/

    .vacancies__step{
        position: relative;
        /*z-index: 1;*/
        width:100%;
        height: 345px;
        padding: 22px 65px 22px 25px;
    }

    .vacancies__step-info{
        height: unset;
    }
    .vacancies__step:first-child{
        margin: 0;
    }
    .vacancies__step:last-child{
        margin: 0;
    }
    .vacancies__step-overlay{
        opacity: 1;
        right: 0;
        bottom: 0;
        width: 100%;
        overflow: hidden;
        border-radius: 6px;
    }
    .vacancies__step-overlay::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        z-index: 1;
        pointer-events: none;
        border-radius: 6px;
    }
    .vacancies__step-overlay img{
        width: 100%;
        height: auto;
    }


    .vacancies__step-name{
        color: #ffffff;
    }
    .vacancies__step-desc{
        color: #ffffff;
    }

    .company__gallery-arrow.left {
        left: 3%;
    }
    .company__gallery-arrow.right {
        right:3%;
    }
    .about__gallery-info{
        gap: 12px;
    }
    .about__gallery-name{
        font-size: 18px;
    }
    .about__gallery-desk{
        font-size: 14px;
    }
    .white-about-link{
        padding: 50px 0 ;
    }
}