﻿.main-container {
    margin-bottom: 120px;
}

.container {
    max-width: 1189px;
    margin: 0 auto;
}

p.breadcrumbs {
    display: none;
}

.container:has(.page-breadcrumbs) {
    margin-bottom: 36px;
}

.page-breadcrumbs {
    display: flex;
    flex-wrap: wrap; 
    margin-bottom: 32px;
}

    .page-breadcrumbs li {
        white-space: nowrap;
    }

        .page-breadcrumbs li::after {
            display: inline-block;
            content: ">";
            margin: 0 5px;
        }

        .page-breadcrumbs li:last-child::after {
            display: none;
        }

        .page-breadcrumbs li a {
            font-size: 14px;
            font-weight: 400;
            color: inherit;
            
        }

.red-text {
    color: #F27921;
}

.blue-text {
    color: #4296E9;    
}

.page-section {
    /*padding: 60px 20px;   */
    padding: 0 20px;
    margin-bottom: 100px;
}

    .page-section-padding{
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .section-header {
        font-size: 34px;
        font-weight: 700;
        line-height: 1.2;
    }

.section-subheader {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;   
}

.page-text p {
    font-weight: 500;
    font-size: 19px;
    line-height: 1.3;
    color: #181818;
    margin-bottom: 16px;
}

.page-text p:last-child {
    margin-bottom: 0;
}
.banner-section {
    background-image: url("//cdn.specialist.ru/Content/File/layouts/career-growth-capsule/img/banner-desktop0125.png"), linear-gradient(93.65deg, #002063 9.08%, #0F91FF 100.54%);
    background-repeat: no-repeat;
    background-position: right center, top left;
    background-size: cover;
    color: white;
    padding: 0 20px;
    min-height: 480px;
    margin-bottom: 0;
}

.banner-container{
    display: flex;
    justify-content: space-between;
}

.banner-container::after {
    display: block;
    content: "";
    width: 328px;
    height: 473px;
    background: url("//cdn.specialist.ru/Content/File/layouts/career-growth-capsule/img/banner-front0125.png") center center no-repeat;
    flex-shrink: 0;
    background-size: contain;
    align-self: flex-end;
    position: relative;
    right: 6vw;
    max-width: 100%;
}

.banner-content {
    padding: 30px 0 80px 0;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    
}

.banner-meta {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 32px;
    border: 1px solid #fff;
    padding: 5px 15px;
    border-radius: 30px;
}

.banner-header {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.banner-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 32px;
}

.banner-text strong{
    font-weight: 700;
}

.page-button {
    display: block;
    padding: 15px 20px;
    background: #FF6505;
    border: 1px solid #FF6505;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
    max-width: 100%;
    cursor: pointer;
    transition: 0.3s;
    width: fit-content;
    margin-bottom: 32px;
}

    .page-button:hover {
        background: #d04f00;
        border-color: #d04f00;
        transition: 0.3s;
        color: white;
    }

.banner-note {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.6;
}

.second-section {
    transform: translateY(-60px);
    padding: 0 20px;
    margin-bottom: 40px;   
}

    .second-section .container {
        padding: 24px clamp(20px, 10vw, 120px);
        background: #F5F9FD;
        box-shadow: 0px 14px 28px rgba(0, 0, 0, 0.15);
        border-radius: 14px;
        box-sizing: content-box;

    }

.second-section-header {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}

.second-section-text p{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 16px;   
}

.second-section-text p:last-child{
    margin-bottom: 0;
}

    .second-section-text p.note {
        color: #A8A8A8;
    }

.courses-section-top{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 60px;
}

.courses-section-top .section-header {
    max-width: 280px;
}

.courses-section .page-text{
    max-width: 458px;
}

.courses-section .page-text p {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
}

.courses-toggler{
    display: none;
}

.courses-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.course-card {
    border-radius: 15px;
    background: #FFF;
    padding: 24px 24px 24px 32px;
    box-shadow: 0px 0px 28px 0px #0000001A;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;

}

    .course-card::before {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 10px;
        background: #1090CF;
    }

    .course-card:nth-child(2n)::before {
        background: #9DB9C2;
    }
    .course-card:nth-child(3n)::before {
        background: #F1B745;
    }
    .course-card:nth-child(4n)::before {
        background: #48D617;
    }
    .course-card:nth-child(5n)::before {
        background: #EB076E;
    }
    .course-card:nth-child(6n)::before {
        background: #2DE0EC;
    }
    .course-card:nth-child(7n)::before {
        background: #AEDA30;        
    }
    .course-card:nth-child(8n)::before {
        background: #508ABC;
    }

.course-card-header {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 48px;
}

.techs-list{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
    margin-top: auto;
}

    .techs-list a {
        display: block;
        font-size: 14px;
        font-weight: 400;
        line-height: 14px;
        color: #181818;
        border: 1px solid #81AFD0;
        padding: 6px 12px;
        border-radius: 60px;
        transition: 0.3s;
    }

        .techs-list a:hover {
            color: white;
            background: #81AFD0;
            transition: 0.3s;
        }


.order-form-section {
    background: linear-gradient(75.92deg, #EAF3FF -1.52%, #C7DFFF 108.84%);    
}

.order-form-section .section-header{
    margin-bottom: 12px;
}

.order-form-top, .quality-header {
    text-align: center;
    margin-bottom: 12px;
}

.order-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

    .order-form-wrapper .input-wrapper {
       position: relative;
    }

      

.input-wrapper input, .input-wrapper select, .input-wrapper textarea {
    display: block;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E3E7ED;
    border-radius: 4px;
    height: 52px;
    font-weight: 500;
    font-size: 18px;
    padding-left: 20px;
    color: #1A1A1A;
}

.input-wrapper textarea {
    height: auto;
    padding: 10px 20px;
}

.order-form .select2-container .select2-selection--single {
    height: 52px;
    border: 1px solid #E3E7ED;
}

.order-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 52px;
    font-weight: 500;
    font-size: 18px;
    padding-left: 20px;
    color: #1A1A1A;
}

.order-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #1A1A1A transparent transparent transparent;
}

.send-form-button-wrapper {
    margin-bottom: 48px;
}

.send-form-button {
    margin: 0 auto;
    max-width: 276px;   
}

.agree-wrapper {
    text-align: center;
    max-width: 730px;
    margin: auto;
}

#agree {
    margin-right: 10px;
}

.agree-wrapper label {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.2;
    color: #33393E;
}

    .agree-wrapper label a {
        color: #2580C3;
        text-decoration: underline;
    }

.reg-phone-country_label {
    display: block;
    position: absolute;
    bottom: -15px;
    color: gray;
}

.order-form-section-top{
    text-align:center;
    margin-bottom: 48px;
}

.order-form-block .checkboxes-box {
    display: flex;
    gap: 18px 36px;
    justify-content: center;
    margin-bottom: 48px;
}

.order-form-block-header {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 24px;
}

.order-form-block .checkbox-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
}

    .order-form-block .checkbox-wrapper input {
        height: 22px;
        width: 22px;
    }

    .order-form-block .checkbox-wrapper label {
        font-weight: 400;
        font-size: 15px;
        color: #33393E;
    }

.cert-section-flex{
    display: flex;
    justify-content:space-between;
    gap: 24px;
}

.cert-section-content{
    max-width: 800px;
}

.cert-section-header, .formats-section-header, .max-hours-header, .achieves-section-header {
    margin-bottom: 24px;
}

.cert-block{
    max-width: 354px;
}

.js-fancybox{
    display: block;
}

.cert-wrapper{
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
}

.cert-scale {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    font-weight: 400;
    color: #181818;
}

    .cert-scale::after {
        display: block;
        content: "";
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        background: url("//cdn.specialist.ru/Content/File/layouts/career-growth-capsule/img/scale.png") center center no-repeat;
        background-size: contain;
    }

.max-hours-section {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    background: url("//cdn.specialist.ru/Content/File/layouts/career-growth-capsule/img/banner2.png") center center no-repeat;
    background-size: cover;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

    .max-hours-section::after {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        right: -10px;
        width: 180px;
        height: 180px;
        background: url("//cdn.specialist.ru/Content/File/layouts/career-growth-capsule/img/star1.png") center center no-repeat;
        background-size: contain;
    }

.max-hours-top {
    max-width: 600px;
    margin-bottom: 150px;
}

.preferences-list{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;    
}

.preference-item {
    background: #FFFFFF;
    flex: 1 1 296px;
    padding: 20px 30px 20px 20px;
    border-radius: 15px;   
    position: relative;
}

    .preference-item:nth-child(2):after {
        display: block;
        content: "";
        position: absolute;
        top: -140px;
        right: -60px;
        width: 182px;
        height: 182px;
        background: url("//cdn.specialist.ru/Content/File/layouts/career-growth-capsule/img/star2.png") center center no-repeat;
        background-size: contain;
    }

    .preference-item h3 {
        font-size: 30px;
        font-weight: 700;
        line-height: 1.2;   
        margin-bottom: 10px;
    }

    .preference-item p {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;  
        margin-bottom: 6px;
    }

    .preference-item .note {
        font-size: 10px;
        font-weight: 500;
        line-height: 1.4;
        color: #A8A8A8;
    }

.achieves-section-header{
    max-width: 902px;
    margin-bottom: 48px;
}

.achieves-list {
    max-width: 956px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.achieve-item {
    width: 200px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;    
}

.achieve-numder {
    display: block;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 16px;    
}

.bottom-form-section {
    max-width: 1189px;
    margin: auto;
    background: linear-gradient(270deg, rgba(237, 238, 249, 0.5) 1.23%, rgba(242, 249, 252, 0.5) 100%);
    border-radius: 20px;
}

.bottom-form-section-header{
    max-width: 960px;
    margin: 0 auto 24px;
}

.bottom-form-section-subheader {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.bottom-form-wrapper{
    max-width: 482px;
    margin: auto;
}

.bottom-form-wrapper .input-wrapper{
    margin-bottom: 24px;
}

.bottom-form-wrapper .order-form-block {
    padding-top: 24px;
}

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, .4);
    z-index: 5;
}

    .loader.active {
        display: block;
    }


/*@media (max-width: 1704px) {
    .banner-section {
        background-position: center center;
    }
}

@media (max-width: 984px) {
    .banner-section {
        background-position: left -450px center;
    }
}*/

@media (max-width: 792px) {
    .courses-section-top, .courses-block {
        grid-template-columns: 1fr;
    }

        .courses-section .page-text, .courses-section-top .section-header {
            max-width: none;
        }

    .cert-section-flex{
        flex-direction: column;
    }

    .cert-block{
        align-self: center;
    }

    .max-hours-section {
        background: url("//cdn.specialist.ru/Content/File/layouts/career-growth-capsule/img/shadow.png") right center no-repeat,
            linear-gradient(75.92deg, #EAF3FF -1.52%, #C7DFFF 108.84%);
    }

        .max-hours-section::after {
            background: url("//cdn.specialist.ru/Content/File/layouts/career-growth-capsule/img/star2.png") center center no-repeat;
            background-size: contain;
            width: 100px;
            height: 100px;
            top: auto;
            bottom: -10px;
            right: auto;
            left: 0;
        }

        .preference-item {
            flex-basis: 100%;
        }

        .preference-item:nth-child(2):after {
            display: none;
        }

            .preference-item:nth-child(1):after {
                display: block;
                content: "";
                position: absolute;
                top: -100px;
                right: -60px;
                width: 153px;
                height: 153px;
                background: url("//cdn.specialist.ru/Content/File/layouts/career-growth-capsule/img/star1.png") center center no-repeat;
                background-size: contain;
            }

    .max-hours-top{
        margin-bottom: 100px;
    }

}

@media (max-width: 650px) {
    .order-form-wrapper{
        grid-template-columns: 1fr;
    }

    .banner-container{
        flex-direction: column;
    }

    .banner-content{
        padding-bottom: 20px;
    }

    .banner-container::after {
        right: 0;
        align-self: center;
        width: 228px;
        height: 373px;
    }
    
}

@media (max-width: 500px) {
    
    .banner-header {
        font-size: 36px;
    }

    .banner-text, .banner-note {
        font-size: 13px;
    }

    .page-button {
        font-size: 14px;
        padding: 12px 18px;
    }

    .second-section-header {
        font-size: 16px;
    }

    .section-header {
        font-size: 28px;
    }

    .section-subheader {
        font-size: 14px;
    }

    .page-text p {
        font-size: 12px;
    }

    .courses-section {
        padding-top: 0;
    }

        .courses-section .page-text p {
            font-size: 14px;
        }

    .courses-block {
        gap: 10px;
    }

    .course-card {
        box-sizing: border-box;
        padding: 16px 16px 16px 32px;
    }

    .course-card-header {
        font-size: 12px;
        margin-bottom: 24px;
    }

    .courses-toggler {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        border: none;
        background: transparent;
    }

        .courses-toggler:after {
            display: block;
            content: "";
            background: url("//cdn.specialist.ru/Content/File/layouts/career-growth-capsule/img/arrow.png") center center no-repeat;
            width: 10px;
            height: 8px;
            background-size: contain;
        }

    .techs-list {
        box-sizing: border-box;
        height: 0;
        overflow: hidden;
    }

        .techs-list.active {
            height: auto;
            padding-top: 12px;
            overflow: visible;
        }

    .max-hours-top .page-text p {
        font-size: 14px;
    }

    .preference-item p {
        font-size: 12px;
    }

    .achieves-list{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 24px;
    }

    .achieve-item {
        width: auto;
       font-size: 10px;
    }

    .achieve-numder{
        margin-bottom: 0;
    }

    .order-form-wrapper{
        gap: 12px;
    }

    .bottom-form-wrapper .input-wrapper{
        margin-bottom: 12px;
    }

    .order-form-block-header {
        font-size: 14px;
    }

    .order-form-block .checkbox-wrapper label {
        font-size: 12px;
    }

    .agree-wrapper label{
        font-size: 13px;
    }
}


