/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

main {
    display: block
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: rgba(0, 0, 0, 0)
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -0.25em
}

sup {
    top: -0.5em
}

img {
    border-style: none
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: .35em .75em .625em;
    border: none
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details {
    display: block
}

summary {
    display: list-item
}

template {
    display: none
}

[hidden] {
    display: none
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-ExtraBold.eot");
    src: local("Gilroy ExtraBold"), local("Gilroy-ExtraBold"), url("../fonts/Gilroy-ExtraBold.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-ExtraBold.woff") format("woff"), url("../fonts/Gilroy-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Heavy.eot");
    src: local("Gilroy Heavy"), local("Gilroy-Heavy"), url("../fonts/Gilroy-Heavy.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Heavy.woff") format("woff"), url("../fonts/Gilroy-Heavy.ttf") format("truetype");
    font-weight: 900;
    font-style: normal
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-LightItalic.eot");
    src: local("Gilroy Light Italic"), local("Gilroy-LightItalic"), url("../fonts/Gilroy-LightItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-LightItalic.woff") format("woff"), url("../fonts/Gilroy-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-ThinItalic.eot");
    src: local("Gilroy Thin Italic"), local("Gilroy-ThinItalic"), url("../fonts/Gilroy-ThinItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-ThinItalic.woff") format("woff"), url("../fonts/Gilroy-ThinItalic.ttf") format("truetype");
    font-weight: 100;
    font-style: italic
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-BlackItalic.eot");
    src: local("Gilroy Black Italic"), local("Gilroy-BlackItalic"), url("../fonts/Gilroy-BlackItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-BlackItalic.woff") format("woff"), url("../fonts/Gilroy-BlackItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-BoldItalic.eot");
    src: local("Gilroy Bold Italic"), local("Gilroy-BoldItalic"), url("../fonts/Gilroy-BoldItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-BoldItalic.woff") format("woff"), url("../fonts/Gilroy-BoldItalic.ttf") format("truetype");
    font-weight: bold;
    font-style: italic
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-SemiBold.eot");
    src: local("Gilroy SemiBold"), local("Gilroy-SemiBold"), url("../fonts/Gilroy-SemiBold.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-SemiBold.woff") format("woff"), url("../fonts/Gilroy-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-UltraLightItalic.eot");
    src: local("Gilroy UltraLight Italic"), local("Gilroy-UltraLightItalic"), url("../fonts/Gilroy-UltraLightItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-UltraLightItalic.woff") format("woff"), url("../fonts/Gilroy-UltraLightItalic.ttf") format("truetype");
    font-weight: 200;
    font-style: italic
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-SemiBoldItalic.eot");
    src: local("Gilroy SemiBold Italic"), local("Gilroy-SemiBoldItalic"), url("../fonts/Gilroy-SemiBoldItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-SemiBoldItalic.woff") format("woff"), url("../fonts/Gilroy-SemiBoldItalic.ttf") format("truetype");
    font-weight: 600;
    font-style: italic
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Light.eot");
    src: local("Gilroy Light"), local("Gilroy-Light"), url("../fonts/Gilroy-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Light.woff") format("woff"), url("../fonts/Gilroy-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-MediumItalic.eot");
    src: local("Gilroy Medium Italic"), local("Gilroy-MediumItalic"), url("../fonts/Gilroy-MediumItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-MediumItalic.woff") format("woff"), url("../fonts/Gilroy-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-ExtraBoldItalic.eot");
    src: local("Gilroy ExtraBold Italic"), local("Gilroy-ExtraBoldItalic"), url("../fonts/Gilroy-ExtraBoldItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-ExtraBoldItalic.woff") format("woff"), url("../fonts/Gilroy-ExtraBoldItalic.ttf") format("truetype");
    font-weight: 800;
    font-style: italic
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Regular.eot");
    src: local("Gilroy Regular"), local("Gilroy-Regular"), url("../fonts/Gilroy-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Regular.woff") format("woff"), url("../fonts/Gilroy-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-HeavyItalic.eot");
    src: local("Gilroy Heavy Italic"), local("Gilroy-HeavyItalic"), url("../fonts/Gilroy-HeavyItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-HeavyItalic.woff") format("woff"), url("../fonts/Gilroy-HeavyItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Medium.eot");
    src: local("Gilroy Medium"), local("Gilroy-Medium"), url("../fonts/Gilroy-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Medium.woff") format("woff"), url("../fonts/Gilroy-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-RegularItalic.eot");
    src: local("Gilroy Regular Italic"), local("Gilroy-RegularItalic"), url("../fonts/Gilroy-RegularItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-RegularItalic.woff") format("woff"), url("../fonts/Gilroy-RegularItalic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-UltraLight.eot");
    src: local("Gilroy UltraLight"), local("Gilroy-UltraLight"), url("../fonts/Gilroy-UltraLight.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-UltraLight.woff") format("woff"), url("../fonts/Gilroy-UltraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Bold.eot");
    src: local("Gilroy Bold"), local("Gilroy-Bold"), url("../fonts/Gilroy-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Bold.woff") format("woff"), url("../fonts/Gilroy-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Thin.eot");
    src: local("Gilroy Thin"), local("Gilroy-Thin"), url("../fonts/Gilroy-Thin.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Thin.woff") format("woff"), url("../fonts/Gilroy-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Black.eot");
    src: local("Gilroy Black"), local("Gilroy-Black"), url("../fonts/Gilroy-Black.eot?#iefix") format("embedded-opentype"), url("../fonts/Gilroy-Black.woff") format("woff"), url("../fonts/Gilroy-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

a {
    text-decoration: none;
    display: inline-block
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px
}

body {
    font-family: "Gilroy", serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #4c4c4c;
    background: #f9f8fd;
    position: relative;
    padding-top: 80px
}

.block_title {
    font-style: normal;
    font-weight: 600;
    font-size: 41px;
    line-height: 46px;
    text-align: center;
    color: #22253b
}

.header {
    background: #f9f8fd;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100
}

@media(max-width: 767px) {
    .header {
        background-size: cover
    }
}

.header__top {
    padding: 15px 10px 15px
}

.header__top__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background: #fff;
    margin: 0 -15px;
    padding: 5px;
    border-radius: 20px;
    -webkit-box-shadow: 0 0 4px 0px #d3d3d3;
    box-shadow: 0 0 4px 0px #d3d3d3
}

@media(max-width: 1000px) {
    .header__top__inner {
        border-radius: 10px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }
}

.header__logo {
    max-width: 175px;
    margin: 5px
}

.header__logo img {
    height: auto;
    width: 100%
}

.first {
    position: relative;
    z-index: 10;
    top: -100px;
    margin-bottom: -100px;
    padding: 100px 0 0;
    background: #eaf2f5;
    /*background: url(../images/header_bg.svg) top right no-repeat #f9f8fd*/
}

.first__content {
    padding: 20px 0px 20px
}

@media(max-width: 767px) {
    .first__content {
        padding: 20px 0 0
    }
}

.first__content__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap
}

@media(max-width: 767px) {
    .first__content__inner {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
}

.first__content .first_text {
    padding: 20px 30px;
    width: 68%
}

.first__content .first_text.w100 {
    width: 100%
}

@media(max-width: 767px) {
    .first__content .first_text {
        padding: 5px 0 20px;
        width: 100%;
        text-align: center;
        max-width: 520px;
        margin: 0 auto
    }
}

.first__content .first_text .first_title {
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 50px;
    color: #22253b;
    margin: 10px 0 25px 0
}

@media(max-width: 1000px) {
    .first__content .first_text .first_title {
        font-size: 36px;
        line-height: 41px
    }
}

.first__content .first_text .first_text {
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    width: 335px;
    border-top: 1px solid #dedede;
    color: #22253b;
    padding: 20px 0 20px;
    margin: 25px 0 0
}

@media(max-width: 767px) {
    .first__content .first_text .first_text {
        margin: 25px auto 0;
        width: 100%;
        max-width: 520px
    }
}

.first__content .first_img {
    max-width: 390px
}

@media(max-width: 767px) {
    .first__content .first_img {
        padding: 10px 30px;
        width: 100%;
        max-width: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap
    }
}

.first__content .first_img img {
    width: 100%;
    height: auto;
    max-width: 310px;
    margin: 30px auto
}

@media(max-width: 1000px) {
    .menu {
        background: #fff;
        z-index: 3000;
        overflow: hidden;
        overflow-y: auto;
        -webkit-transition: left .4s ease 0s, opacity .4s ease 0s;
        -o-transition: left .4s ease 0s, opacity .4s ease 0s;
        transition: left .4s ease 0s, opacity .4s ease 0s;
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 490px;
        max-width: 100%
    }

    .menu.show {
        left: 0;
        -webkit-box-shadow: 3px 0 10px 0 rgba(0, 0, 0, .45);
        box-shadow: 3px 0 10px 0 rgba(0, 0, 0, .45)
    }
}

@media(max-width: 550px) {
    .menu {
        width: 90%
    }
}

.menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.menu ul li {
    display: inline-block
}

.menu ul li+li {
    padding-left: 10px
}

@media(max-width: 1000px) {
    .menu ul li+li {
        padding: 0 0 15px 0
    }

    .menu ul li+li.menu_item_inner {
        margin-top: 20px
    }
}

.menu ul li.m_logo {
    display: none
}

@media(max-width: 1000px) {
    .menu ul li.m_logo {
        display: block
    }

    .menu ul li.m_logo img {
        max-width: 160px;
        height: auto;
        margin: 0 0 30px
    }
}

@media(max-width: 1000px) {
    .menu ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        padding: 40px 0 0;
        height: auto
    }
}

.menu a {
    color: #323232;
    font-size: 14px;
    line-height: 29px;
    border: 1px solid rgba(0, 0, 0, 0);
    padding: 0px 16px;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}

@media(max-width: 1000px) {
    .menu a {
        font-size: 18px;
        line-height: 32px
    }
}

.menu a:hover {
    color: #f15525
}

.header__btn-menu {
    display: none;
    font-size: 28px
}

@media(max-width: 1000px) {
    .header__btn-menu {
        display: flex;
        align-items: center;
        margin: 0 10px;
        gap: 20px;
    }
}

.header__btn-menu .icon-bars {
    display: block;
    background: url(../images/menu_2.svg) center center no-repeat;
    width: 27px;
    height: 23px;
    cursor: pointer
}

#mobilemenu-overlay {
    display: none;
    background: #3a3f44;
    opacity: .7 !important;
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2999
}

.about {
    padding: 30px 0
}

@media(max-width: 767px) {
    .about {
        padding: 20px 0
    }
}

.about .about__title {
    font-style: normal;
    font-weight: 600;
    font-size: 41px;
    line-height: 46px;
    text-align: center;
    color: #22253b
}

@media(max-width: 767px) {
    .about .about__title {
        font-size: 31px;
        line-height: 36px
    }
}

.about .about__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #eaf2f5;
    border-radius: 48px;
    padding: 20px 20px 0
}

@media(max-width: 767px) {
    .about .about__inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        background: #eaf2f5;
        border-radius: 20px;
        padding: 10px 10px 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }
}

.about .about__inner .about_img {
    width: 40%;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

@media(max-width: 767px) {
    .about .about__inner .about_img {
        width: 100%
    }
}

.about .about__inner .about_img img {
    max-width: 400px;
    height: auto;
    width: 100%
}

.about .about__inner .about__text {
    padding: 10px 15px;
    width: 60%
}

@media(max-width: 767px) {
    .about .about__inner .about__text {
        width: 100%;
        padding: 10px 0
    }
}

.about .about__inner .about__text .tag_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.about .about__inner .about__text .tag_block div {
    border-radius: 44px;
    height: 44px;
    text-align: center;
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    line-height: 44px;
    padding: 0 19px;
    background: #af93ff;
    color: #fff;
    white-space: nowrap;
    margin: 0 5px 10px
}

@media(max-width: 767px) {
    .about .about__inner .about__text .tag_block div {
        font-size: 12px;
        line-height: 36px;
        height: 36px;
        padding: 0 15px;
        margin: 0px 5px 5px 0
    }
}

.about .about__inner .about__text .tag_block div.item_1 {
    background: #5096ff
}

.about .about__inner .about__text .tag_block div.item_2 {
    background: #ffb359
}

.about .about__inner .about__text .tag_block div.item_3 {
    background: #ff6f50
}

.about .about__inner .about__text .tag_block div.item_4 {
    background: #4bd071
}

.about .about__inner .about__text .tag_block div.item_5 {
    background: #50c0ff
}

.about .about__inner .about__text .tag_block div.item_6 {
    background: #4b77b9
}

.about .about__inner .about__text .tag_block div.item_7 {
    background: #af93ff
}

.about .about__inner .about__text p {
    font-size: 14px
}

.about .about__inner .about__text ul {
    padding: 10px 0;
    margin: 0 0 0 20px
}

.about .about__inner .about__text ul li {
    list-style: disc;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 16px
}

.contentbox {
    padding: 30px 0
}

.contentbox .contentbox__title {
    font-style: normal;
    font-weight: 600;
    font-size: 34px;
    line-height: 40px;
    text-align: center;
    color: #22253b;
    margin: 5px 0 25px
}

@media(max-width: 767px) {
    .contentbox .contentbox__title {
        font-size: 31px;
        line-height: 36px
    }
}

.contentbox .contentbox__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #eaf2f5;
    border-radius: 20px;
    padding: 20px 20px
}

.contentbox .contentbox__inner .contentbox__text {
    padding: 10px 15px;
    width: 100%
}

.contentbox .contentbox__inner .contentbox__text ul {
    padding: 10px 0;
    margin: 0 0 0 20px
}

.contentbox .contentbox__inner .contentbox__text ul li {
    list-style: disc;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 16px
}

.programs {
    padding: 30px 0
}

.programs__title {
    font-size: 32px;
    line-height: 42px;
    max-width: 785px;
    margin: 0px auto
}

@media(max-width: 767px) {
    .programs__title {
        font-size: 21px;
        line-height: 31px
    }
}

.programs__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 30px 0
}

@media(max-width: 767px) {
    .programs__items {
        -ms-flex-pack: distribute;
        justify-content: space-around
    }
}

.programs__items .item {
    width: 260px;
    background: #eaf2f5;
    border-radius: 30px;
    margin: 0 11px 22px;
    text-align: center;
    padding: 7px 14px
}

@media(max-width: 767px) {
    .programs__items .item {
        width: 48%;
        margin: 0 0 22px
    }
}

@media(max-width: 450px) {
    .programs__items .item {
        width: 300px;
        margin: 0 0 20px
    }
}

.programs__items .item .item_img {
    margin: 20px auto 18px;
    height: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.programs__items .item .item_img img {
    max-width: 58px;
    height: auto
}

.programs__items .item .item_title {
    font-weight: 600;
    font-size: 15px;
    line-height: 16px;
    color: #22253b;
    margin: 0 0 11px
}

.programs__items .item .item_text {
    font-weight: 300;
    font-size: 13px;
    line-height: 16px;
    margin: 0px 0 15px
}

.video {
    /*background: url(../images/block_bg.svg) top center no-repeat #f9f8fd;*/
    background: #eaf2f5;
    background-size: cover;
    padding: 30px 0
}

.video__title {
    font-size: 34px;
    line-height: 41px;
    max-width: 785px;
    margin: 26px auto 0
}

@media(max-width: 767px) {
    .video__title {
        font-size: 31px;
        line-height: 36px
    }
}

.video__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    max-width: 700px;
    margin: 35px auto;
    text-align: center
}

.video__link {
    max-width: 763px;
    margin: 0 auto;
    background: url(../images/mackboock.png) center center no-repeat;
    height: 443px;
    position: relative;
    padding: 28px 94px 55px
}

@media(max-width: 767px) {
    .video__link {
        background-size: contain;
        height: 310px;
        padding: 18px 10px 20px
    }
}

.video__link__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    position: relative;
    cursor: pointer
}

.video__link__inner iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0
}

@media(max-width: 767px) {
    .video__link__inner {
        font-size: 17px;
        height: 100%;
        max-width: 400px;
        width: 100%;
        margin: 0 auto
    }
}

.video__link__inner i {
    background: url(../images/video_btn.svg) center center no-repeat;
    width: 122px;
    height: 122px;
    margin: 0 0 14px
}

@media(max-width: 767px) {
    .video__link__inner i {
        width: 65px;
        height: 65px;
        background-size: cover
    }
}

.video__items {
    background: #fff;
    -webkit-box-shadow: 0px 81px 120px -77px rgba(34, 37, 59, .04);
    box-shadow: 0px 81px 120px -77px rgba(34, 37, 59, .04);
    border-radius: 40px;
    margin: 30px 0
}

@media(max-width: 1000px) {
    .video__items {
        border-radius: 20px
    }
}

.video__items .video__items-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    padding: 42px 0px
}

@media(max-width: 767px) {
    .video__items .video__items-inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 0 20px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
}

.video__items .video__items-inner .video_item {
    text-align: left;
    width: 366px;
    padding: 0 25px
}

.video__items .video__items-inner .video_item:last-child {
    border: none
}

@media(max-width: 1000px) {
    .video__items .video__items-inner .video_item {
        width: 33%
    }
}

@media(max-width: 767px) {
    .video__items .video__items-inner .video_item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eaf2f5;
        padding: 20px 0 20px 60px;
        position: relative
    }

    .video__items .video__items-inner .video_item:last-child {
        border: none
    }
}

@media(max-width: 450px) {
    .video__items .video__items-inner .video_item {
        padding: 20px 0 20px 50px
    }
}

.video__items .video__items-inner .video_item .num {
    font-weight: 700;
    font-size: 77px;
    line-height: 77px;
    color: #38bff2
}

@media(max-width: 767px) {
    .video__items .video__items-inner .video_item .num {
        position: absolute;
        left: 0px;
        top: 20px;
        font-size: 40px;
        line-height: 40px
    }
}

@media(max-width: 450px) {
    .video__items .video__items-inner .video_item .num {
        font-size: 35px;
        line-height: 35px
    }
}

.video__items .video__items-inner .video_item .title {
    font-weight: 600;
    font-size: 17px;
    line-height: 22px;
    color: #22253b;
    margin: 10px 0 10px
}

@media(max-width: 767px) {
    .video__items .video__items-inner .video_item .title {
        margin: 0px 0 7px;
        font-size: 18px;
        line-height: 19px
    }
}

.video__items .video__items-inner .video_item .text {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #22253b
}

.blocks {
    background: #fff;
    padding: 30px 0
}

.blocks .blocks__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.blocks .blocks__content .item_block {
    padding: 20px 40px;
    background: #eaf2f5;
    border-radius: 40px;
    margin: 0 0 30px
}

@media(max-width: 1170px) {
    .blocks .blocks__content .item_block {
        margin: 0 0 15px
    }
}

@media(max-width: 1000px) {
    .blocks .blocks__content .item_block {
        padding: 20px 20px;
        border-radius: 20px
    }
}

@media(max-width: 767px) {
    .blocks .blocks__content .item_block {
        margin: 0 0 10px;
        padding: 15px 20px;
        border-radius: 20px
    }
}

.blocks .blocks__content .item_block.item_block_img {
    width: 380px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

@media(max-width: 1170px) {
    .blocks .blocks__content .item_block.item_block_img {
        width: 29%
    }
}

@media(max-width: 767px) {
    .blocks .blocks__content .item_block.item_block_img {
        width: 100%
    }
}

.blocks .blocks__content .item_block.item_block_text {
    width: 730px
}

@media(max-width: 1170px) {
    .blocks .blocks__content .item_block.item_block_text {
        width: 69%
    }
}

@media(max-width: 767px) {
    .blocks .blocks__content .item_block.item_block_text {
        width: 100%
    }
}

.blocks .blocks__content .item_block img {
    max-width: 310px;
    width: 100%;
    height: auto;
    min-width: 85px
}

.blocks .blocks__content .item_block .title {
    font-weight: 600;
    font-size: 20px;
    line-height: 23px;
    color: #22253b;
    margin: 10px 0 15px
}

.blocks .blocks__content .item_block p {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #22253b
}

.blocks .blocks__content .item_block.item-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%
}

@media(max-width: 767px) {
    .blocks .blocks__content .item_block.item-flex {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
}

.blocks .blocks__content .item_block.item-flex .img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

@media(max-width: 767px) {
    .blocks .blocks__content .item_block.item-flex .img {
        width: 20%
    }
}

.blocks .blocks__content .item_block.item-flex .text {
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    padding: 0 30px
}

@media(max-width: 767px) {
    .blocks .blocks__content .item_block.item-flex .text {
        width: 80%
    }
}

@media(max-width: 767px) {
    .blocks .blocks__content .item_block.item-flex .btn_box {
        width: 100%;
        margin: 25px 0 11px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }
}

.container_btn_test {
    width: 538px;
    border-radius: 110px;
    background: #fff;
    margin: 30px auto;
    padding: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

@media(max-width: 767px) {
    .container_btn_test {
        width: 100%;
        max-width: 320px;
        border-radius: 38px;
        margin: 10px auto;
        padding: 15px;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center
    }
}

.container_btn_test p {
    width: 225px;
    font-weight: 600;
    font-size: 15px;
    line-height: 18px
}

.container_btn_test .btn.btn-test {
    width: 249px
}

.first_btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

@media(max-width: 767px) {
    .first_btn {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
}

.btn {
    position: relative;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}

.btn.btn-inner {
    background: #38bff2;
    border-radius: 50px;
    color: #fff;
    padding: 0 22px 0 32px
}

.btn.btn-inner:after {
    position: absolute;
    content: "";
    background: url(../images/arrow_btn_inner.svg) 0 0 no-repeat;
    left: 14px;
    top: 50%;
    margin-top: -5px;
    height: 10px;
    width: 10px
}

.btn.btn-inner:hover {
    background: #f15525;
    color: #fff
}

.btn.btn-test {
    color: #fff;
    width: 265px;
    height: 60px;
    font-weight: 400;
    font-size: 16px;
    line-height: 60px;
    background: #f15525;
    border-radius: 82px;
    text-align: center;
    display: block;
    margin: 0 20px 0 0
}

@media(max-width: 1170px) {
    .btn.btn-test {
        width: 260px;
        font-size: 14px;
        margin: 0 auto 20px
    }
}

@media(max-width: 767px) {
    .btn.btn-test {
        width: 260px;
        font-size: 14px;
        margin: 0 auto 20px
    }
}

.btn.btn-test i {
    display: inline-block;
    background: url(../images/arrow_btn_test.svg) center center no-repeat;
    width: 16px;
    height: 16px;
    position: relative;
    left: 13px;
    top: 3px
}

.btn.btn-test:hover {
    background: #38bff2
}

.btn.btn-registration {
    color: #fff;
    width: 265px;
    height: 60px;
    font-weight: 400;
    font-size: 16px;
    line-height: 60px;
    background: #4b77b9;
    border-radius: 82px;
    text-align: center;
    display: block
}

@media(max-width: 1170px) {
    .btn.btn-registration {
        width: 260px;
        font-size: 14px;
        margin: 0 auto 20px
    }
}

@media(max-width: 767px) {
    .btn.btn-registration {
        margin: 0 auto 0;
        width: 260px;
        font-size: 14px;
        margin: 0 auto 20px
    }
}

.btn.btn-registration i {
    display: inline-block;
    background: url(../images/arrow_btn_test.svg) center center no-repeat;
    width: 16px;
    height: 16px;
    position: relative;
    left: 13px;
    top: 3px
}

.btn.btn-registration:hover {
    background: #ffb359
}

.btn.btn-submit {
    background: #38bff2;
    border-radius: 50px;
    color: #fff;
    padding: 15px 50px 15px 50px;
    border: none;
    cursor: pointer
}

.btn.btn-submit:after {
    position: absolute;
    content: "";
    background: url(../images/arrow_btn_inner.svg) 0 0 no-repeat;
    left: 30px;
    top: 50%;
    margin-top: -5px;
    height: 10px;
    width: 10px
}

.btn.btn-submit:hover {
    background: #f15525;
    color: #fff
}

.footer {
    padding-top: 31px
}

.footer__top {
    display: grid;
    grid-template-columns: 50% 25% 25%;
    padding-bottom: 45px
}

.footer__bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    font-size: 16px;
    line-height: 23px;
    padding-top: 28px;
    padding-bottom: 32px;
    color: #8e8e8e;
    border-top: 1px solid #d8d8d8
}

.footer__bottom a {
    color: #8e8e8e;
    -webkit-transition: color .3s;
    -o-transition: color .3s;
    transition: color .3s
}

.footer__bottom a:last-of-type {
    margin-left: 66px
}

.footer__bottom a:focus,
.footer__bottom a:hover {
    color: #000;
    -webkit-transition: color .3s;
    -o-transition: color .3s;
    transition: color .3s
}

.footer__col--second {
    justify-self: end;
    margin-right: 42px
}

.footer__col--three {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    justify-self: end;
    padding-right: 5px
}

.footer-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 30px;
    -webkit-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.footer-logo img {
    max-width: 175px
}

.footer-logo p {
    margin: 0;
    padding-top: 18px;
    font-size: 14px;
    line-height: 18px;
    color: #7a7474
}

.footer-logo:focus,
.footer-logo:hover {
    opacity: .7;
    -webkit-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s
}

.footer-social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    grid-column-gap: 16px;
    -moz-column-gap: 16px;
    -webkit-column-gap: 16px;
    column-gap: 16px;
    padding-left: 4px
}

.footer-social__link {
    font-size: 1.4em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #d5d5d5;
    border-radius: 50%;
    color: #fff;
    -webkit-transition: background-color .2s;
    -o-transition: background-color .2s;
    transition: background-color .2s;
    padding: 6px
}

.footer-social__link:focus,
.footer-social__link:hover {
    background-color: #f15525;
    -webkit-transition: background-color .2s;
    -o-transition: background-color .2s;
    transition: background-color .2s
}

.footer-contacts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start
}

.footer-contacts__mail,
.footer-contacts__phone {
    font-size: 16px;
    line-height: 23px
}

.footer-contacts__mail {
    -webkit-transition: color .3s;
    -o-transition: color .3s;
    transition: color .3s;
    color: #22253b
}

.footer-contacts__mail:focus,
.footer-contacts__mail:hover {
    color: #f15525;
    -webkit-transition: color .3s;
    -o-transition: color .3s;
    transition: color .3s
}

.footer-contacts__phone {
    position: relative;
    color: #38bff2
}

.footer-contacts__phone:after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #38bff2;
    -webkit-transition: width .3s, left .3s;
    -o-transition: width .3s, left .3s;
    transition: width .3s, left .3s
}

.footer-contacts__phone:focus:after,
.footer-contacts__phone:hover:after {
    left: 0;
    width: 100%;
    -webkit-transition: width .3s, left .3s;
    -o-transition: width .3s, left .3s;
    transition: width .3s, left .3s
}

.footer-info {
    margin: 0;
    font-size: 13px;
    line-height: 23px;
    color: #8e8e8e
}

.footer-nav {
    margin: 0;
    padding: 0;
    list-style: none
}

.footer-nav__item:not(:last-of-type) {
    margin-bottom: 15px
}

.footer-nav__link {
    font-size: 13px;
    color: #22253b;
    -webkit-transition: color .2s;
    -o-transition: color .2s;
    transition: color .2s
}

.footer-nav__link.isDisabled {
    pointer-events: none
}

.footer-nav__link:focus,
.footer-nav__link:hover {
    color: #f15525;
    -webkit-transition: color .2s;
    -o-transition: color .2s;
    transition: color .2s
}

.footer-copy {
    margin: 0 auto 0 0
}

@media only screen and (max-width: 992px) {
    .footer {
        padding-top: 10px
    }

    .footer__top {
        display: block;
        padding-bottom: 30px
    }

    .footer__bottom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
        flex-flow: column nowrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding-bottom: 21px;
        text-align: center;
        font-size: 12px;
        line-height: 23px
    }

    .footer__bottom a {
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
        margin-bottom: 5px;
        color: #f15525
    }

    .footer__bottom a:last-of-type {
        margin-left: 0;
        margin-bottom: 0
    }

    .footer__col--second {
        width: 100%;
        margin: 0
    }

    .footer__col--three {
        padding-right: 0;
        text-align: center
    }

    .footer-logo {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        max-width: 300px;
        margin: 25px auto 30px;
        text-align: center;
        background: #fefeff;
        padding: 10px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    .footer-social {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding-left: 0
    }

    .footer-nav {
        margin-top: 38px;
        text-align: center
    }

    .footer-contacts {
        margin-top: 40px;
        margin-bottom: 35px;
        text-align: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    .footer-copy {
        margin: 0 0 13px
    }
}

.form-outline {
    margin: 0 0 15px
}

.form-outline input[type=text],
.form-outline input[type=email],
.form-outline input[type=password] {
    border: none;
    font-size: 14px;
    border-bottom: 1px solid #a1ddff;
    padding: 13px 14px 13px 14px;
    width: 100%;
    color: #757575;
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    background-color: #f9f8fd
}

.form-outline input[type=text]:focus,
.form-outline input[type=text]:focus-visible,
.form-outline input[type=email]:focus,
.form-outline input[type=email]:focus-visible,
.form-outline input[type=password]:focus,
.form-outline input[type=password]:focus-visible {
    border-color: #50c0ff;
    color: #757575;
    outline: none
}

.form-outline textarea {
    border: none;
    font-size: 14px;
    border-bottom: 1px solid #a1ddff;
    padding: 13px 14px 13px 14px;
    width: 100%;
    height: 100px;
    color: #757575;
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    background-color: #f9f8fd
}

.form-outline textarea:focus,
.form-outline textarea:focus-visible {
    border-color: #50c0ff;
    color: #757575;
    outline: none
}

.registration {

    background: #eaf2f5;
    /*background: url(../images/header_bg.svg) top right no-repeat #f9f8fd*/
    padding: 30px 0 40px;
    background-size: cover;
    font-family: "Gilroy", serif
}

@media(max-width: 767px) {
    .registration {
        background: #eaf2f5;
        /*background: url(../images/header_bg.svg) top right no-repeat #f9f8fd*/
        padding: 30px 0 40px;
        background-size: cover
    }
}

.registration__title {
    margin: 0px auto 30px;
    font-size: 32px;
    line-height: 42px
}

@media(max-width: 767px) {
    .registration__title {
        margin: 0px auto 5px;
        font-size: 30px;
        line-height: 30px
    }
}

.registration__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

@media(max-width: 767px) {
    .registration__inner {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
}

.registration__desc_block {
    width: 60%;
    padding: 30px
}

.registration__desc_block p {
    color: #5e5e5e;
    font-weight: 400;
    font-size: 15px
}

.registration__desc_block a {
    color: #f15525;
    text-decoration: underline
}

.registration__desc_block a:hover {
    text-decoration: none
}

@media(max-width: 767px) {
    .registration__desc_block {
        width: 100%;
        padding: 15px;
        max-width: 464px;
        margin: 0 auto
    }
}

.registration__form_block {
    width: 40%;
    background: #fff;
    border-radius: 40px;
    padding: 30px 20px
}

.registration__form_block .registration_form {
    background: none;
    max-width: 500px;
    margin: 0 auto
}

@media(max-width: 767px) {
    .registration__form_block {
        width: 100%;
        padding: 35px 20px;
        max-width: 400px;
        margin: 0 auto
    }
}

.login {
    background: #fff;
    padding: 30px 0 40px
}

.login__title {
    margin: 0px auto 30px;
    font-size: 28px;
    line-height: 34px;
    max-width: 500px
}

.login__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.login__desc_block {
    width: 60%;
    padding: 30px
}

.login__desc_block a {
    color: #f15525;
    text-decoration: underline
}

.login__desc_block a:hover {
    text-decoration: none
}

.login__form_block {
    width: 40%;
    background: #eaf2f5;
    border-radius: 14px;
    padding: 30px 20px;
    margin: 0 auto
}

.login__form_block .error,
.error {
    background: #ecdfe2;
    padding: 5px 10px;
    border: 1px solid #efbdc0;
    color: #f55b64;
}

.login__form_block .login_form {
    max-width: 500px;
    margin: 0 auto
}

.login__form_block .login_form .form-outline {
    margin: 0 0 15px
}

.login__form_block .login_form .form-outline input[type=text],
.login__form_block .login_form .form-outline input[type=email],
.login__form_block .login_form .form-outline input[type=password] {
    background-color: #fff
}

.demotest {
    padding: 20px 0
}

.exams {
    padding: 15px 0 0
}

.exams .title_exams {
    font-size: 36px;
    line-height: 45px
}

.exams .item {
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #444;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    line-height: 20px
}

.exams .item:hover {
    background: #e1dede
}

.exams h3 {
    font-size: 18px;
    margin: 0
}

.exams .item .name {
    width: 70%
}

.exams .item .count {
    width: 15%;
    text-align: center
}

.exams .item .relevance {
    width: 15%;
    text-align: center
}

#writetous {
    opacity: 0;
    color: #000
}

.writetous {
    position: relative;
    z-index: 1000
}

.writetous_title {
    font-weight: 500;
    font-size: 18px;
    color: #000
}

.writetous_btn {
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 15px;
    left: initial
}

.writetous_icon,
.writetous_icon_close {
    position: absolute;
    bottom: 0;
    height: 60px;
    width: 60px;
    right: 0;
    left: 0;
    margin: auto;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
    display: flex;
    justify-content: center;
    align-items: center
}

.writetous_btn_active .writetous_icon,
.writetous_icon_close {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scale(0.1);
    transform: scale(0.1)
}

.writetous_btn_active .writetous_icon_close {
    opacity: 1;
    visibility: visible;
    -webkit-transform: rotate(0) scale(1);
    transform: rotate(0) scale(1)
}

.writetous_btn_active .writetous_btn_wrapper {
    background: #fff
}

.writetous_popup {
    display: none;
    opacity: 0;
    -webkit-transition: opacity ease-in-out .2s;
    transition: opacity ease-in-out .2s
}

.writetous_popup_show {
    opacity: 1
}

.writetous_btn-img,
.writetous_image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 50%
}

.writetous_messenger-descr {
    padding-top: 8px;
    font-size: 12px;
    opacity: .8;
    color: #000
}

.writetous_messenger img {
    max-width: 100%;
    height: auto
}

.writetous_mobile-icon-close {
    vertical-align: middle;
    cursor: pointer;
    padding: 15px
}

.writetous_popup-container {
    margin: 0;
    top: initial;
    left: initial;
    bottom: 56px;
    right: 0;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 20px 0 rgb(0 0 0/40%);
    background: rgb(255 255 255/90%);
    position: fixed;
    z-index: 1;
    cursor: default;
    max-width: 300px
}

.writetous_wrapper {
    padding: 0;
    border-radius: 0;
    max-height: 67vh;
    text-align: center
}

.writetous_text-wrapper {
    padding-bottom: 0;
    display: none
}

.writetous_messenger-block {
    margin: 19px 8px;
    display: block
}

.writetous_messenger {
    display: block;
    height: 35px;
    width: 35px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 50%
}

.writetous_messenger-descr {
    display: none
}

.writetous_btn {
    cursor: pointer;
    position: fixed;
    bottom: 5px;
    right: 5px;
    left: initial
}

.writetous_btn_wrapper {
    position: relative;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #ff8c01;
    box-shadow: 0 0 20px 0 rgb(0 0 0/30%);
    -webkit-transition: all .2s linear;
    transition: all .2s linear
}

.writetous_btn_active .writetous_btn_wrapper {
    background: #fff
}

.writetous_icon,
.writetous_icon_close {
    position: absolute;
    bottom: 0;
    height: 40px;
    width: 40px;
    right: 0;
    left: 0;
    margin: auto;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
    display: flex;
    justify-content: center;
    align-items: center
}

.writetous_btn_active .writetous_icon,
.writetous_icon_close {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scale(0.1);
    transform: scale(0.1)
}

.writetous_popup-container {
    bottom: 140px
}

.writetous_btn {
    bottom: 90px
}

@media(max-width: 767px) {
    .writetous_popup-container {
        bottom: 66px
    }

    .writetous_btn {
        bottom: 15px
    }

    .pano>.in {
        margin: 0;
        height: auto;
        width: 100%
    }

    .pano img {
        max-width: 100%;
        height: auto
    }

    .button.gray {
        padding: 7px 15px
    }

    .button.red {
        padding: 7px 15px
    }

    .catalog .items>.item {
        width: 32%
    }
}



@media(max-width: 767px) {

    .login__form_block {
        width: 100%;
        background: #eaf2f5;
        border-radius: 20px;
        padding: 20px 10px;
        margin: 0 auto;
        max-width: 320px;
    }

}


.rutube-video {
    position: relative;
    padding-bottom: 56.25%;
    /* задаёт высоту контейнера для 16:9 (если 4:3 — поставьте 75%) */
    height: 0;
    overflow: hidden;
}

.rutube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-width: 0;
    outline-width: 0;
}

.login__instruction {
    background-color: #f0f8ff;
    border: 1px solid #a1ddff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
    max-width: 500px;
    color: #333;
    font-size: 14px;
}

.login__instruction h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #22253b;
}

.login__instruction p {
    margin: 10px 0 5px 0;
}

.login__instruction ul {
    margin: 0 0 10px 20px;
}

.centered-block {
    max-width: 500px;
    margin: 25px auto;
    /* Центрирование блока по горизонтали, отступ сверху */
    background-color: #f0f8ff;
    border: 1px solid #a1ddff;
    border-radius: 8px;
    padding: 20px;
    color: #333;
    font-size: 14px;
    text-align: left;
}

.centered-block h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #22253b;
    text-align: center;
    /* Заголовок по центру */
    font-weight: bold;
}

.centered-block details summary {
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    font-size: 15px;
    outline: none;
}

.centered-block details[open] summary {
    color: #0a74da;
    /* Цвет синий при раскрытии */
}

.centered-block details ul {
    margin: 5px 0 15px 20px;
    padding-left: 0;
}

.centered-block details p {
    font-weight: bold;
    margin-top: 15px;
}

.centered-block details summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    outline: none;
    padding: 5px 0;
    color: #0a74da;
}

.centered-block details[open] summary {
    color: #004a8f;
}

.centered-block details ul {
    margin: 5px 0 15px 20px;
    padding-left: 0;
}

.centered-block details p {
    font-weight: bold;
    margin-top: 10px;
}

/* Стили для плашки партнерства */
.partnership-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 30px auto 40px;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.partnership-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(-45deg);
    pointer-events: none;
}

.partnership-banner__content {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.partnership-banner__icon {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.partnership-banner__text {
    flex: 1;
    color: white;
}

.partnership-banner__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.partnership-banner__description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    opacity: 0.95;
}

.partnership-banner__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.partnership-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.partnership-banner__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.partnership-banner__cta:hover::before {
    left: 100%;
}

.partnership-banner__cta:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .partnership-banner {
        padding: 20px;
        margin: 20px auto 30px;
    }

    .partnership-banner__content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .partnership-banner__title {
        font-size: 20px;
    }

    .partnership-banner__description {
        font-size: 16px;
    }

    .partnership-banner__features {
        justify-content: center;
    }

    .feature-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}


.attestation-page .contentbox__title {
    text-align: left;
    font-size: 2rem;
    margin: 30px 0 5px;
    color: #2c3e50;
    line-height: 1.2;
}

.attestation-page .intro-text {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

/* Поиск */
.search-container {
    width: 100%;
    margin: 0 auto 40px auto;
    position: sticky;
    top: 80px;
    z-index: 50;
    background: white;
    padding: 10px 0;
    border-radius: 12px;
    padding: 20px 0;
    background: #f9f8fd;
}

.search-container .search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-container #courseSearch {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-container .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

#searchResults {
    display: none;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#searchResults .search-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* Аккордеон */
.courses-accordion {
    max-width: 1200px;
    margin: 0 auto;
}

.accordion-group {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.accordion-header {
    background: linear-gradient(135deg, #2c3e50, #4a6572);
    color: white;
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .3s ease;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #34495e, #5a7d8d);
}

.accordion-header h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.accordion-header .group-note {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    display: inline-block;
}

.accordion-toggle {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: #fafbfc;
}

/* Таблица курсов (десктоп) */
.desktop-courses {
    display: none;
}

/* Скрыто по-умолчанию, JS покажет */
.table-container {
    overflow-x: auto;
}

.courses-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.courses-table thead tr {
    background: #f8f9fa;
}

.courses-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #e9ecef;
}

.courses-table td {
    padding: 15px;
    vertical-align: top;
}


.courses-table .course-in_cart td {
    background-color: #e9f5fc;
}

.courses-table .course-row {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.courses-table .course-row:hover {
    background-color: #f8f9fa;
}

.courses-table .course-code a,
.courses-table .course-area a {
    color: #38bff2;
    text-decoration: none;
    font-weight: 500;
}

.courses-table .course-area a {
    font-weight: 600;
}

.courses-table .course-name a {
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

.courses-table .course-questions {
    text-align: center;
    color: #666;
}

.courses-table .course-relevance {
    text-align: center;
}

.courses-table .course-relevance span {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.courses-table .course-actions {
    text-align: center;
}

.courses-table .course-actions-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.courses-table .add-to-cart-form {
    display: inline;
}

.courses-table .add-to-cart-form button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.courses-table .add-to-cart-form button:hover {
    background-color: #f0f9ff;
}

.courses-table .add-to-cart-form button svg {
    stroke: #e9ecef;
    transition: stroke .3s ease;
}

.courses-table .add-to-cart-form button:hover svg {
    stroke: #fff;
}

.courses-table .course-price {
    font-size: 0.875rem;
    color: #28a745;
    font-weight: 600;
    text-align: center;
}

.courses-table .course-price-note {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

/* Карточки курсов (мобильные) */
.mobile-courses {
    display: none;
}

/* Скрыто по-умолчанию, JS покажет */
.course-card {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.course-card:hover {
    background-color: #f8f9fa;
}

.course-card:last-child {
    border-bottom: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.card-header .course-area a {
    color: #38bff2;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 5px;
}

.card-header .course-code {
    color: #666;
    font-size: 0.875rem;
}

.card-header .card-meta {
    text-align: right;
}

.card-header .course-relevance span {
    display: inline-block;
    margin-bottom: 8px;
}

.card-header .card-price-cart {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.card-body .course-name a {
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 12px;
    font-size: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.875rem;
}

/* Контакты */
.contact-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 40px;
}

.contact-section h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-section .footer-contacts {
    margin-bottom: 20px;
}

.contact-section .footer-contacts__phone {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 10px;
}

.contact-section .footer-contacts__mail {
    color: #666;
    font-size: 1rem;
}

.contact-section .footer-info {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.5;
}


/* Стили для поиска */
#courseSearch:focus {
    outline: none;
    border-color: #38bff2;
    box-shadow: 0 0 0 3px rgba(56, 191, 242, 0.1);
}

/* Стили для аккордеона */
.accordion-header:hover {
    background: linear-gradient(135deg, #2c3e50, #3a5169) !important;
}

.accordion-content {
    background: #fafbfc;
}

/* Стили для таблицы и карточек */
.courses-table tr:hover {
    background-color: #f8f9fa;
}

.add-to-cart-form button:hover {
    background-color: #0077a4;
}

.add-to-cart-form button:hover svg {
    stroke: #2aa7e0;
}

.course-card:hover {
    background-color: #f8f9fa;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #38bff2;
    border-radius: 100%;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Анимация подсветки найденного элемента */
@keyframes highlight {
    0% {
        background-color: #fff9e6;
    }

    50% {
        background-color: #fff9e6;
    }

    100% {
        background-color: transparent;
    }
}

.highlight-found {
    animation: highlight 3s ease-in-out;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .block_title {
        font-size: 1.75rem !important;
    }

    .intro-text {
        font-size: 1rem !important;
        padding: 0 15px;
    }

    .search-container {
        margin: 0 0 30px 0 !important;
        top: 95px;
        padding: 5px 15px;
    }

    .courses-accordion {
        margin: 0 15px;
    }

    .accordion-group {
        margin-bottom: 15px !important;
    }

    .accordion-header {
        padding: 20px !important;
    }

    .accordion-header h3 {
        font-size: 18px;
    }

    .contact-section {
        margin: 0 15px;
        padding: 25px 20px !important;
    }
}

/* Десктопные стили */
@media (min-width: 769px) {
    .courses-accordion {
        margin: 0 20px;
    }

    .contact-section {
        max-width: 600px;
        margin: 40px auto 0 auto;
    }
}


.cart-page .cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 15px;
    margin-top: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 35px 15px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
    gap: 12px;
    position: relative;
}

.item-info {
    flex: 1;
}

.item-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.1;
}

.item-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

.item-duration {
    color: #666;
    font-size: 0.9rem;
}

.item-price {
    text-align: right;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 25px;
}

.item-price .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #38bff2;
    margin-bottom: 10px;
    white-space: nowrap;
}

.btn-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    color: #dc3545;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: 600;
    opacity: 0.7;
    padding: 4px;
}

.btn-remove:hover {
    background: #dc3546e7;
    color: white;
    opacity: 1;
    transform: scale(1.1);
}

.btn-remove:active {
    transform: scale(0.95);
}

.empty-cart {
    text-align: center;
    padding: 10px 20px;
}

.empty-cart p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-primary {
    background: #38bff2;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
}

.summary-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    position: sticky;
    top: 20px;
}

.summary-card h3 {
    margin-bottom: 20px;
    color: #333;
}

.total-price,
.total-items {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.total-price .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #38bff2;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background 0.3s;
}

.btn-checkout:hover {
    background: #218838;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #38bff2;
    text-decoration: none;
}

.continue-shopping:hover {
    text-decoration: underline;
}

/* Стили для информации о последнем заказе */
.last-order-info {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0px 0 25px;
}

.success-order-info {
    text-align: left;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.order-details {
    margin-bottom: 20px;
}

.order-details p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.order-courses h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.order-courses ul {
    list-style: none;
    padding: 0;
}

.order-courses li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
}

.order-courses li:last-child {
    border-bottom: none;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.success-actions {
    margin-top: 30px;
}

.btn-continue {
    background: #38bff2;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s;
}

.btn-continue:hover {
    background: #2aa8d6;
    color: white;
    text-decoration: none;
}

/* Остальные стили формы остаются без изменений */
.form-order {
    margin-top: 50px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 40px;
}

.form-section__title {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.form-section__icon {
    background: #38bff2;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1rem;
}

.form-section:nth-child(2) .form-section__icon {
    background: #6f42c1;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-label.required::after {
    content: " *";
    color: #dc3545;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #38bff2;
}

.form-hint {
    color: #666;
    font-size: 0.875rem;
    margin-top: 5px;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.agreement-label {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
}

.agreement-checkbox {
    margin-right: 10px;
    margin-top: 2px;
}

.agreement-text {
    color: #333;
    font-size: 0.875rem;
    line-height: 1.4;
}

.agreement-link {
    color: #38bff2;
    text-decoration: none;
    font-weight: 500;
}

.agreement-link:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-submit {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-add-more {
    background: none;
    border: 2px solid #38bff2;
    color: #38bff2;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-more:hover {
    background: #38bff2;
    color: white;
}

.contact-alternatives {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.contact-alternatives__title {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.875rem;
}

.contact-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    color: #333;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background 0.3s;
}

.contact-link:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .cart-page .cart-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .btn-checkout {
        display: none;
    }
}

@media (max-width: 768px) {
    .cart-page .cart-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .summary-card {
        background: #f8f9fa;
        padding: 0 10px;
        border-radius: 8px;
    }



    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 35px 10px 10px;
    }

    .item-title {
        margin: 0 0 10px 0;
        color: #333;
        font-size: 1.0rem;
        font-weight: 600;
    }

    .item-price {
        text-align: left;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .last-order-info {
        padding: 20px;
    }

    .success-title {
        font-size: 1.5rem;
    }
}

/* === Стили для выбора количества месяцев в корзине === */
.item-duration {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 0px 0;
    flex-direction: column;
}

.duration-label {
    font-weight: 500;
    color: #666;
}

.months-selector {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-minus,
.btn-plus {
    width: 32px;
    height: 32px;
    border: 1px solid #e9ecef;
    background: white;
    color: #38bff2;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-minus:hover,
.btn-plus:hover {
    background: #38bff2;
    color: white;
    border-color: #38bff2;
}

.btn-minus:active,
.btn-plus:active {
    transform: scale(0.95);
}

.months-input {
    width: 60px;
    height: 32px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    padding: 0 8px;
    -moz-appearance: textfield;
}

.months-input::-webkit-inner-spin-button,
.months-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.months-input:focus {
    outline: none;
    border-color: #38bff2;
    box-shadow: 0 0 0 2px rgba(56, 191, 242, 0.1);
}

.duration-text {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .item-duration {
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        display: flex;
    }

    .duration-label {
        width: 100%;
    }

    .months-selector {
        margin: 4px 0;
    }

    .btn-minus,
    .btn-plus {
        width: 26px;
        height: 26px;
    }

    .months-input {
        width: 55px;
        height: 26px;
    }

    .btn-remove {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }
}



@media (max-width: 400px) {
    .item-duration {
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        display: flex;
    }
}

/* === Мобильные стили для формы оформления заказа === */
@media (max-width: 768px) {
    .form-order {
        margin-top: 30px;
        padding: 20px;
    }

    .form-section {
        margin-bottom: 25px;
    }

    .form-section__title {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-input,
    .form-textarea {
        font-size: 16px;
        /* Предотвращает зум на iOS */
    }

    .agreement-label {
        padding: 12px;
    }

    .agreement-text {
        font-size: 0.8rem;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .contact-alternatives {
        margin-top: 20px;
        padding-top: 15px;
    }

    .contact-alternatives__title {
        font-size: 0.8rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 8px;
    }

    .contact-link {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .form-order {
        padding: 15px;
        margin-top: 20px;
    }

    .form-section__title {
        font-size: 1.1rem;
    }
}


.active>a {
    color: #FF5F00;
    font-weight: bold;
    border-bottom: 2px solid #FF5F00;
}

.cart-menu a {
    position: relative;
    padding-right: 3px;
}

.cart-icon-wrap {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.cart-icon {
    margin-left: 2px;
    vertical-align: middle;
    transition: fill 0.2s;
}

.cart-menu a:hover .cart-icon {
    fill: #ff3100;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #FF5F00;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    line-height: 1;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 1px 5px rgba(255, 95, 0, 0.11);
    z-index: 1;
    pointer-events: none;
}

/* Мобильная корзина */
.cart-mobile-btn {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 10px;
    padding: 5px;
}

.cart-icon-mobile {
    transition: fill 0.2s;
}

.cart-mobile-btn:hover .cart-icon-mobile {
    fill: #ff3100;
}

.cart-count-mobile {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #FF5F00;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 5px;
    line-height: 1;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 1px 5px rgba(255, 95, 0, 0.3);
    z-index: 1;
}

/* Десктоп: скрываем мобильную корзину */
@media (min-width: 1001px) {
    .cart-mobile-btn {
        display: none !important;
    }
}