@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap');

body {
    font-family: Rubik;
    font-size: 18px;
    color: #191b22;
    background: #f2f6fa
}

* {
    box-sizing: border-box
}

button:focus,
input:focus {
    outline: 0
}

button {
    cursor: pointer;
    max-width: 100%
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
    margin: 0;
    padding: 0
}

ul {
    list-style: none
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%
}

h2 {
    font-weight: 700;
    font-size: 42px;
    line-height: 48px;
    text-align: center;
    letter-spacing: .0045em
}

.header {
    background: url(../img/first.png) no-repeat center center;
    background-size: cover;
    color: #fff
}

.header .cap__bottom {
    top: -100px;
    padding: 20px 0 19px 0;
    background: rgba(255, 255, 255, .1);
    transition: all .3s ease
}

.header .cap__bottom .logo {
    display: none
}

.header .cap__bottom .cap__order {
    display: none
}

.header.fixed .first {
    padding-top: 181px
}

.header.fixed .cap__bottom {
    position: fixed;
    top: 0;
    z-index: 11;
    width: 100%;
    background: rgba(0, 0, 0, .85)
}

.header.fixed .cap__bottom .logo {
    display: block
}

.header.fixed .cap__bottom .cap__order {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0
}

.header.fixed .menu {
    max-width: 826px
}

.cap__types {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 13px;
    letter-spacing: .09em;
    text-transform: uppercase
}

.cap__brands {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.cap__brands img {
    margin-left: 13px
}

.select__gap {
    position: relative;
    display: inline-block;
    font-size: 13px;
    letter-spacing: .09em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease
}

.select__gap.on {
    color: #979797
}

.select__gap.on:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    background-image: url(../img/arrow_up2.svg)
}

.select__gap:hover {
    color: #979797
}

.select__gap:hover:after {
    background-image: url(../img/arrow_up2.svg)
}

.select__gap:after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    bottom: 0;
    display: block;
    width: 10px;
    height: 10px;
    margin: auto;
    background: url(../img/arrow_up.svg) no-repeat;
    background-size: contain;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: all .3s ease
}

.select__list {
    position: absolute;
    top: 43px;
    right: 88px;
    width: 210px;
    margin: auto;
    background: #fff;
    border-radius: 3px;
    color: #191b22;
    font-size: 13px;
    line-height: 53px;
    text-transform: uppercase;
    text-align: center
}

.select__list li {
    cursor: pointer;
    transition: all .3s ease
}

.select__list li:hover {
    background: #f2f6fa
}

.select {
    position: relative
}

.cap__phone {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .0045em;
    transition: all .3s ease
}

.cap__phone:hover {
    color: #979797
}

.cap__consultation__text {
    font-size: 13px
}

.cap__consultation_wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.cap__order {
    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;
    width: 35px;
    height: 35px;
    margin-left: 38px;
    background: #4e8bf2;
    border-radius: 50%;
    transition: height 250ms linear, width 250ms linear, padding-top 250ms linear, border-radius 250ms linear, margin 250ms linear, opacity 250ms linear, background .3s;
    cursor: pointer
}

.cap__order:hover {
    background: #4070c2;
    box-shadow: 0 0 0 -3px rgba(255, 255, 255, 0), 0 0 0 0 #f56072
}

@keyframes pulse {
    from {
        box-shadow: 0 0 0 -3px rgba(255, 255, 255, 0), 0 0 0 0 #4e8bf2
    }

    to {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0), 0 0 0 18px rgba(255, 128, 64, 0)
    }

}

@-webkit-keyframes pulse {
    0% {
        box-shadow: 0 0 0 -3px rgba(255, 255, 255, 0), 0 0 0 0 #4e8bf2
    }

    100% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0), 0 0 0 18px rgba(255, 128, 64, 0)
    }

}

.pulsate {
    box-shadow: 0 0 0 -3px rgba(255, 255, 255, 0), 0 0 0 0 #4e8bf2;
    -webkit-animation: pulse 1.5s ease-out 1s infinite forwards;
    animation: pulse 1.5s ease-out 1s infinite forwards
}

.cap__top {
    padding: 31px 0 38px 0
}

.menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase
}

.menu li {
    transition: all .3s ease
}

.menu li:hover {
    color: #979797
}

.cap__bottom_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.first__title {
    font-weight: 700;
    font-size: 56px;
    line-height: 58px;
    letter-spacing: .0045em
}

.first__label {
    margin-top: 11px;
    font-size: 22px;
    line-height: 33px
}

.second__label{
    margin-top: 11px;
    font-size: 17px;
    opacity: 0.8;
}

@media (max-width: 767px){
    .second__label{
        font-size: 14px;
    }
}

.first__bonuses_title {
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    letter-spacing: .01em
}

.first__bonuses_title strong {
    color: #4e8bf2
}

.first__bonuses__list {
    margin-top: 16px;
    font-size: 15px;
    line-height: 37px;
    letter-spacing: .09em;
    text-transform: uppercase
}

.first__bonuses__list li {
    position: relative;
    padding-left: 33px
}

.first__bonuses__list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    display: block;
    width: 20px;
    height: 20px;
    background: url(../img/present.svg) no-repeat;
    background-size: contain
}

.first__bonuses {
    margin-top: 58px
}

.first {
    padding-top: 120px
}

.button {
    width: 350px;
    height: 70px;
    font-weight: 700;
    font-size: 22px;
    line-height: 33px;
    letter-spacing: .01em;
    color: #fff;
    background: #4e8bf2;
    border-radius: 6px;
    border: none;
    transition: all .3s ease
}

.button:hover {
    background-color: #4070c2
}

a.button {
    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
}

.first__button {
    width: 447px;
    padding-left: 40px;
    background-image: url(../img/calculator.svg);
    background-position: 71px center;
    background-repeat: no-repeat
}

.first__merits_text {
    margin-top: 15px;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: .0045em
}

.first__merits__item {
    text-align: center
}

.first__merits {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.first__bottom {
    margin-top: 25px;
    margin-bottom: 96px
}

.first__mouse {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #333
}

.quiz {
    padding: 116px 0 120px 0
}

.quiz__title strong {
    color: #4e8bf2
}

.quiz__label {
    margin-top: 10px;
    margin-bottom: 69px;
    font-size: 22px;
    line-height: 33px;
    text-align: center;
    letter-spacing: .01em
}

.quiz__box {
    position: relative;
    width: 100%;
    min-height: 615px;
    padding: 125px 95px 30px 95px;
    background: #fff;
    box-shadow: 0 4px 26px rgba(14, 47, 78, .05);
    border-radius: 16px
}

.quiz__wrapper {
    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;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.radio input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 10px 0 0 7px
}

.radio__text {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 255px;
    height: 80px;
    font-size: 15px;
    letter-spacing: .09em;
    text-transform: uppercase;
    background: #f2f6fa;
    border-radius: 3px;
    cursor: pointer;
    transition: all .3s ease;
    border: 4px solid transparent
}

.radio__text:hover {
    background: #cbfbba
}

.radio input:checked+.radio__text {
    background: #cbfbba;
    border: 4px solid #a1ef85
}

.checkbox input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 10px 0 0 20px
}

.checkbox {
    margin-bottom: 0
}

.quiz__item {
    margin-bottom: 30px
}

.checkbox__text {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 445px;
    height: 80px;
    font-size: 15px;
    letter-spacing: .09em;
    text-transform: uppercase;
    background: #f2f6fa;
    border-radius: 3px;
    cursor: pointer;
    transition: all .3s ease;
    border: 4px solid transparent
}

.checkbox__text:hover {
    background: #cbfbba
}

.checkbox__img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    margin: auto
}

.checkbox input:checked+.checkbox__text {
    background: #cbfbba;
    border: 4px solid #a1ef85
}

.quiz__num {
    font-size: 15px;
    line-height: 37px;
    letter-spacing: .09em;
    text-transform: uppercase
}

.quiz__num span {
    color: #4e8bf2
}

.quiz__caption {
    margin-top: 10px;
    margin-bottom: 35px;
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    letter-spacing: .01em
}

.quiz__progres {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65px;
    height: 5px;
    background: #4e8bf2
}

.quiz__progres:after {
    content: '1%';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -15px;
    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;
    margin: auto;
    width: 40px;
    height: 40px;
    font-size: 13px;
    color: #fff;
    background: #4e8bf2;
    border-radius: 50%
}

.quiz__bonus {
    position: absolute;
    top: -12px;
    right: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 427px;
    height: 97px;
    padding-left: 60px;
    background: url(../img/bonus_bg.png) no-repeat;
    background-size: contain;
    color: #fff
}

.quiz__bonus_img {
    margin-right: 21px
}

.quiz__bonus_title {
    font-size: 18px;
    line-height: 29px;
    letter-spacing: .01em;
    font-weight: 700
}

.quiz__bonus_text {
    font-size: 13px;
    line-height: 19.5px;
    letter-spacing: .03em;
    text-transform: uppercase
}

.quiz__button {
    position: relative;
    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;
    width: 255px;
    height: 55px;
    padding: 0 30px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    letter-spacing: .0045em;
    background: #fff;
    border-radius: 3px;
    cursor: pointer
}

.quiz__button:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    display: block;
    margin: auto;
    width: 20px;
    height: 20px;
    background: url(../img/arrow_up3.svg) no-repeat;
    background-size: contain;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg)
}

.slide__next {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-left: auto;
    background: #60c63c;
    color: #fff
}

.slide__next:after {
    content: '';
    left: auto;
    right: 15px;
    background: url(../img/arrow_up4.svg) no-repeat;
    background-size: contain;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
}

.quiz__controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 38px
}

.quiz__slide {
    display: none
}

.quiz__slide--1 {
    display: block
}

.quiz__slide--2 .checkbox__text {
    width: 255px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding: 0 20px 0 59px
}

.quiz__slide--2 .checkbox__text--2 {
    width: 350px
}

.quiz__slide--2 .checkbox__text--3 {
    width: 444px
}

.quiz__slide--2 .quiz__progres {
    width: 419px
}

.quiz__slide--2 .quiz__progres:after {
    content: '25%'
}

.radio {
    margin: 0
}

.quiz__slide--3 .quiz__wrapper {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.quiz__slide--3 .quiz__item {
    margin-right: 30px
}

.quiz__slide--3 .quiz__progres {
    width: 635px
}

.quiz__slide--3 .quiz__progres:after {
    content: '50%'
}

.quiz__slide--4 .quiz__wrapper {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.quiz__slide--4 .quiz__item {
    margin-right: 30px
}

.quiz__slide--4 .quiz__progres {
    width: 825px
}

.quiz__slide--4 .quiz__progres:after {
    content: '75%'
}

.quiz__slide--5 .quiz__progres {
    width: 99%
}

.quiz__slide--5 .quiz__progres:after {
    content: '99%'
}

.quiz__slide--6 .quiz__progres {
    width: 100%;
    background: #60c63c
}

.quiz__slide--6 .quiz__progres:after {
    content: '';
    background: #60c63c url(../img/check.svg) no-repeat center;
    right: -4px
}

.quiz__slide--6 .quiz__box {
    padding-top: 93px
}

.radio__text--2 {
    width: 538px
}

.quiz__input {
    width: 445px;
    height: 80px;
    padding-left: 59px;
    border: 1px solid #bfd0e0;
    border-radius: 3px;
    transition: all .3s ease
}

.quiz__input:focus {
    border: 1px solid #60c63c
}

.quiz__label2 {
    font-size: 15px;
    line-height: 18px;
    letter-spacing: .0045em
}

.quiz__slide--5 .quiz__input2 {
    width: 445px
}

.quiz__submit {
    position: relative;
    width: 445px;
    height: 65px;
    padding-left: 63px;
    font-size: 15px;
    letter-spacing: .0045em;
    text-align: left;
    color: #fff;
    background: #60c63c;
    border-radius: 3px;
    border: none
}

.quiz__submit:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 60px;
    display: block;
    width: 25px;
    height: 25px;
    margin: auto;
    background: url(../img/checking.svg) no-repeat;
    background-size: contain
}

.quiz__group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.quiz__label2 {
    margin-bottom: 21px;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: .0045em
}

.quiz__consent {
    margin-top: 24px;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: .0045em;
    color: #bfd0e0
}

.quiz__caption--2 {
    margin-bottom: 19px;
    font-size: 42px;
    text-align: center
}

.quiz__sub-title {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: .01em;
    text-align: center
}

.quiz__price_lable {
    margin: 41px 0 13px 0;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: .0045em;
    text-align: center
}

.quiz__price_wrapper {
    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: 350px;
    height: 95px;
    padding: 0 38px 0 27px;
    margin: 0 auto;
    background: #f2f6fa;
    border-radius: 3px
}

.quiz__price_old {
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    letter-spacing: .01em;
    color: #bfd0e0;
    text-decoration: line-through
}

.quiz__price {
    width: 100%
}

.quiz__price_new {
    font-weight: 700;
    font-size: 42px;
    line-height: 48px
}

.bonuses__item {
    position: relative;
    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: 446px;
    height: 72px;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    color: #fff;
    letter-spacing: .0045em;
    background: #60c63c;
    border-radius: 13px
}

.bonuses__item:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    display: block;
    width: 25px;
    height: 25px;
    margin: auto;
    background: url(../img/checking.svg) no-repeat;
    background-size: contain
}

.bonuses__item img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    margin: auto
}

.bonuses__wrapper {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.bonuses {
    width: 100%;
    padding-top: 29px;
    margin-top: 55px;
    border-top: 1px solid #e3e3e3
}

.bonuses__caption {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 37px;
    letter-spacing: .09em;
    text-transform: uppercase
}

.services {
    background: #191b22;
    color: #fff;
    padding: 120px 0 90px 0
}

.services__item {
    padding: 15px;
    min-height: 80px;
    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;
    font-size: 22px;
    line-height: 29px;
    font-weight: 700;
    text-align: center;
    letter-spacing: .01em;
    border-right: 1px solid #515151;
    transition: all .3s ease
}

.services__more {
    display: none
}

.services__body {
    border-top: 1px solid #515151
}

.services__row {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid #515151;
    border-left: 1px solid #515151;
    transition: all .3s ease;
    cursor: pointer
}

.services__row>:nth-child(1) {
    width: 444px;
    padding-left: 50px;
    text-align: left;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.services__row>:nth-child(2) {
    width: 284px
}

.services__row>:nth-child(3) {
    width: 190px;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px
}

.services__row>:nth-child(4) {
    width: 190px;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px
}

.services__row:hover {
    background: #4e8bf2;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent
}

.services__row:hover .services__item {
    border-right: 1px solid transparent
}

.services__row:hover .services__order {
    opacity: 1
}

.services__head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.services__head .services__item {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 400;
    min-height: 69px;
    border: none
}

.services__head>:nth-child(1) {
    width: 444px;
    padding-left: 50px;
    text-align: left;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.services__head>:nth-child(2) {
    width: 284px
}

.services__head>:nth-child(3) {
    width: 190px
}

.services__head>:nth-child(4) {
    width: 190px
}

.services__order {
    position: absolute;
    right: 0;
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 380px;
    height: 100%;
    padding-left: 59px;
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    letter-spacing: .01em;
    background: #4e8bf2;
    opacity: 0;
    transition: all .3s ease
}

.services__order_right {
    font-size: 35px;
    margin-left: 85px
}

.services__button {
    margin: 80px auto 0 auto;
    display: block
}

.services__table {
    margin-top: 70px
}

.advantages {
    padding: 120px 0 49px 0;
    background: #191b22 url(../img/why.png) no-repeat center top;
    color: #fff
}

.advantages__name {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 68px;
    padding: 5px 0 5px 55px;
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    background: url(../img/checked.svg) no-repeat left center;
    background-size: 38px
}

.advantages__text {
    margin-top: 7px;
    font-size: 22px;
    line-height: 33px
}

.advantages__item {
    position: relative;
    width: 347px;
    max-width: 100%;
    margin-bottom: 64px
}

.advantages__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 131px
}

.advantages__box>:nth-child(odd) {
    margin-right: 226px
}

.advantages__box>:nth-child(odd) :after {
    content: '';
    position: absolute;
    right: -92px;
    top: 31px;
    display: block;
    height: 0;
    width: 65px;
    border: 1px dashed #fff
}

.master__img {
    position: relative
}

.master__raiting {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 94px;
    height: 52px;
    background: #fff;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    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
}

.master__raiting img {
    margin-right: 8px
}

.reviews__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.master__name {
    margin-top: 26px;
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    text-align: center
}

.master__experience {
    margin-bottom: 11px;
    font-size: 15px;
    line-height: 28px;
    text-align: center
}

.master__skills_item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 10px
}

.master__skills_line {
    position: relative;
    width: 160px;
    height: 4px;
    margin-top: 15px;
    background: #edf2f7;
    border-radius: 6px
}

.master__skills_line:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    height: 100%;
    background: #bfd0e0;
    border-radius: 6px
}

.master__skills_line--1:after {
    width: 95%
}

.master__skills_line--2:after {
    width: 12%
}

.master__skills_line--3:after {
    width: 40%
}

.master__skills_line--4:after {
    width: 32%
}

.master__skills_line--5:after {
    width: 40%
}

.master__skills_line--6:after {
    width: 90%
}

.master__skills_line--7:after {
    width: 10%
}

.master__skills_line--8:after {
    width: 56%
}

.master__skills_line--9:after {
    width: 38%
}

.master__skills_line--10:after {
    width: 61%
}

.master__skills_line--11:after {
    width: 18%
}

.master__skills_line--12:after {
    width: 83%
}

.master {
    background: #fff;
    padding: 40px 35px 35px 35px;
    text-align: center;
    box-shadow: 0 4px 26px rgba(14, 47, 78, .05)
}

.master__skills_name {
    font-size: 15px;
    line-height: 18px;
    letter-spacing: .0045em
}

.master__skills_num {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 24px;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: .0045em
}

.master__skills_wrapper {
    margin: 0 30px
}

.master__skills_img {
    margin-top: -5px;
    width: 21px
}

.master__button {
    width: 280px;
    margin-top: 36px
}

.master__skills {
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, .07);
    text-align: left
}

.swiper-container--2 {
    width: 540px;
    height: 730px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    list-style: none;
    padding: 0;
    z-index: 1
}

.swiper-container--3,
.swiper-container--4,
.swiper-container--5 {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    list-style: none;
    padding: 0;
    z-index: 1;
    overflow: hidden;
    width: 920px
}

.reviews__item {
    width: 540px;
    margin-bottom: 30px;
    padding: 41px 95px 37px 95px;
    background: #fff;
    border-radius: 3px
}

.swiper-container--2 .swiper-slide {
    height: auto
}

.reviews__name {
    font-size: 22px;
    line-height: 29px;
    font-weight: 700
}

.reviews__text {
    line-height: 28px
}

.reviews__stars {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 10px 0 15px 0
}

.reviews__stars img {
    margin-right: 10px
}

.reviews__more {
    margin-top: 21px;
    font-size: 15px;
    line-height: 28px;
    letter-spacing: .01em;
    -webkit-text-decoration-line: underline;
    -moz-text-decoration-line: underline;
    text-decoration-line: underline;
    color: #4e8bf2;
    cursor: pointer;
    transition: all .3s ease
}

.reviews__more:hover {
    color: #f56072;
    text-decoration: none
}

.reviews__right {
    margin: 0 0 0 30px;
    padding-top: 32px
}

.reviews__box {
    margin-left: 94px;
    background: rgba(191, 208, 224, .1)
}

.swiper-scrollbar-drag {
    height: 103px;
    width: 8px;
    background: #4e8bf2;
    border-radius: 6px
}

.swiper-container-vertical>.swiper-scrollbar {
    background: 0 0;
    right: -38px
}

.reviews {
    padding: 120px 0
}

.swiper-button-next,
.swiper-button-next2,
.swiper-button-prev,
.swiper-button-prev2 {
    width: 45px;
    height: 90px;
    background: #bfd0e0;
    border-radius: 10px;
    left: -61px;
    outline: 0
}

.swiper-button-next2:active,
.swiper-button-next2:focus,
.swiper-button-next:active,
.swiper-button-next:focus,
.swiper-button-prev2:active,
.swiper-button-prev2:focus,
.swiper-button-prev:active,
.swiper-button-prev:focus {
    outline: 0
}

.swiper-button-next,
.swiper-button-next2 {
    left: auto;
    right: -59px
}

.swiper-button-next2::after,
.swiper-button-next::after,
.swiper-button-prev2::after,
.swiper-button-prev::after {
    content: '';
    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;
    width: 19px;
    height: 19px;
    background: url(../img/arrow_up.svg) no-repeat center;
    background-size: contain;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg)
}

.swiper-button-next2::after,
.swiper-button-next::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
}

.reviews__slider {
    position: relative;
    margin-top: 76px
}

.promo {
    background: #fff;
    padding: 119px 0 103px 0
}

.promo__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 65px 79px 55px 95px;
    margin-top: 80px;
    background: #fff;
    box-shadow: 0 4px 50px rgba(0, 0, 0, .05);
    border-radius: 3px
}

.promo__name {
    font-weight: 700;
    font-size: 42px;
    line-height: 50px;
    letter-spacing: .0045em
}

.promo__text {
    margin: 16px 0 40px 0;
    line-height: 28px;
    letter-spacing: .01em
}

.promo__content {
    margin-left: 30px;
    margin-bottom: 15px
}

.promo__button {
    width: 540px;
    height: 95px;
    padding-left: 73px;
    background-image: url(../img/prize.png);
    background-position: 50px center;
    background-repeat: no-repeat;
    background-size: 40px 48px
}

.promo2 {
    background: #fff;
    padding: 119px 0 103px 0
}

.promo__box2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 65px 79px 55px 95px;
    margin-top: 80px;
    background: #191b22;
    box-shadow: 0 4px 50px rgba(0, 0, 0, .05);
    border-radius: 3px
}

.promo__name2 {
    font-weight: 700;
    font-size: 42px;
    line-height: 50px;
    letter-spacing: .0045em
}

.promo__text2 {
    margin: 16px 0 40px 0;
    line-height: 28px;
    letter-spacing: .01em
}

.promo__content2 {
    margin-left: 30px;
    margin-bottom: 15px
}

.promo__button2 {
    width: 540px;
    height: 95px;
    padding-left: 73px;
    background-image: url(../img/prize.png);
    background-position: 50px center;
    background-repeat: no-repeat;
    background-size: 40px 48px
}

.general-bg {
    background: url(../img/contacts.png) no-repeat center;
    background-size: cover;
    color: #fff
}

.order {
    padding: 50px 15px;
    margin-top: 120px;
    background: #fff;
    box-shadow: 0 4px 26px rgba(14, 47, 78, .05);
    border-radius: 30px;
    color: #191b22
}

.order2 {
    padding: 50px 15px;
    margin-top: 40px;
    background: #17181a;
    box-shadow: 0 4px 26px rgba(14, 47, 78, .05);
    border-radius: 30px;
    color: #fff
}

.order__title {
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    letter-spacing: .01em;
    text-align: center
}

.input {
    width: 255px;
    height: 65px;
    margin-right: 30px;
    padding-left: 30px;
    color: #191b22;
    background: #f2f6fa;
    border: none;
    border-radius: 3px;
    border: 4px solid transparent;
    transition: all .3s ease
}

.input:hover {
    border: 4px solid rgba(191, 208, 224, .3)
}

.input:focus {
    border: 4px solid rgba(191, 208, 224, .3)
}

.order__form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 50px
}

.order__button {
    height: 65px
}

.consent {
    margin-top: 35px;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: .0045em;
    text-align: center;
    color: #bfd0e0
}

.contacts {
    padding: 82px 0 120px 0
}

.contacts__box {
    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;
    margin-top: 50px
}

.contacts__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 49%;
    margin-top: 45px
}

.contacts__icon {
    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;
    width: 65px;
    height: 64px;
    background: #4e8bf2;
    border-radius: 50%
}

.contacts__text {
    margin-left: 30px;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: .01em
}

.footer__box {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, .13)
}

.policy {
    font-size: 15px;
    line-height: 28px;
    -webkit-text-decoration-line: underline;
    -moz-text-decoration-line: underline;
    text-decoration-line: underline
}

.footer__text {
    font-size: 15px;
    line-height: 28px;
    letter-spacing: .01em
}

.footer__top {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, .25) url(../img/arrow_up.svg) no-repeat center;
    border-radius: 50%;
    transition: all .3s ease
}

.footer__top:hover {
    background: #fff url(../img/arrow_up2.svg) no-repeat center
}

.swiper-pagination-fraction {
    position: static
}

.footer__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.modal-reviews .modal-dialog {
    max-width: 920px;
    background: 0 0
}

.modal-reviews .modal-content {
    background: 0 0;
    border: none
}

.modal-reviews .reviews__item {
    width: 100%;
    padding: 85px 190px 85px 116px;
    margin-bottom: 0
}

.modal-reviews .swiper-button-next2 {
    position: absolute;
    top: 313px;
    right: -158px;
    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;
    z-index: 9
}

.modal-reviews .swiper-button-prev2 {
    position: absolute;
    top: 313px;
    left: -154px;
    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;
    z-index: 9
}

.close span {
    position: absolute;
    right: -2px;
    right: -150px;
    display: block;
    width: 35px;
    height: 35px;
    background: url(../img/close.svg) no-repeat
}

.close {
    opacity: 1
}

.close:hover {
    opacity: 1
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    pointer-events: auto
}

.swiper-button-next2.swiper-button-disabled,
.swiper-button-prev2.swiper-button-disabled {
    pointer-events: auto;
    opacity: .5
}

.reviews__modal_head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 25px;
    background: rgba(191, 208, 224, .8);
    border-radius: 3px;
    color: #fff
}

.reviews__modal_img {
    max-width: 55px;
    margin-right: 20px
}

.reviews__modal_name {
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    letter-spacing: .01em;
    color: #fff
}

.reviews__modal_nums {
    margin-left: auto;
    font-weight: 700;
    font-size: 15px;
    line-height: 29px;
    letter-spacing: .01em
}

.reviews__modal_wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.reviews__modal_input {
    width: 445px;
    height: 65px;
    padding-left: 30px;
    background: #f2f6fa;
    border-radius: 3px;
    border: none;
    border: 4px solid transparent
}

.reviews__modal_input:hover {
    border: 4px solid rgba(191, 208, 224, .3)
}

.reviews__modal_input:focus {
    border: 4px solid rgba(191, 208, 224, .3)
}

.reviews__modal_button {
    width: 445px;
    height: 65px
}

.reviews__modal_order {
    margin-top: 47px
}

.reviews__modal_consent {
    margin-top: 24px;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: .0045em;
    color: #bfd0e0
}

.order__modal {
    width: 540px;
    padding: 76px 0 85px 0;
    background: #fff;
    border-radius: 5px
}

.order__modal_input {
    display: block;
    width: 350px;
    height: 65px;
    padding-left: 30px;
    margin: 0 auto 15px auto;
    background: #f2f6fa;
    border-radius: 3px;
    border: none
}

.order__modal_button {
    display: block;
    margin: 45px auto 25px auto
}

.order__modal_title {
    margin-bottom: 60px;
    font-weight: 700;
    font-size: 22px;
    line-height: 29px;
    letter-spacing: .01em;
    text-align: center
}

.order__modal_consent {
    font-size: 13px;
    line-height: 18px;
    letter-spacing: .0045em;
    text-align: center;
    color: #bfd0e0
}

.thank__modal_title {
    font-weight: 700;
    font-size: 42px;
    line-height: 48px;
    text-align: center;
    letter-spacing: .0045em
}

.thank__modal_text {
    margin: 25px 0 45px 0;
    font-size: 22px;
    line-height: 32px;
    letter-spacing: .01em;
    text-align: center
}

.thank__modal_button {
    width: 350px;
    height: 65px;
    display: block;
    margin: 0 auto
}

.mobile-menu {
    position: static;
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0;
    background-color: transparent;
    z-index: 9
}

.mobile-menu__btn {
    position: relative;
    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: 30px;
    cursor: pointer;
    transition: .4s;
    margin-bottom: 0;
    -webkit-transform: rotate(0);
    transform: rotate(0);
    z-index: 9999
}

.mobile-menu__icon {
    display: block;
    position: relative;
    background: #fff;
    width: 35px;
    height: 4px;
    transition: .4s;
    text-align: right
}

.mobile-menu__icon::after,
.mobile-menu__icon::before {
    content: "";
    display: block;
    position: absolute;
    background: #fff;
    width: 35px;
    height: 4px;
    transition: .4s
}

.mobile-menu__icon::after {
    top: 10px
}

.mobile-menu__icon::before {
    top: -10px
}

.mobile-menu__container {
    position: absolute;
    text-align: center;
    top: -16px;
    left: 0;
    right: 0;
    z-index: 999;
    height: 0;
    opacity: 1;
    transition: .5s;
    transition-delay: .2s;
    overflow: hidden;
    background-color: rgba(0, 0, 0, .95)
}

.mobile-menu__checkbox {
    display: none
}

.mobile-menu__checkbox:checked~.mobile-menu__nav {
    opacity: 1;
    transition-delay: 0s
}

.mobile-menu__checkbox:checked~.mobile-menu__container {
    height: 470px;
    padding: 40px 0 20px 0;
    transition-delay: 0s
}

.mobile-menu__checkbox:checked~.mobile-menu__btn .mobile-menu__icon {
    background: 0 0
}

.mobile-menu__checkbox:checked~.mobile-menu__btn .mobile-menu__icon::after,
.mobile-menu__checkbox:checked~.mobile-menu__btn .mobile-menu__icon::before {
    top: 0;
    background: #fff
}

.mobile-menu__checkbox:checked~.mobile-menu__btn .mobile-menu__icon::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg)
}

.mobile-menu__checkbox:checked~.mobile-menu__btn .mobile-menu__icon::before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg)
}

#exampleModal4 .modal-dialog {
    max-width: 540px
}

@media screen and (max-width:1199px) {
    .select__list {
        right: 0
    }

    .select__gap {
        font-size: 11px;
        line-height: normal
    }

    .header.fixed .menu {
        max-width: 670px
    }

    .quiz__box {
        padding-left: 15px;
        padding-right: 15px
    }

    .reviews__box {
        margin: 0
    }

    .swiper-container-vertical>.swiper-scrollbar {
        right: -7px
    }

    .promo__box {
        padding-left: 15px;
        padding-right: 15px
    }

    .promo__name {
        font-size: 37px
    }
	
	.promo__box2 {
        padding-left: 15px;
        padding-right: 15px
    }

    .promo__name2 {
        font-size: 37px
    }

    .contacts__text {
        font-size: 16px
    }

    .footer__text {
        font-size: 13px
    }

    .modal-reviews .swiper-button-next2 {
        right: 0
    }

    .modal-reviews .swiper-button-prev2 {
        left: 0
    }

    .close span {
        top: 20px;
        right: 20px;
        z-index: 9;
        background-color: rgba(0, 0, 0, .55);
        padding: 5px;
        width: 35px;
        height: 35px;
        border-radius: 6px;
        background-position: center center;
        background-size: 25px
    }

    .swiper-button-prev,
    .swiper-button-prev2 {
        left: -20px
    }

    .swiper-button-next,
    .swiper-button-next2 {
        right: -20px
    }

    .close span {
        top: 20px;
        right: 20px
    }

    .swiper__button_wrap--2 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-top: 20px
    }

    .swiper__button_wrap--2 .swiper-button {
        position: static
    }

    .reviews__modal_head {
        padding-right: 80px
    }

}

@media screen and (max-width:991px) {
    .cap__consultation {
        margin-top: 10px
    }

    .cap__types {
        margin-left: auto;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

    .city {
        margin-top: 10px
    }

    .menu {
        display: none
    }

    .cap__top {
        padding: 20px 0;
        display: none
    }

    .mobile-menu {
        display: block
    }

    .header .cap__bottom {
        position: fixed;
        top: 0;
        z-index: 11;
        width: 100%;
        background: rgba(0, 0, 0, .85)
    }

    .header .cap__bottom .logo {
        display: block
    }

    .header .cap__bottom .cap__bottom_box .cap__order--1 {
        display: none
    }

    .header .cap__bottom .cap__bottom_box .mobile-menu .cap__order {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-left: 0;
        margin-top: 20px
    }

    .cap__consultation {
        margin-left: 0;
        margin-top: 20px
    }

    .cap__consultation_wrapper {
        width: 290px;
        margin: 0 auto;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .menu--1 {
        font-size: 18px
    }

    .menu--1 li {
        margin-bottom: 10px
    }

    .select__gap {
        font-size: 15px
    }

    .select__list {
        left: 0
    }

    .first__title {
        font-size: 42px;
        line-height: 50px
    }

    .first__merits {
        margin-top: 40px
    }

    .first__bonuses {
        margin-top: 30px
    }

    .first {
        padding-top: 100px
    }

    .header.fixed .first {
        padding-top: 99px
    }

    .first__bottom {
        margin-bottom: 60px
    }

    .quiz__title {
        font-size: 32px
    }

    .quiz__item {
        width: 48%
    }

    .checkbox__text {
        width: 100%
    }

    .checkbox {
        width: 100%
    }

    .quiz__slide--2 .checkbox__text {
        width: 100%
    }

    .quiz__slide--1 .checkbox__text {
        padding-left: 40px;
        padding-right: 40px
    }

    .quiz__input {
        width: 100%
    }

    .quiz__slide--3 .quiz__item {
        margin-right: 0
    }

    .radio__text {
        width: 100%
    }

    .radio {
        width: 100%
    }

    .quiz__slide--3 .quiz__wrapper {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

    .quiz__slide--4 .quiz__item {
        margin-right: 0
    }

    .quiz__slide--4 .quiz__wrapper {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

    .quiz__slide--5 .quiz__item {
        width: 100%
    }

    .quiz__submit::after {
        right: 10px
    }

    .quiz__submit {
        padding-left: 10px
    }

    .bonuses__item {
        width: 320px;
        font-size: 13px
    }

    .bonuses__item img {
        left: 10px
    }

    .quiz__slide--2 .quiz__progres {
        width: 25%
    }

    .quiz__slide--3 .quiz__progres {
        width: 50%
    }

    .quiz__slide--4 .quiz__progres {
        width: 75%
    }

    .services__order {
        display: none
    }

    .quiz,
    .services {
        padding: 60px 0
    }

    h2 {
        font-size: 32px
    }

    .services__table {
        margin-top: 30px
    }

    .services__row>:nth-child(1) {
        padding: 15px
    }

    .services__item {
        font-size: 16px
    }

    .services__head .services__item {
        font-size: 11px
    }

    .advantages__box>:nth-child(2n+1) {
        margin-right: 0
    }

    .advantages__box {
        text-align: center
    }

    .advantages__name {
        display: inline-block;
        min-height: auto
    }

    .advantages__box>:nth-child(2n+1) ::after {
        display: none
    }

    .advantages__box {
        margin-top: 60px
    }

    .advantages {
        padding-top: 60px
    }

    .reviews__box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .swiper-container--2 {
        width: 100%;
        height: 419px;
        overflow: hidden
    }

    .reviews__left {
        max-width: 350px;
        margin-left: auto;
        margin-right: auto
    }

    .reviews__right {
        max-width: 350px;
        margin-left: auto;
        margin-right: auto
    }

    .reviews__item {
        width: 100%;
        padding: 30px 15px
    }

    .reviews__box {
        background: 0 0
    }

    .swiper-container-vertical>.swiper-scrollbar {
        right: 8px
    }

    .reviews__slider {
        margin-top: 30px
    }

    .reviews {
        padding: 60px 0
    }

    .promo__box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center
    }

    .promo__box {
        margin-top: 40px
    }

    .promo {
        padding: 60px 0
    }
	
	.promo__box2 {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center
    }

    .promo__box2 {
        margin-top: 40px
    }

    .promo2 {
        padding: 60px 0
    }

    .order__form {
        -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
    }

    .input {
        width: 350px;
        margin: 0 0 20px 0
    }

    .order__title {
        font-size: 18px
    }

    .order {
        margin: 40px auto 0 auto;
        max-width: 380px
    }

    .contacts__item {
        width: 378px
    }

    .contacts__box {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-top: 20px
    }

    .contacts__icon {
        min-width: 45px;
        width: 45px;
        height: 45px
    }

    .contacts__icon img {
        width: 30px
    }

    .contacts__text {
        font-size: 15px;
        margin-left: 15px
    }

    .footer__text {
        margin-top: 20px
    }

    .footer__top {
        margin-top: 20px
    }

    .policy {
        display: block;
        text-align: right
    }

    .modal-reviews .reviews__item {
        padding: 30px 15px
    }

    .swiper-container--3,
    .swiper-container--4,
    .swiper-container--5 {
        max-width: 100%
    }

    .modal-reviews .modal-dialog {
        max-width: 720px
    }

    .reviews__modal_button,
    .reviews__modal_input {
        width: 48%
    }

}

@media screen and (max-width:767px) {
    .container {
        max-width: 320px
    }

    .first__title {
        font-size: 26px;
        line-height: 35px
    }

    body {
        font-size: 16px
    }

    h2 {
        font-size: 22px
    }

    .first__label {
        font-size: 15px
    }

    .first__bonuses_title {
        font-size: 20px
    }

    .first__bonuses__list {
        font-size: 10px
    }

    .button {
        width: 100%;
        height: 50px
    }

    .first__button {
        padding-left: 30px;
        font-size: 18px;
        background-position: 20px center
    }

    .first__merits_text {
        font-size: 10px;
        line-height: 14px
    }

    .first__merits__icon {
        max-height: 32px
    }

    .first__mouse {
        padding: 20px 0
    }

    .quiz__title {
        font-size: 29px;
        line-height: 36px
    }

    .quiz__label {
        font-size: 18px;
        line-height: 24px
    }

    .quiz__item {
        width: 100%;
        margin-bottom: 15px
    }

    .checkbox__text,
    .radio__text {
        height: 60px;
        font-size: 12px
    }

    .checkbox__img {
        left: 5px;
        max-width: 40px;
        max-height: 30px
    }

    .quiz__slide--2 .checkbox__text {
        padding: 0 10px 0 40px
    }

    .quiz__caption {
        font-size: 18px
    }

    .quiz__input {
        height: 60px;
        width: 100%
    }

    .quiz__group {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .quiz__slide--5 .quiz__input2 {
        width: 100%
    }

    .quiz__submit::after {
        display: none
    }

    .quiz__submit {
        font-size: 14px
    }

    .quiz__label2 {
        font-size: 12px
    }

    .quiz__consent {
        font-size: 10px
    }

    .quiz__slide {
        text-align: center
    }

    .quiz__caption--2 {
        font-size: 22px
    }

    .quiz__sub-title {
        font-size: 16px;
        line-height: 24px
    }

    .quiz__price_lable {
        font-size: 13px
    }

    .quiz__price_wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 100%
    }

    .quiz__price_new {
        font-size: 32px;
        line-height: normal
    }

    .bonuses__caption {
        font-size: 14px;
        line-height: normal
    }

    .bonuses__wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .bonuses__item {
        width: 100%;
        height: 50px;
        font-size: 11px;
        margin-bottom: 10px
    }

    .bonuses__img {
        width: 25px
    }

    .bonuses__item::after {
        right: 10px
    }

    .quiz__bonus {
        width: 260px;
        height: 58px;
        right: 0;
        top: -7px;
        padding-left: 20px;
        text-align: left
    }

    .quiz__bonus_title {
        font-size: 13px;
        line-height: normal
    }

    .quiz__bonus_text {
        font-size: 10px;
        line-height: normal;
        margin-top: 5px
    }

    .quiz__bonus_img {
        width: 30px;
        margin-right: 10px
    }

    .quiz__box {
        padding-top: 70px
    }

    .quiz__slide--6 .quiz__box {
        padding-top: 25px
    }

    .quiz__button {
        width: 48%;
        padding: 0 10px;
        font-size: 13px
    }

    .slide__next {
        padding-left: 10px
    }

    .services__item {
        padding: 5px;
        min-height: 50px;
        font-size: 10px;
        line-height: normal
    }

    .services__row>:nth-child(1) {
        width: 40%;
        padding: 5px
    }

    .services__row>:nth-child(2) {
        width: 25%;
        font-size: 8px
    }

    .services__row>:nth-child(3) {
        width: 25%;
        font-size: 8px;
        line-height: normal
    }

    .services__row>:nth-child(4) {
        width: 30%;
        font-size: 8px;
        line-height: normal
    }

    .services__head>:nth-child(1) {
        width: 40%;
        padding: 5px
    }

    .services__head>:nth-child(2) {
        width: 25%;
        font-size: 8px
    }

    .services__head>:nth-child(3) {
        width: 25%;
        font-size: 8px;
        line-height: normal
    }

    .services__head>:nth-child(4) {
        width: 30%;
        font-size: 8px;
        line-height: normal
    }

    .services__head .services__item {
        min-height: 35px
    }

    .services__table {
        margin-top: 10px
    }

    .advantages,
    .promo,
    .quiz,
    .reviews,
    .services {
        padding: 40px 0
    }

    .services__button {
        margin-top: 30px;
        font-size: 16px
    }

    .advantages__name {
        font-size: 18px;
        padding: 0;
        background: 0 0
    }

    .advantages__text {
        font-size: 16px;
        line-height: 24px
    }

    .advantages__item {
        margin-bottom: 30px
    }

    .advantages__box {
        margin-top: 30px
    }
	
	.advantages__box {
        margin-top: 30px
    }
	
	.otziv__name {
        font-size: 18px;
        padding: 0;
        background: 0 0
    }

    .otziv__text {
        font-size: 16px;
        line-height: 24px
    }

    .otziv__item {
        margin-bottom: 30px
    }

    .otziv__box {
        margin-top: 30px
    }
	
	.otziv__box {
        margin-top: 30px
    }

    .reviews__left {
        max-width: 100%
    }

    .master {
        padding: 30px 15px
    }

    .swiper-button-next,
    .swiper-button-next2 {
        position: static
    }

    .swiper-button-prev,
    .swiper-button-prev2 {
        position: static
    }

    .swiper__button_wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-top: 60px
    }

    .master__name {
        font-size: 20px
    }

    .master__button {
        font-size: 18px
    }

    .reviews__name {
        font-size: 20px
    }

    .promo__name {
        font-size: 17px;
        line-height: normal
    }

    .promo__box {
        padding: 30px 0 15px 0
    }

    .promo__button {
        font-size: 12px;
        padding-left: 30px;
        background-position: 10px center;
        background-size: 30px
    }

    .promo__text {
        margin-bottom: 20px
    }
	
	.promo__name2 {
        font-size: 17px;
        line-height: normal
    }

    .promo__box2 {
        padding: 30px 0 15px 0
    }

    .promo__button2 {
        font-size: 12px;
        padding-left: 30px;
        background-position: 10px center;
        background-size: 30px
    }

    .promo__text2 {
        margin-bottom: 20px
    }

    .input {
        width: 100%;
        height: 50px;
        padding-left: 15px
    }

    .order__title {
        font-size: 16px;
        line-height: 24px
    }

    .order {
        padding: 30px 15px
    }

    .order__form {
        margin-top: 20px
    }

    .order__button {
        font-size: 13px
    }

    .order {
        margin-top: 30px
    }

    .contacts {
        padding: 40px 0
    }

    .contacts__text {
        font-size: 14px;
        line-height: normal
    }

    .contacts__text br {
        display: none
    }

    .contacts__item {
        margin-top: 20px
    }

    .footer {
        text-align: center
    }

    .policy {
        text-align: center;
        margin-top: 10px
    }

    .footer__wrapper {
        -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
    }

    .footer__text {
        line-height: normal;
        margin-top: 10px
    }

    .contacts__icon {
        min-width: 30px;
        width: 30px;
        height: 30px
    }

    .contacts__icon img {
        width: 20px
    }

    .order__modal {
        width: 100%;
        padding: 60px 15px 30px 15px
    }

    .order__modal_input {
        width: 100%;
        height: 50px;
        padding-left: 15px
    }

    .order__modal_title {
        font-size: 18px;
        margin-bottom: 20px
    }

    .order__modal_title br {
        display: none
    }

    .order__modal_consent {
        font-size: 12px
    }

    .order__modal_consent br {
        display: none
    }

    .reviews__modal_head {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 15px
    }

    .reviews__modal_name {
        font-size: 16px;
        text-align: center;
        line-height: 24px;
        margin: 10px 0 5px 0
    }

    .reviews__modal_nums {
        margin-right: auto
    }

    .reviews__modal_wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .reviews__modal_input {
        width: 100%;
        margin-bottom: 20px;
        height: 50px;
        padding-left: 15px
    }

    .reviews__modal_button {
        font-size: 15px
    }

    .advantages,
    .general-bg,
    .header {
        background: #000
    }
	
	.otziv,
    .general-bg,
    .header {
        background: #000
    }

    .order__modal_title {
        max-width: 260px;
        margin-left: auto;
        margin-right: auto
    }

}

.swiper-container--2 .swiper-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.swiper-container--2 .swiper-wrapper :last-child .reviews__item {
    margin-bottom: 0
}

.reviews__box {
    overflow: hidden
}

.logo img{
    max-height: 50px;
    border-radius: 4px;
}

.title-office{
    color: #4e8bf2;
    font-weight: bolder;
}

.t-m{
    display: none;
}

@media (max-width: 991px){
    .t-m{
        display: block;
    }
}



.tg-fix {
    position: fixed;
    bottom: 66px;
    right: 30px;
    border-radius: 50%;
    background: linear-gradient(340deg, #4e8bf2 0%, #4e8bf2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 60px;
    height: 60px;
    z-index: 999;
    transition: all .5s;
    animation: pulsate 2s ease infinite;
    cursor: pointer;
}

.tg-fix:hover{
    opacity: 0.8;
}

.tg-fix:after {
    content: "";
    position: absolute;
    width: 160%;
    height: 160%;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation: pulsate1 2s;
    animation: pulsate1 2s;
    -webkit-animation-direction: forwards;
    animation-direction: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: steps;
    animation-timing-function: steps;
    opacity: 1;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    top: -30%;
    left: -30%;
    background: linear-gradient(340deg, #4e8bf2 0%, #4e8bf2 100%);
    z-index: 10
}

.tg-fix svg{
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 20
}

@keyframes pulsate1 {
    0% {
        -webkit-transform: scale(.6);
        transform: scale(.6);
        opacity: 1;
        -webkit-box-shadow: inset 0 0 25px 3px #4e8bf2, 0 0 25px 10px #4e8bf2;
        box-shadow: inset 0 0 25px 3px #4e8bf2, 0 0 25px 10px #4e8bf2;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
        -webkit-box-shadow: none;
        box-shadow: none
    }
}

@media (max-width:991px) {
    .tg-fix {
        /* bottom: 97px; */
        right: 24px
    }
}

.scale {
    transition: 1s; /* Время эффекта */
   }
   .scale:hover {
    transform: scale(1.1); /* Увеличиваем масштаб */
   }
   
.marquee-text {
    margin: 5px auto;
    border: 1px solid #transparent;
    max-width: 100%;
    overflow: hidden;
}

.marquee-text div {
    width: 100%;
    animation: marquee-text 5s linear infinite;
}

.marquee-infinite {
    margin: 5px auto;
    border: 5px solid #4e8bf2;
    max-width: 100%;
    overflow: hidden;
}

/*Здесь можно поиграть со свойством width: mac-content*/
.marquee-infinite div {
    display: flex;
    width: 200%;
    animation: marquee-infinite 25s linear infinite;
}

.marquee-infinite h1 {
    white-space: nowrap;
    width: 100%;
}

.marquee-infinite span {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.marquee-infinite img {
    width: 100%;
}

.marquee-infinite:hover div {
    animation-play-state: running;
}


@keyframes marquee-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes marquee-infinite {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
} 

.blink6 {
  position: relative;
  display: inline-block;
  color: #fff;
  text-shadow: 0 0 70px #3d7a97;
  background: #transparent;
}
.blink6:after, .blink6:before {
  content: "";
  position: absolute; top: 0; left: 0;
  display: block;
  width: 100px;
  height: 100px;
  background-image: 
    radial-gradient(rgba(255,255,255,1), rgba(255,255,255,0) 30%),
    linear-gradient(45deg, rgba(0,0,0,0) 49%, rgba(255,255,255,.4) 50%, rgba(0,0,0,0) 51%),
    linear-gradient(135deg, rgba(0,0,0,0) 49%, rgba(255,255,255,.4) 50%, rgba(0,0,0,0) 51%);
  -webkit-animation: blink6 10s linear infinite;
  animation: blink6 10s linear infinite;
  transform: scale(0, 0) rotate(0deg);
}
.blink6:before {
  top: -30%;
  right: 0; left: auto;
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}
@-webkit-keyframes blink6 {
 10% { transform: scale(1, 1) rotate(80deg); }
 20% { transform: scale(0, 0) rotate(160deg); }
 100% { transform: scale(0, 0) rotate(0deg); }
}
@keyframes blink6 {
 10% { transform: scale(1, 1) rotate(80deg); }
 20% { transform: scale(0, 0) rotate(160deg); }
 100% { transform: scale(0, 0) rotate(0deg); }
}

/* The container <div> - needed to position the dropdown content */
.dropdown-mobile {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content-mobile {
    display: none;
    position: center;
    background-color: #302b2b;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content-mobile a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content-mobile a:hover {background-color: #302b2b;}

/* Show the dropdown menu on hover */
.dropdown-mobile:hover .dropdown-content-mobile {display: block;}

/* end content */

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #302b2b;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #302b2b;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* end content */

.underline-one {
	color: #4e8bf2; /* Цвет обычной ссылки */
    position: relative;
    cursor: pointer;
    text-decoration: none; /* Убираем подчеркивание */
}
.underline-one:after {
	content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: -3px;
    width: 0;
    height: 2px; /* Высота линии */
    background-color: #4e8bf2; /* Цвет подчеркивания при исчезании линии*/
    transition: width 0.5s; /* Время эффекта */
}

.underline-one:hover:after {
	content: "";
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2px; /* Высота линии */
    background-color: #4e8bf2; /* Цвет подчеркивания при появлении линии*/
    transition: width 0.5s;  /* Время эффекта */
}

.parent {
  display: flex;
  justify-content: center;
  border: 2px;
}

.child {
  border: 2px;
}






.card {
  width: 225px;
  min-height: 350px;
  box-shadow: 1px 2px 4px rgb(76, 73, 234);
  background-color: #18181e;
  display: flex;
  flex-direction: column; /* Размещаем элементы в колонку */
  border-radius: 4px;
  transition: 0.2s;
  position: relative;
}

/* При наведении на карточку - меняем цвет тени */
.card:hover {
  box-shadow: 4px 8px 16px rgb(76, 73, 234);
}

.card__top {
  flex: 0 0 220px; /* Задаем высоту 220px, запрещаем расширение и сужение по высоте */
  position: relative;
  overflow: hidden; /* Скрываем, что выходит за пределы */
}

/* Контейнер для картинки */
.card__image {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card__image > img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Встраиваем картинку в контейнер card__image */
  transition: 0.2s;
}

/* При наведении - увеличиваем картинку */
.card__image:hover > img {
  transform: scale(1.1);
}

/* Размещаем скидку на товар относительно изображения */
.card__label {
  padding: 4px 8px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #4c49ea;
  border-radius: 4px;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
}

/* Размещаем скидку на товар относительно изображения */
.card__label2 {
  padding: 4px 8px;
  position: absolute;
  bottom: 50px;
  left: 10px;
  background: #a853b5;
  border-radius: 4px;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
}

/* Размещаем скидку на товар относительно изображения */
.card__label3 {
  padding: 4px 8px;
  position: absolute;
  bottom: 90px;
  left: 10px;
  background: #1dbf40;
  border-radius: 4px;
  font-weight: 400;
  font-size: 12px;
  color: #fff;
}

.card__bottom {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto; /* Занимаем всю оставшуюся высоту карточки */
  padding: 10px;
}

.card__prices {
  display: flex;
  margin-bottom: 10px;
  flex: 0 0 50%; /* Размещаем цены равномерно в две колонки */
}

.card__price::after {
  content: "руб";
  margin-left: 4px;
  position: relative;
}

.card__price--discount {
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  display: flex;
  flex-wrap: wrap-reverse;
}

.card__price--discount::before {
  content: "Со скидкой";
  font-weight: 400;
  font-size: 13px;
  color: #a853b5;
}

.card__price--common {
  font-weight: 400;
  font-size: 17px;
  color: #fff;
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: flex-end;
}

.card__price--common::before {
  content: "Обычная";
  font-weight: 400;
  font-size: 13px;
  color: #4e8bf2;
}

.card__title {
  display: block;
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: #fff;
}

.card__title:hover {
  color: #4e8bf2;
}

.card__add {
  display: block;
  width: 100%;
  font-weight: 400;
  font-size: 15px;
  color: #fff;
  padding: 10px;
  text-align: center;
  border: 5px inset #4e8bf2;
  border-radius: 4px;
  cursor: pointer; /* Меняем курсор при наведении */
  transition: 0.2s;
  margin-top: auto; /* Прижимаем кнопку к низу карточки */
}

.card__add:hover {
  border: 5px solid #4e8bf2;
  background-color: #4e8bf2;
  color: #fff;
}

.cards {
  display: grid;
  /* Автоматически заполняем на всю ширину grid-контейнера */
  grid-template-columns: repeat(auto-fill, 225px);
  width: 100%;
  max-width: 1000px; /* Ширина grid-контейнера */
  justify-content: center;
  justify-items: center; /* Размещаем карточку по центру */
  column-gap: 30px; /* Отступ между колонками */
  row-gap: 40px; /* Отступ между рядами */
  margin: 0 auto;
}













.ag-format-container {
  width: 1142px;
  margin: 0 auto;
}


body {
  background-color: #f2f6fa;
}
.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  padding: 50px 0;
}
.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);

  margin: 0 15px 30px;

  overflow: hidden;

  border-radius: 28px;
}
.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #121212;

  overflow: hidden;

  position: relative;
}
.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #FFF;
}
.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}
.ag-courses-item_title {
  min-height: 87px;
  margin: 0 0 25px;

  overflow: hidden;

  font-weight: bold;
  font-size: 30px;
  color: #FFF;

  z-index: 2;
  position: relative;
}
.ag-courses-item_date-box {
  font-size: 18px;
  color: #FFF;

  z-index: 2;
  position: relative;
}
.ag-courses-item_date {
  font-weight: bold;
  color: #4e8bf2;

  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease
}
.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #4e8bf2;

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
.ag-courses_item:nth-child(2n) .ag-courses-item_bg {
  background-color: #4e8bf2;
}
.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
  background-color: #4e8bf2;
}
.ag-courses_item:nth-child(4n) .ag-courses-item_bg {
  background-color: #4c49ea;
}
.ag-courses_item:nth-child(5n) .ag-courses-item_bg {
  background-color: #4c49ea;
}
.ag-courses_item:nth-child(6n) .ag-courses-item_bg {
  background-color: #4c49ea;
}



@media only screen and (max-width: 979px) {
  .ag-courses_item {
    -ms-flex-preferred-size: calc(50% - 30px);
    flex-basis: calc(50% - 30px);
  }
  .ag-courses-item_title {
    font-size: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }

}
@media only screen and (max-width: 639px) {
  .ag-courses_item {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .ag-courses-item_title {
    min-height: 72px;
    line-height: 1;

    font-size: 24px;
  }
  .ag-courses-item_link {
    padding: 22px 40px;
  }
  .ag-courses-item_date-box {
    font-size: 16px;
  }
}






.scrolling-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 223px;
  scrollbar-color: #2E9AFF #F498AD;

}

  .card {
    flex: 0 0 auto;
  }
}

html {
  scrollbar-color: #2E9AFF #F498AD;
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #474652;
    box-shadow: 0 0 2px rgba(0, 0, 0, .2) inset;
}

::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 8px;
    border: 3px solid #d4d4d4;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4d4d4;
}



.card-2 {
  width: 225px;
  min-height: 350px;
  box-shadow: 1px 2px 4px rgb(76, 73, 234);
  background-color: #white;
  display: flex;
  flex-direction: column; /* Размещаем элементы в колонку */
  border-radius: 4px;
  transition: 0.2s;
  position: relative;
}

/* При наведении на карточку - меняем цвет тени */
.card-2:hover {
  box-shadow: 4px 8px 16px rgb(76, 73, 234);
}

.card-2__top {
  flex: 0 0 220px; /* Задаем высоту 220px, запрещаем расширение и сужение по высоте */
  position: relative;
  overflow: hidden; /* Скрываем, что выходит за пределы */
}

/* Контейнер для картинки */
.card-2__image {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card-2__image > img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Встраиваем картинку в контейнер card__image */
  transition: 0.2s;
}

/* При наведении - увеличиваем картинку */
.card-2__image:hover > img {
  transform: scale(1.1);
}

/* Размещаем скидку на товар относительно изображения */
.card-2__label {
  padding: 4px 8px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #4c49ea;
  border-radius: 4px;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
}

/* Размещаем скидку на товар относительно изображения */
.card-2__label2 {
  padding: 4px 8px;
  position: absolute;
  bottom: 50px;
  left: 10px;
  background: #34339e;
  border-radius: 4px;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
}

.card-2__bottom {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto; /* Занимаем всю оставшуюся высоту карточки */
  padding: 10px;
}

.card-2__prices {
  display: flex;
  margin-bottom: 10px;
  flex: 0 0 50%; /* Размещаем цены равномерно в две колонки */
}

.card-2__price::after {
  content: "руб";
  margin-left: 4px;
  position: relative;
}

.card-2__price--discount {
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  display: flex;
  flex-wrap: wrap-reverse;
}

.card-2__price--discount::before {

  font-weight: 400;
  font-size: 13px;
  color: #a853b5;
}

.card-2__price--common {
  font-weight: 400;
  font-size: 17px;
  color: #fhdfh;
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: flex-end;
}

.card-2__price--common::before {
  content: "Обычная";
  font-weight: 400;
  font-size: 13px;
  color: #4e8bf2;
}

.card-2__title {
  display: block;
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: #black;
}

.card-2__title:hover {
  color: #4e8bf2;
}

.card-2__add {
  display: block;
  width: 100%;
  font-weight: 400;
  font-size: 15px;
  color: #black;
  padding: 10px;
  text-align: center;
  border: 5px solid #4e8bf2;
  border-radius: 4px;
  cursor: pointer; /* Меняем курсор при наведении */
  transition: 0.2s;
  margin-top: auto; /* Прижимаем кнопку к низу карточки */
}

.card-2__add:hover {
  border: 5px solid #4e8bf2;
  background-color: #4e8bf2;
  color: #black;
}

.cards-2 {
  display: grid;
  /* Автоматически заполняем на всю ширину grid-контейнера */
  grid-template-columns: repeat(auto-fill, 225px);
  width: 100%;
  max-width: 1000px; /* Ширина grid-контейнера */
  justify-content: center;
  justify-items: center; /* Размещаем карточку по центру */
  column-gap: 30px; /* Отступ между колонками */
  row-gap: 40px; /* Отступ между рядами */
  margin: 0 auto;
}


 .blink {
    animation: blink 1.8s infinite; /* Параметры анимации */
   }
   @keyframes blink {
    from { opacity: 1; /* Непрозрачный текст */ }
    to { opacity: 0.6; /* Прозрачный текст */ }
   }
   
   
   
   
   
 .all {
  display: flex;
  flex-direction: row;
  gap: 5px;
  position: fixed;
  bottom: 10; right: 10;
  z-index: 999999;
}
.all > * { border-radius:99px; overflow:hidden;}
.all > span,
.all > a {
  --size: 60px;
  width: var(--size);
  height: var(--size);
  --bg: whitesmoke;
  background-color: var(--bg);
  border: 1px solid lightgray;
  display: inline-block;
}

.all > a {
  display: none;
}

.all > span.in ~ a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.on {
  cursor: pointer;
  animation:share 10s infinite alternate;
}
.on.in ~ a:hover { background:lightgray}

.on.in {
  animation:none;
}

.on.in:before {
  content:"X";
  font-size:25px;
  display:flex;
  align-items: center;

}

.on.in:hover:before { color:#808080;} 

@keyframes share {
  0%, 100% {
    background: url("https://hpc-slutsk.by/assets/img/massanger.svg") no-repeat;
    background-size: contain;

  }
}


.on.in:before {
    content: "X";
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--size);
    font-family: sans-serif;
    color: black;
}