@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Black.ttf');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-BlackItalic.ttf');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-BoldItalic.ttf');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Italic.ttf');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Light.ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-LightItalic.ttf');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Medium.ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-MediumItalic.ttf');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Thin.ttf');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-ThinItalic.ttf');
    font-weight: 100;
    font-style: italic;
}

*, button, input, select, textarea{
    font-family: Roboto, sans-serif;
    font-style: normal;
    line-height: 127%;
    /*font-weight: 400;*/
}
a{
    color: inherit;
}
h1, .h1{
    font-size: 57px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.25px;
    margin: 0;
}
h2, .h2{
    color: #383838;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin: 0;
}
.container{
    width: 100%;
    max-width: 1320px;
    padding: 0 12px;
    margin: 0 auto;
}
.header-container{
    display: flex;
    flex-direction: column;
}


.header-logo .logo{
    width: 362px;
}
.header-caption{
    margin-left: 21px;
    padding-left: 21px;
    border-left: 1px solid #353339;
    font-size: 22px;
    font-weight: 700;
}


/*Lang widget*/
.header-language .current-language{
    color: #353339;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.25px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;

    padding: 9px 8px 9px 16px;
    text-decoration: none;
}
.header-language.inner-list-wrapper .inner-list{
    width: 140px;
}
/*Lang widget*/
/*Header city Widget*/
.header-city{
    display: flex;
}
.header-city .link-dotted{
    color: #353339;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 9px 8px 9px 16px;
}

/*Header city Widget*/
/*Header number Widget*/
.header-phone .number{
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.1px;
}
.header-phone .align-middle-cell{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
/*Header number Widget*/
/*socials top-botom*/
.socials-top-contacts, .socials-bottom-contacts{
    padding: 12px 16px;
    border-radius: 30px;
    background: #F2F2F2;
}
.socials-bottom-contacts{
    flex-basis: 130px;
    margin-left: auto;
    padding: 12px 0;
}
.socials-top-contacts ul, .socials-bottom-contacts ul{
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}
.socials-bottom-contacts ul{
    gap: 8px;
}
.socials-top-contacts ul li, .socials-bottom-contacts ul li{
    list-style: none;
}
.socials-top-contacts ul li a img, .socials-bottom-contacts ul li a img{
    width: 38px;
}
/*socials top-botom*/

/*list inner*/
.inner-list-wrapper{
    position: relative;
}

.inner-list-wrapper .inner-list{
    position: absolute;
    left: -25px;
    bottom: 0;
    transform: translate(0, 100%);
    width: 200px;
    list-style: none;
    padding: 12px 0;
    border-radius: 20px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
    background: #EDEFF7;
    display: none;
    flex-direction: column;
    z-index: 120;
}

.inner-list-wrapper.active .inner-list{
    display: flex;
}
.inner-list-wrapper .inner-list li a{
    padding: 8px 12px;
    color: #1D1B20;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.25px;
    display: block;
}
.inner-list-wrapper .inner-list li a:hover{
    background: #DFE2F3;
}

/* Выделение нового курса AI */
.inner-list-wrapper .inner-list li.menu-item-new-course a {
    background: linear-gradient(135deg, rgba(248, 61, 180, 0.1) 0%, rgba(252, 127, 2, 0.1) 50%, rgba(150, 38, 213, 0.1) 100%);
    color: #f83db4;
    font-weight: 600;
    position: relative;
    border-left: 3px solid #f83db4;
}

.inner-list-wrapper .inner-list li.menu-item-new-course a:hover {
    background: linear-gradient(135deg, rgba(248, 61, 180, 0.15) 0%, rgba(252, 127, 2, 0.15) 50%, rgba(150, 38, 213, 0.15) 100%);
}

.menu-item-new-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f83db4 0%, #fc7f02 50%, #9626d5 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(248, 61, 180, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(248, 61, 180, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 2px 8px rgba(248, 61, 180, 0.5);
    }
}

/*list inner*/
.header-main-nav{
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 2px 12px;
    gap: 16px;
}
.header-main-nav li a{
    color: #353339;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.25px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.button{
    font-size: 14px;
    color: grey;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.1px;
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid grey;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button:hover, .button:focus{
    text-decoration: none;
    color: unset;
    opacity: .85;
}

.button-white-bordered{
    color: #0047FF;
    border-color: #0047FF;
    background: white;
}

.button-white-bordered:hover, .button-white-bordered:focus{
    color: #0047FF;
}

.button-white-transparent{
    color: white;
    border-color: white;
    background: transparent;
}

.button-white-bordered:hover, .button-white-bordered:focus{
    color: #0047FF;
}

.button-white{
    background: #FFF;
    color: #000;
    border-color: white;
}

.button-blue{
    color: #FFF;
    background: #0047FF;
    border-color: #0047FF;
}
.button-blue:hover{
    color: #FFF;
}
.buttons-container{
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 12px auto;
}
.menu-container{
    display: flex;
    align-items: center;
    margin: 12px 0;
    flex-shrink: 0;
}
footer{
    background: #EDEFF7;
}
footer .footer-wrapper {
    display: flex;
    flex-direction: column;
}
footer .footer-wrapper .footer-top{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 12px 0;
    flex-wrap: wrap;
}
footer .footer-wrapper .footer-top .footer-menu-links{
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-basis: 820px;
}
footer .footer-wrapper .footer-top .footer-menu-links li a{
    color: #353339;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.25px;
    padding: 10px 0;
}

footer .footer-caption-logo{
    width: 181px;
    margin-right: auto;
}
footer .footer-caption-logo img{
    max-width: 100%;
}
footer .footer-bottom{
    display: flex;
    padding: 12px 0;
    justify-content: space-between;
}
footer .footer-bottom .footer-documents-links a{
    color: #353339;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.25px;
    text-decoration-line: underline;
}
footer .open-feedback{
    margin-left: auto;
}

.breadcrumb{
    background: transparent;
    margin:0 auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px;
    flex-wrap: wrap;
}
.breadcrumb *{
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.25px;
}
.breadcrumb a{
    text-decoration: none;
}
.breadcrumb a span{
    color: #0047FF;
}

.header-wrapper {
    display: grid;
    grid-template-columns: repeat(5, auto); /* 5 столбцов с автоматической шириной */
    grid-template-rows: repeat(3, auto); /* 3 строки с автоматической высотой */
    grid-column-gap: 0;
    grid-row-gap: 0;
    margin-bottom: 12px;
    position: relative;
}

.header-wrapper .header-logo {
    display: flex;
    align-items: center;
    grid-area: 1 / 1 / 3 / 4; /* Занимает строки 1-2 и столбцы 1-3 */
}

.header-wrapper .subheader-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 0;
    grid-area: 1 / 4 / 2 / 6; /* Занимает строку 1 и столбцы 4-5 */
}

.header-wrapper .subheader-bottom {
    display: flex;
    padding: 12px 0;
    gap: 24px;
    justify-content: flex-end;
    align-items: center;
    grid-area: 2 / 4 / 3 / 6; /* Занимает строку 2 и столбцы 4-5 */
}

.header-wrapper .header-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-area: 3 / 1 / 4 / 6; /* Занимает строку 3 и столбцы 1-5 */
}

/* Основные стили для гамбургера */
.hamburger {
    display: none;
    flex-direction: column; /* Вертикальное расположение полосок */
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    width: 40px; /* Ширина гамбургера */
    height: 40px; /* Высота гамбургера */
    transition: transform 0.3s ease;
    padding: 10px;
    border-radius: 10px;
    background: #0047FF;
    margin-left: auto;
    margin-right: 12px;
    position: relative;
}

.hamburger span {
    display: block;
    height: 2px; /* Толщина полосок */
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Анимация при активном состоянии */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 6px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -6px;
}


@media (max-width: 1319px) {
    .container{
        max-width: 1200px;
    }
    footer .footer-wrapper .footer-top .footer-menu-links{
        flex-basis: 710px;
    }
}

@media (max-width: 1199px) {
    .container{
        max-width: 991px;
    }
    .buttons-container{
        margin-left: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .header-logo .logo{
        width: 270px;
    }

    footer .widgets_offline_apps ul li{
        width: 144px;
    }
    footer .footer-wrapper .footer-top .footer-menu-links{
        flex-basis: 580px;
    }
}

@media (max-width: 991px){
    .menu-container{
        flex-shrink: 1;
    }
    .container{
        max-width: 768px;
    }
    .header-caption{
        border: none;
        padding: 0;
        margin: 0;
    }
    .header-wrapper .header-logo{
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 12px;
    }

    footer .footer-wrapper .footer-top{
        flex-direction: column;
        align-items: center;
    }
    footer .footer-wrapper .footer-top .footer-menu-links{
        flex-basis: auto;
        width: 100%;
        max-width: 600px;
        order: 1;
    }
    .socials-bottom-contacts{
        flex-basis: auto;
        margin-left: 0;
        order: 4;
    }
    footer .open-feedback{
        margin-left: 0;
        order: 2;
        display: flex;
    }
    footer .footer-caption-logo{
        order: 3;
        margin: 24px 0 0 0;
    }
    footer .offline-apps-widgets{
        order: 5;
    }

    .header-wrapper .header-logo{
        grid-area: 2 / 1 / 3 / 3;
    }
    .header-wrapper .subheader-top{
        grid-area: 1 / 1 / 2 / 6;
    }
    .header-wrapper .subheader-bottom {
        grid-area: 2 / 3 / 3 / 6;
    }
    .header-main-nav{
        flex-wrap: wrap;
    }
}

@media (max-width: 767px){
    .container{
        max-width: 360px;
    }
    .socials-top-contacts ul li a img, .socials-bottom-contacts ul li a img{
        width: 28px;
    }
    .socials-top-contacts, .socials-bottom-contacts{
        padding: 8px;
    }
    .socials-top-contacts ul, .socials-bottom-contacts ul{
        gap: 8px;
    }
    .header-wrapper .header-logo {
        gap: 2px;
    }
    .header-logo .logo{
        width: 140px;
    }
    .header-caption{
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px; /* 142.857% */
        letter-spacing: 0.1px;
    }
    .header-wrapper{
        grid-template-rows: repeat(2, auto);
    }

    .header-wrapper .header-logo{
        grid-area: 1 / 1 / 2 / 3;
        justify-content: center;
    }
    .header-wrapper .subheader-bottom {
        grid-area: 1 / 3 / 2 / 6;
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }
    .header-wrapper .subheader-top{
        grid-area: 2 / 1 / 3 / 6;
        border-top: 1px solid #EBEBEB;
        border-bottom: 1px solid #EBEBEB;
        justify-content: flex-start;
        padding: 12px;
    }
    .header-phone .align-middle-cell{
        align-items: flex-end;
    }
    .header-phone .number{
        color: #353339;
        text-align: right;
        font-size: 11px;
        font-style: normal;
        font-weight: 700;
        line-height: 16px; /* 145.455% */
    }
    .header-language .current-language{
        padding: 0;
    }
    .header-language.inner-list-wrapper .inner-list{
        bottom: -18px;
    }
    .hamburger {
        display: flex;
    }

    .header-wrapper .header-menu{
        position: absolute;
        grid-area: auto;
        bottom: 0;
        right: 0;
        transform: translate(0, 100%);
        width: 248px;
        background: #EDEFF7;
        z-index: 10000;
        flex-direction: column;
        border-radius: 20px;
        padding: 24px;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
        display: none;
    }
    .header-wrapper .header-menu.active{
        display: flex;
    }
    .header-main-nav{
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
        gap: 12px;
    }
    .buttons-container{
        margin: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
    }
    .header-wrapper .header-menu .button{
        font-size: 11px;
        font-style: normal;
        font-weight: 500;
        line-height: 16px; /* 145.455% */
        letter-spacing: 0.5px;
    }
    .menu-container{
        margin: 0;
    }
    .header-main-nav .inner-list-wrapper .inner-list{
        position: relative;
        width: auto;
        left: auto;
        bottom: auto;
        transform: none;
        padding: 12px 0 0 12px;
        border: none;
        box-shadow: none;
    }
    .header-main-nav .inner-list-wrapper .inner-list li a{
        padding: 8px 0;
    }
    
    /* Выделение нового курса AI на мобильных */
    .header-main-nav .inner-list-wrapper .inner-list li.menu-item-new-course a {
        border-left: 2px solid #f83db4;
        padding-left: 10px;
    }
    
    .menu-item-new-badge {
        font-size: 9px;
        padding: 1px 5px;
        margin-left: 4px;
    }
    h1, .h1{
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: 44px;
        display: block;
    }
    h2, .h2{
        font-size: 28px;
        font-weight: 700;
        line-height: 36px;
        text-align: center;
        display: block;
    }
    h3, .h3{
        display: block;
    }
    footer .footer-bottom{
        justify-content: flex-start;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    footer .footer-wrapper .footer-top .footer-menu-links{
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
    }
    .header-phone .align-middle-cell .time{
        font-size: 12px;
        text-align: right;
    }

}


.touch_seo{
    width:50px;
    height:50px;
    position:fixed;
    top:0;
    right:0;
    opacity: 0.3;
    z-index: 9999;
}
.touch_seo img{
    max-width:100%;
}
.touch_seo:hover{
    opacity: 1;
    cursor: pointer;
}
.popup_seo{
    width: 33%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 50px auto;
    left: 0;
    z-index: 999999;
    background: #07465fcf;
    display: flex;
    border-radius: 11px;
    flex-direction: column;
    box-shadow: inset 0px 0px 32px white, 1px 1px 40px white;
}
.popup_seo h3{
    color:white;
    text-align: center;
}

#addseoforthis{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}
#addseoforthis input{
    margin:0 10px 10px 10px;
    border-radius: 5px;
    width:80%;
}
#addseoforthis textarea{
    margin:0 10px 10px 10px;
    border-radius: 5px;
    width:80%;
}
#sendformseo{
    background: white;
    padding: 10px;
    border-radius: 2px;
    cursor: pointer;
}
#sendformseo:hover{
    box-shadow: 0px 0px 5px #ffffff;
}
#delseo{
    text-shadow: 1px 1px 1px #9b9b9b;
    color:white;
    background: #ff9191;
    padding: 2px 5px;
    border-radius: 2px;
    cursor: pointer;
    margin-top:15px;
}
#delseo:hover{
    box-shadow: 0px 0px 5px #ffffff;
}
#addseoforthis p{
    color:white;
    margin-bottom:0;
    font-weight:600;
}
.was_saved{
    display: none;
    width: 150px;
    height: 150px;
    background: white;
    position: fixed;
    right: 30px;
    top: 50%;
    padding: 15px;
    border: 1px solid #0ccd0c;
    border-radius: 14px;
    z-index: 999;
    box-shadow: 0px 0px 22px #17c917;
}
.was_saved img{
    max-width:100%;
}
#formdelseo{
    text-align:center;
    margin-top:10px;
}