@media (max-width: 1400px) {
    #eight .desc-block p:first-child, .desc-block .title, .desc-three .title {
        font-size: 20px;
        margin-bottom: 10px
    }
     .tarif-item.one .tarif-item__srok, .tarif-item.two .tarif-item__srok{
        margin-top: 246px !important;
    }
    .tarif-item__desc p{
        min-height:69px;
    }
    #two img {
        height: 100%;
        width: 100%;
        object-fit: cover !important;
    }
    .desc-block.two{
        margin-bottom: 53px;
    }
    #green .bg-section {
        top: -51px
    }

    #five h2 {
        margin-top: 0
    }

    .desc-block.pl {
        margin-left: 0;
        padding-right: 24px
    }

    .desc-three {
        margin-top: 28px
    }

    .bg-top, .footer-right {
        padding-left: 0
    }

    #five {
        background-position: center 165px
    }

    .after-snoska {
        padding-right: 25px
    }

    #seven .form-block:after {
        width: 438px;
        height: 484px;
        top: 6px
    }

    #eight .date-text {
        margin-right: 15px
    }

    #contacts img, #eight img, #one img, #sertifikat img, #three img, #two img {
        width: 100%
    }

    #eight .book-text span:first-child, #eight .date-text span:first-child {
        margin-right: 8px
    }

    .tarif-item__desc, .tarif-item__name, .tarif-item__price, .tarif-item__srok {
        padding: 0 18px
    }

    #tarifs .btn-zakaz {
        margin-left: 18px
    }

    #after-tarifs p {
        font-size: 20px
    }

    #seven.repeat-form .form-block:after {
        width: 318px;
        top: 81px
    }

    #ten .line-arrow.two {
        margin-bottom: 112px
    }

    #ten .line-arrow.three {
        margin-bottom: 66px
    }

    #ten .line-arrow.three + .number-block .desc-block p:last-child, #ten .line-arrow.two + .number-block .desc-block p:last-child {
        padding-right: 50px
    }

    #sertifikat .btn-zakaz {
        margin-top: 41px
    }

    #contacts .block .left-block {
        min-width: 300px
    }

    #contacts .form-block {
        margin-left: 100px
    }

    #contacts .bg-block {
        margin-left: 35px
    }

    footer ul {
        padding: 9px
    }

    .footer-right .tg {
        margin-right: 0
    }

    footer .soc-block:after {
        right: -13px
    }

    #eight picture img {
        height: 100%;
        object-fit: cover
    }

    #tarifs img {
        width: 100%;
        height: 125px;
        object-fit: cover
    }
}

@media (max-width: 1300px) {
    .bg-two picture img, .desc-block.bg picture img {
        object-fit: cover;
        height: 100%
    }

    #one img, #three img, #two img {
        width: 100%
    }

    .desc-block.pl {
        padding-right: 0
    }

    .desc-block {
        margin-bottom: 24px
    }

    .bg-two {
        position: relative;
        border-radius: 16px;
        margin-bottom: 40px;
        height: 604px
    }

    .bg-two picture img {
        border-radius: 16px
    }

    .desc-block.two {
        min-height: 215px;
        margin-bottom: 42px;
    }

    .desc-block.three,.desc-block.one,.desc-block.five {
        min-height: 180px;
        margin-bottom:0px
    }

    .three-right {
        padding-left: 0
    }

    .desc-three {
        margin-top: 24px
    }
}
@media (max-width: 1200px) {
     .tarif-item.one .tarif-item__srok, .tarif-item.two .tarif-item__srok {
        margin-top: 266px !important;
    }
    #sertifikat .bg-block .label.four {
        left: 77px;
        top: 53px;
    }
    #sertifikat .bg-block .label.two{
        top: 40px;
    }
    #sertifikat .bg-block .label.three {
        right: 131px;
        bottom: 54px;
    }
    #sertifikat .bg-block .label.one {
        left: 9px;
        top: 169px;
    }
}
@media (max-width: 1199px) {
    .bg-block-dnk img{
        margin-left: 0;
        width: 100%;
        object-fit: cover;
    }
    footer ul > li, nav ul > li > a {
        margin-right: 30px
    }

    #feedback .slick-slide img {
        height: 100%;
        object-fit: cover
    }

    .three-right .desc-three.one {
        margin-top: 20px
    }

    #eight .top-section, .three-right {
        margin-bottom: 20px
    }

    #green .bg-section img {
        width: 430px
    }

    #green .bg-section {
        top: -51px;
        margin-left: 460px
    }

    #green .desc-item span {
        margin-right: 8px
    }

    #green .desc-item, #ten .line-arrow.three + .number-block .desc-block p:last-child {
        padding-right: 10px
    }

    #green .desc-item.podarok {
        margin-top: 56px;
        width: 245px
    }

    #green .desc-item.history {
        width: 241px
    }

    #green {
        padding-bottom: 39px
    }

    #five .book-video, #five img, #six .bg-block, #six .bg-block img, .about-company, .about-company img {
        width: 100%
    }

    #five {
        background-position: center 70px
    }

    #five .book-info .book-info__item:first-child {
        margin-bottom: 25px
    }

    #five .book-info__item p {
        line-height: 1.3
    }

    #five .book-info__item .icon {
        margin-right: 15px
    }

    #five .btn-zakaz.five-block, #nine h2, #six .desc-block.house {
        margin-top: 40px
    }

    #green .desc-item.podarok-two {
        margin-top: 58px;
        margin-left: 19px;
        width: 270px
    }

    #green .social-section {
        margin-top: 65px
    }

    #four .snoska, #four h2, #nine h3, #two .desc-block.three.pl {
        margin-top: 0
    }

    nav ul {
        padding: 0 25px
    }

    .header-phone {
        font-size: 16px;
        margin-right: 10px;
        margin-top: 13px
    }

    #seven h2, h2 {
        font-size: 30px
    }

    #two .desc-block.two.pl p:first-child {
        padding-right: 15px
    }

    #four .number-block {
        margin-top: 20px;
        justify-content: space-between
    }

    #four .number-block__item:last-child {
        padding-left: 0
    }

    #four .number-block__item {
        padding-right: 0
    }

    #two .bg-two {
        height: 700px;
        margin-bottom: 26px
    }


    #six .desc-block.zoom {
        margin-top: 10px
    }

    #seven .form-block:after {
        content: none
    }

    #eight .top-section p {
        font-size: 12px
    }

    #eight .date-text {
        margin-right: 10px;
        align-items: center
    }

    #eight .book-text {
        align-items: center
    }

    #eight .bg-section {
        height: 380px
    }

    #nine .bg-block, #nine .bg-block img {
        width: 100%;
        height: 554px;
        object-fit: cover
    }

    h3 {
        font-size: 24px
    }

    #nine h3 {
        margin-bottom: 15px
    }

    #nine ul > li {
        margin-bottom: 12px
    }

    #nine .btn-zakaz {
        margin-top: 30px
    }

    #ten .line-arrow.one:after, #ten .line-arrow.two:after {
        width: 115px;
        background-size: contain
    }

    #ten .line-arrow.two {
        margin-bottom: 135px
    }

    #ten .line-arrow.three {
        margin-bottom: 90px
    }

    #feedback .slider-feedback__item {
        height: 318px
    }

    .tarif-item__name {
        font-size: 20px
    }

    .tarif-item__desc, .tarif-item__name, .tarif-item__price, .tarif-item__srok {
        padding: 0 10px
    }

    #after-tarifs p {
        font-size: 18px
    }

    footer .soc-block:after {
        right: -8px
    }

    #after-tarifs p:after {
        right: -10px
    }

    #contacts .form-block {
        margin-left: 30px;
        padding-top: 165px
    }

    #contacts .form-block:before {
        left: -23px;
        height: 225px
    }

    #contacts .block, #seven.repeat-form .form-block {
        padding-left: 30px
    }

    #contacts h2 {
        padding-bottom: 40px
    }

    #contacts form button {
        margin-top: 25px
    }

    #contacts .block {
        position: relative
    }

    #contacts .bg-block {
        position: absolute;
        height: 96%;
        right: 9px;
        box-sizing: border-box;
        margin: 0;
        top: 8px;
        width: 308px
    }

    footer ul {
        padding: 0
    }

    footer ul > li {
        display: inline-block
    }

    footer ul > li:last-child {
        margin-right: 0
    }

    .footer-right .soc-block a {
        width: 30px;
        height: 30px;
        background-size: contain;
        min-width: 30px
    }

    footer .phone-block a {
        font-size: 15px
    }

    footer .phone-block span {
        font-size: 10px
    }

    footer .soc-block {
        margin-top: 2px
    }

    #green .desc-item.history {
        margin-left: 72px
    }

    #contacts form input {
        width: 266px
    }
}

@media (max-width: 992px) {
     .tarif-item.one .tarif-item__srok, .tarif-item.two .tarif-item__srok {
        margin-top: 36px !important;
    }
    .tarif-item__desc p{
        min-height:auto;
    }
    #sertifikat .bg-block .label.two {
        top: 66px;
    }
    #sertifikat .bg-block .label.one {
        left: 27px;
        top: 226px;
    }
    #sertifikat .bg-block .label.four {
        left: 154px;
        top: 74px;
    }
    #sertifikat .bg-block .label.three {
        right: 205px;
        bottom: 93px;
    }
    #dnk h2 {
        margin-top: 70px;
    }
    .modal-cookie{
        width: 720px;
    }
    nav ul {
        padding: 0
    }

    nav ul > li > a {
        margin-right: 9px
    }

    .desc-block.one {
        min-height: 250px;
    }
    .desc-block.five{
        min-height: 250px;
    } 
    #two .desc-block.three, footer .soc-block, footer ul {
        margin-top: 0
    }
    .desc-block.two,.desc-block.six,.desc-block.four{
        min-height: 360px;
        margin-bottom: 0;
    }
    .desc-block.bg{
        max-height: 150px;
    }

    #two .bg-two {
        width: 348px;
        margin-top: 30px;
        height: 230px;
        display: inline-block
    }

    .desc-block.three {
        margin-bottom: 10px
    }

    .bg-two + .desc-block.bg {
        width: 348px;
        margin-left: 19px;
        display: inline-block
    }

    .about-company, .about-company img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        object-position: 0 -566px;
        margin-top: 26px;
        border-radius: 16px
    }

    #green .desc-item.history, #green .desc-item.podarok-two {
        margin-left: 0;
        margin-top: 20px;
        width: 245px
    }

    #green .desc-item.podarok {
        margin-top: 30px;
        width: 245px
    }

    #five .book-video, #five img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        margin-top: 30px
    }

    #contacts .bg-block, #nine .icon, #ten .line-arrow {
        display: none
    }

    #contacts form input {
        width: 300px
    }

    #seven .social-form div {
        padding: 16px 10px
    }

    #contacts .block, #seven.repeat-form .form-block {
        padding-left: 20px
    }

    #seven .form-block {
        padding: 60px 20px
    }

    #six {
        background: #f4f1ed
    }

    #sertifikat h2, #six h2 {
        margin-bottom: 60px
    }

    #six .bg-block, #six .bg-block img {
        height: 500px;
        object-fit: cover
    }

    #six .desc-block.paper {
        margin-top: 50px
    }

    #eight .top-section {
        margin-top: 40px;
        margin-bottom: 40px
    }

    #eight .top-section p {
        font-size: 16px
    }

    #eight .date-text {
        margin-right: 40px
    }

    #nine h2 {
        margin-top: 0;
        padding-top: 0
    }

    #nine .bg-block, #nine h2 + p {
        margin-bottom: 40px
    }

    #nine {
        padding-top: 100px
    }

    #contacts .block {
        border-radius: 16px
    }

    footer .soc-block:after {
        content: none
    }

    .footer-right {
        justify-content: end;
        margin-top: 25px
    }

    .footer-menu {
        margin-top: 30px
    }

    #green .bg-section {
        bottom: -5px;
        top: auto;
        position: absolute;
        margin: 0;
        right: 0
    }
}

@media (max-width: 768px) {
    
     /*блок сертификата*/
    #sertifikat .bg-block .label.four{
        left: 82px;
        top: 46px;
    }
    #sertifikat .bg-block .label.two{
        right: 18px;
        top: 44px;
    }
    #sertifikat .bg-block .label.three{
        right: 120px;
        bottom: 53px;
    }
    #sertifikat .bg-block .label.one{
        left: 15px;
        top: 155px;
    }
    /**/
    .modal-cookie{
        width: 540px;
    }
    #two .dots-slider .slick-dots li.slick-active, .line-bg-item .label {
        background: var(--bg-brown)
    }
    .modal-politika{
        top:15px;
        width:calc(100% - 30px);
        height:calc(100% -  30px);
        box-sizing: border-box;
    }
   .modal-politika #policy-output{
        height: 65%;
        overflow-y: scroll;
    }
    .menu-mobile-hidden {
        position: absolute;
        background: var(--bg-beige);
        border-radius: 16px 0px 16px 16px;
        padding: 20px;
        width: 500px;
        display: none;
        margin: 0 auto;
        left: 0;
        right: 0;
        margin-top: -53px;
        box-shadow: 0px 7px 9.3px 1px rgb(0 0 0 / 25%);
    }
    .menu-mobile-hidden.open{
        display:block;    
    }

    #contacts .block, #seven .line-form, .menu-mobile-hidden nav ul > li {
        display: block
    }

    .menu-mobile-hidden nav ul > li > a {
        text-transform: none;
        font-size: 20px
    }
    .menu-mobile-hidden nav ul > li{
        margin-bottom:20px;
    }

    .modal, .modal-thanks {
        width: 550px;
        padding: 45px 42px;
        top: 10%
    }
    
    .modal-video .close{
        right: 50px;
        top: 20px;
    }
    .modal-video .close span{
        height: 50px;
        background:#fff;
    }
    .modal-video .close span:last-child{
        margin-top: -50px;
    }

    .modal .required {
        left: 140px
    }

    .modal .btn-zakaz {
        width: 147px;
        min-width: 147px
    }

    .modal .left-politica p {
        min-width: 24px
    }

    #feedback .slider-feedback__item {
        height: 300px
    }

    #seven .social-form {
        margin-left: 0;
        width: 100%;
        display: flex;
        margin-top: 30px
    }

    #seven .social-form div {
        padding: 16px 33px 29px;
        flex-basis: 50%
    }

    #seven .social-form div.wh {
        margin-right: 30px
    }

    #seven .bottom-form, #seven .form-block input {
        width: 100%
    }

    #seven h2 {
        padding-left: 0
    }

    .logo {
        background-position: center;
        margin: 0
    }

    .desc-block.one, .desc-block.three, .desc-block.two, .desc-block.four,.desc-block.five,.desc-block.six {
        min-height: auto;
        margin-bottom: 40px;
    }

    .line-bg-item {
        position: relative
    }

    .line-bg-item .label {
        position: absolute;
        top: 12px;
        color: var(--bg-white);
        border-radius: 46px;
        font-size: 16px;
        width: auto;
        padding: 6px 14px;
        text-align: center;
        left: 12px
    }

    #contacts .form-block {
        padding-top: 0;
        padding-bottom: 30px;
        margin-left: 0
    }

    #contacts .form-block:before {
        display: none
    }

    #contacts .block .left-block {
        padding-top: 30px;
        padding-bottom: 40px
    }

    #contacts .soc-block {
        margin-top: 20px
    }

    .line-bg img {
        height: 305px;
        object-fit: cover;
        border-radius: 6px
    }

    #five .book-video {
        float: none;
        overflow: hidden;
        border-radius: 6px
    }

    #five .book-video img {
        object-position: center;
        margin-top: 50px
    }

    #five {
        background-position: center 87px
    }

    .line-bg {
        margin-top: 40px
    }

    #four h2 {
        margin-bottom: 40px
    }

    #six .bg-block, #six .bg-block img {
        height: 350px;
        object-fit: cover
    }

    #eight .bg-section {
        height: 350px
    }

    #two .slider-feedback__item:after {
        content: '';
        background: url('/assets/img/play-slider.svg') no-repeat;
        display: block;
        width: 59px;
        height: 58px;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        top: calc(50% - 29px);
        cursor: pointer;
        transition: var(--transition)
    }

    #two .dots-slider .slick-dots {
        position: relative;
        bottom: 0;
        margin-top: 11px
    }

    #two .dots-slider .slick-dots li button:before {
        content: none
    }

    #two .dots-slider .slick-dots li {
        width: 20px;
        height: 4px;
        border-radius: 3.5px;
        background: #5b3A2C1F;
        margin: 0 2px
    }

    #two .control-slider {
        width: 115px;
        margin: 5px auto 0;
        box-sizing: border-box;
        user-select: none
    }

    #two .control-slider div {
        width: 51px;
        height: 51px;
        background: var(--bg-beige);
        border-radius: 100%;
        display: inline-block;
        cursor: pointer;
        background-image: url('/assets/img/arrow-slider.svg');
        background-repeat: no-repeat;
        background-position: center
    }

    #two .control-slider div.slick-disabled {
        background-image: url('/assets/img/arrow-slider-disabled.svg')
    }

    #two .control-slider div.left-slider, #two .control-slider div.right-slider.slick-disabled {
        transform: rotate(180deg)
    }

    #two .control-slider div.left-slider.slick-disabled {
        transform: none
    }

    #two .control-slider div:first-child {
        margin-right: 6px
    }

    header {
        background: #fff;
        box-shadow: 0 4px 4px 0 rgb(0 0 0 / 25%)
    }

    .social-header {
        margin-top: 2px;
        margin-right: 0
    }

    nav ul {
        margin-top: 4px
    }
}

@media (max-width: 576px) {
     /*блок сертификата*/
    #sertifikat .bg-block .label.four{
        left: 82px;
        top: 46px;
        font-size:16px;
    }
    #sertifikat .bg-block .label.two{
        right: 18px;
        top: 44px;
        font-size:16px;
    }
    #sertifikat .bg-block .label.three{
        right: 120px;
        bottom: 53px;
        font-size:16px;
    }
    #sertifikat .bg-block .label.one{
        left: 15px;
        top: 155px;
        font-size:16px;
    }
    /**/
    .after-title-two{
        display: none;
    }
    .desc-block.one, .desc-block.three, .desc-block.two, .desc-block.four, .desc-block.five, .desc-block.six{
        margin-bottom: 24px;
    }
    .modal-cookie{
        width: calc(100% - 30px);
    }
    .modal-cookie button{
        margin-left: 20px;
    }
    #seven .form-block label br{
        display: none;
    }
    .modal label, .modal label a{
        font-size:9px;
    }
    .menu-mobile-hidden{
        width: 510px;
    }
    .modal .left-politica p, .top-line__item br {
        display: none
    }

    #four .number-block, .top-line, footer ul > li {
        display: block
    }

    .modal .required {
        left: 130px
    }

    .modal, .modal-thanks {
        width: 90%
    }

    #green .bg-section img, .modal .bottom-modal, .modal input {
        width: 100%
    }

    .modal .title-modal, .modal-thanks .title-modal {
        text-align: center
    }

    .container {
        padding-right: 15px !important;
        padding-left: 15px !important
    }

    #contacts {
        background: var(--bg-beige)
    }

    h1 {
        font-size: 36px
    }

    h2 {
        font-size: 30px
    }

    *, ::after, ::before {
        box-sizing: border-box
    }

    .snoska {
        align-items: normal
    }

    .photo-director {
        margin-right: 46px
    }

    .snoska .text, footer ul > li {
        margin-right: 0
    }

    .top-line__item {
        max-width: 100%;
        width: 100%;
        margin-right: 0;
        display: flex;
        align-items: center;
        margin-bottom: 16px
    }

    .top-line__item .item-icon {
        width: 56px;
        min-width: 56px;
        margin-bottom: 0;
        margin-right: 12px
    }

    .about-company, .about-company img {
        height: 515px;
        object-position: center
    }

    #four .number-block__item {
        display: flex;
        align-items: center;
        margin-bottom: 8px
    }

    #four .number-block__item span:first-child {
        color: #4f6e42;
        margin-right: 14px
    }

    #after-tarifs p:after, #after-tarifs p:before, #green .bg-section {
        position: relative
    }

    #green .desc-item {
        width: 380px !important;
        margin: 0 auto 20px !important
    }

    #green .desc-item.podarok {
        margin-top: 0
    }

    #green .social-section {
        width: 110px;
        margin: 30px auto 0
    }

    #five .book-video, #five img, #six .bg-block, #six .bg-block img {
        height: 515px
    }

    #five .btn-zakaz.five-block, #nine .btn-zakaz, #sertifikat .btn-zakaz {
        margin: 40px auto 0
    }

    #eight .top-section div {
        display: block;
        text-align: center;
        flex-basis: 50%
    }

    #eight .book-text span:first-child, #eight .date-text span:first-child {
        margin: 0 auto 8px
    }

    #seven .bottom-form button {
        min-width: 170px;
        padding: 23px 0;
    }

    #seven .required {
        left: 111px;
        margin-top: -56px
    }

    #eight .bg-section {
        height: 230px
    }

    .tarif-item__desc, .tarif-item__name, .tarif-item__price, .tarif-item__srok {
        padding: 0 32px
    }

    #tarifs .btn-zakaz {
        margin-left: 32px
    }

    #seven .social-form div.wh {
        margin-right: 19px
    }

    #after-tarifs p:before {
        top: 5px
    }

    #after-tarifs p:after {
        right: 0;
        left: 0;
        margin-left: auto;
        margin-top: 11px
    }


    footer ul > li {
        margin-bottom: 10px
    }
}
@media (max-width: 575px) {
    .menu-mobile-hidden{
        width: calc(100% - 30px);
        right: 15px;
        left: 15px;
    }
}
@media (max-width: 500px) {
    .modal .bottom-modal{
        flex-direction: column-reverse;
    }
    #five {
        background-position: center 125px
    }
}

@media (max-width: 480px) {
    /*блок сертификата*/
    #sertifikat .bg-block .label{
        padding: 10px 12px;
    }
    #sertifikat .bg-block .label:before{
        left: 12px;
        top: 7px;
    }
    #sertifikat .bg-block .label.four{
        left: 82px;
        top: 46px;
        font-size:16px;
        width: 120px;
    }
    #sertifikat .bg-block .label.two{
        right: 18px;
        top: 44px;
        font-size:16px;
        width: 113px;
    }
    #sertifikat .bg-block .label.three{
        right: 120px;
        bottom: 53px;
        font-size:16px;
        width: 110px;
    }
    #sertifikat .bg-block .label.one{
        left: 15px;
        top: 155px;
        font-size:16px;
        width: 115px;
    }
    /**/
    .modal label:after{
        top: 20px;
        left: 4px;
    }
    .modal-video{
        width: 100%;
        height: 100%;
    }
    .modal-video .data-video{
        height: 80%;
        width: 72%;
        margin: 0 auto;
    }
    .modal-video .close span {
        height: 40px;
        width: 4px;
    }
    .modal-video .close span:last-child{
        margin-top: -40px;
    }
    #seven .social-form div {
        padding: 16px 25px
    }

    .modal .left-politica div, .modal .left-politica div a {
        font-size: 10px
    }

    .modal .btn-zakaz {
        width: 100%;
        min-width: 100%;
    }
    .modal label br{
        display: none;
    }
    .modal label:before{
        left: 0;
        top:14px;
    }
    .modal .bottom-modal div{
        padding-left: 25px;
    }
}

@media (max-width: 460px) {
    .modal-video .data-video {
        height: 85%;
        width: 80%;
    }

    .modal-video .close{
        right: 25px;
        top: 10px;
    }
    .modal .required {
        left: 110px
    }

    #seven .social-form div {
        padding: 16px 20px
    }

    .modal, .modal-thanks {
        padding: 45px 20px
    }
}

@media (max-width: 440px) {
    .modal-politika .title-modal{
        font-size:20px;
    }
    .modal-politika #policy-output {
        height: 82%;
    }
    h2 {
        font-size: 28px
    }
    .modal-video{
        top:60px;
    }
    .modal-video .data-video{
        height: 80%;
        width: 79%;
    }
}

@media (max-width: 420px) {
    .photo-director {
        margin-right: 20px;
    }
    .modal-cookie{
        padding-left: 15px;
        padding-right: 20px;
    }
    #seven .form-block label:before {
        top: 3px;
    }
    #seven .form-block label:after {
        top: 8px;
    }
    #seven .bottom-form {
        flex-direction: column;
        align-items: flex-start;
    }
    #seven .bottom-form button{
        margin-bottom: 20px;
    }
    #green, #nine, #six {
        padding-top: 40px
    }
    .modal-video .data-video {
        height: 78%;
        width: 81%;
    }

    #five, #seven, #ten {
        padding-top: 60px;
        padding-bottom: 60px
    }
    #seven.one{
        padding-top: 0;
    }
    #contacts, #feedback, #five, #sertifikat, #seven, #tarifs, #ten, section#eight, section#two {
        padding-bottom: 60px
    }

    h1 {
        font-size: 28px
    }

    h1 + .after-title {
        font-size: 16px;
        margin-top: 58px;
        color: #495577;
        display: flex
    }

    h1 + .after-title span:before {
        content: '';
        background: url('../img/top-mobile.png') no-repeat;
        width: 176px;
        height: 228px;
        display: block;
        min-width: 176px;
        margin-right: 11px;
        margin-top: -16px
    }

    .top-line {
        margin-top: 20px
    }

    .top-line__item .item-icon {
        width: 36px;
        min-width: 36px;
        height: 36px;
        background-size: contain !important
    }

    .top-line__item p {
        font-size: 16px
    }

    .top-line + .btn-zakaz {
        margin: 44px auto 0
    }

    section#one {
        padding-bottom: 43px
    }

    section#two {
        padding-top: 48px
    }

    section#two h2 {
        margin-bottom: 24px
    }

    .desc-block .title, .desc-three .title {
        margin-bottom: 8px
    }

    .line-bg img {
        height: 230px;
        object-fit: cover;
        border-radius: 6px
    }

    .line-bg {
        margin-top: 14px;
        margin-right: -15px;
        margin-left: -5px
    }

    .line-bg .slick-list {
        padding: 0 10% 0 0
    }

    .line-bg .slick-slide {
        margin: 0 5px
    }

    #contacts .form-block, #two .control-slider, #two .dots-slider {
        display: none
    }

    #five .book-video, #five .book-video img, .btn-zakaz.two-block {
        margin-top: 0
    }

    section#four, section#three {
        padding-top: 40px;
        padding-bottom: 40px
    }

    .about-company, .about-company img {
        height: 627px;
        margin-top: 0
    }

    .about-company {
        margin-top: 60px
    }

    .after-snoska {
        padding-right: 0;
        margin-top: 24px
    }

    #green .bg-section {
        margin-top: 25px
    }

    #green .desc-item {
        width: 335px !important;
        margin: 0 0 20px !important
    }

    #green .social-section {
        width: 110px;
        margin: 20px 0 0
    }

    #five {
        background-position: center 63px
    }

    #five .book-video, #five h3 {
        margin-top: 40px
    }

    #five .book-video, #five img, #nine .bg-block, #nine .bg-block img, #six .bg-block, #six .bg-block img {
        height: 627px
    }

    #six {
        padding-bottom: 30px
    }

    #six .desc-block.paper {
        margin-top: 10px
    }

    #seven .form-block {
        padding: 30px 12px
    }

    #seven h2 {
        text-align: center;
        margin-bottom: 32px
    }

    #seven .bottom-form {
        margin-top: 8px;
        padding: 17px 12px
    }

    #seven .bottom-form button {
        order: 1;
        font-size: 14px;
        padding: 23px 0px;
        min-width: 100%;
        margin-right: 15px;
    }
    #seven .bottom-form div{
        padding-left: 25px;
    }
    #seven .bottom-form div {
        order: 2
    }

    #seven .form-block input {
        margin-bottom: 8px;
        padding: 25px 17px
    }

    #seven .form-block, #seven.repeat-form .form-block {
        padding-bottom: 12px
    }

    #seven .social-form div {
        margin-bottom: 0;
        padding: 16px 12px
    }

    #eight h2, #sertifikat h2 {
        margin-bottom: 40px
    }

    #eight .bg-section {
        height: 166px
    }

    #eight .top-section {
        margin-top: 32px;
        margin-bottom: 32px
    }

    #contacts .block .adress, #nine h2 + p, #seven .social-form, #tarifs .tarif-item {
        margin-top: 24px
    }

    #feedback h2, #nine .bg-block, #seven.repeat-form h2 {
        margin-bottom: 32px
    }

    #contacts h2, #ten h2 {
        padding-bottom: 32px
    }

    #feedback .slider-feedback__item {
        height: 390px
    }

    #after-tarifs .bg-block {
        margin-bottom: 16px
    }

    #after-tarifs, #contacts .block .left-block {
        padding-bottom: 0
    }

    #contacts .block, #seven.repeat-form .form-block {
        padding-left: 12px
    }

    #sertifikat .icon-line {
        margin-top: 30px
    }

    #contacts .block {
        padding-left: 0
    }

    #contacts .soc-block {
        margin-top: 44px
    }

    #contacts .bg-block {
        display: block;
        position: relative;
        margin: -15px auto 0
    }
}
@media (max-width: 400px) {
      /*блок сертификата*/
    #sertifikat .bg-block .label{
        padding: 10px 12px;
    }
    #sertifikat .bg-block .label:before{
        left: 12px;
        top: 7px;
    }
    #sertifikat .bg-block .label.four{
        left: 5px;
        top: 29px;
        font-size: 16px;
        width: 120px;
    }
    #sertifikat .bg-block .label.two{
        right: 18px;
        top: 20px;
        font-size:16px;
        width: 113px;
    }
    #sertifikat .bg-block .label.three{
        right: 85px;
        bottom: 32px;
        font-size:16px;
        width: 110px;
    }
    #sertifikat .bg-block .label.one{
        left: 15px;
        top: 155px;
        font-size:16px;
        width: 115px;
    }
    /**/
    .modal-video .data-video{
        height: 75%;
    }
}
@media (max-width: 390px) {
    #seven .bottom-form{
        flex-direction:column;
        align-items: flex-start;
    }
    #seven .bottom-form button{
        margin-left: 0;
    }
    .photo-director {
        margin-right: 21px
    }
    #seven .bottom-form button{
        margin-bottom: 15px;
    }
    #seven .bottom-form div, .bottom-form div a {
        font-size: 10px;
    }
    #seven .form-block label:before{
        top:3px;
    }
    #seven .form-block label:after{
        top:8px;
    }

    #five {
        background-position: center 95px
    }
    .modal-video .data-video{
        height: 72%;
    }
}

@media (max-width: 380px) {
    .modal-video .data-video {
        height: 80%;
        width: 90%;
    }
    .menu-mobile-hidden{
        padding: 20px 40px;
    }
    .menu-mobile-hidden nav ul > li > a{
        font-size:16px;
    }
    .menu-mobile-hidden nav ul > li{
        margin-bottom: 16px;
        margin-right: 0;
    }
    .menu-mobile-hidden nav ul > li:last-child{
        margin-bottom: 0;
    }
    .menu-mobile-hidden nav ul{
        margin-top: 0px;
    }
    #after-tarifs p, .tarif-item__desc {
        font-size: 16px
    }

    .modal .required {
        left: 100px
    }

    .modal .close, .modal-thanks .close {
        top: 12px;
        right: 12px
    }

    .modal .bottom-modal {
        margin-top: 24px
    }

    .modal, .modal-thanks {
        padding: 45px 12px
    }

    .snoska .text {
        font-size: 17px
    }

    #green .desc-item {
        width: 320px !important
    }

    #seven .social-form span + span {
        margin-left: 0;
        margin-top: 7px;
        text-align: center
    }

    #seven .social-form .tlg span:first-child, #seven .social-form .wh span:first-child {
        margin: 0 auto;
        height: 41px;
        display: block
    }

    #seven .social-form a {
        margin-top: 10px
    }


    .slider-feedback .slick-list {
        padding: 0 38% 0 0
    }

    #feedback .slider-feedback__item {
        height: 426px
    }

    #feedback .slider-feedback {
        margin: 0 -15px
    }

    .tarif-item__desc, .tarif-item__name, .tarif-item__price, .tarif-item__srok {
        padding-right: 10px
    }
}

@media (max-width: 360px) {
     /**/
    #sertifikat .bg-block .label.three{
        right: 60px;
    }
    #sertifikat .bg-block .label.one{
        top: 130px;
    }
    
    /**/
    .modal-video .data-video {
        height: 75%;
    }
    .modal-cookie{
        font-size:12px;
        padding: 8px 20px;
    }
    #sertifikat .icon-line span {
        margin-right: 15px
    }

    .modal .title-modal, .modal-thanks .title-modal {
        font-size: 28px
    }

    #green .desc-item {
        width: 300px !important
    }



    .tarif-item__desc, .tarif-item__name, .tarif-item__price, .tarif-item__srok {
        padding: 0 20px
    }

    #tarifs .btn-zakaz {
        margin-left: 20px
    }
}

@media (max-width: 350px) {
    #tarifs h2 + p, .snoska .text {
        font-size: 16px
    }

    .photo-director {
        margin-right: 10px
    }

    #tarifs h2 + p {
        width: 100%
    }

    footer .phone-block a {
        font-size: 14px
    }
}

@media (max-width: 340px) {
     /*Сертификаты*/
    #sertifikat .bg-block .label{
        font-size:14px !important;
    }
    #sertifikat .bg-block .label:before {
        left: 12px;
        top: 7px;
        width: 24px;
        height: 24px;
        background-size: contain;
    }
    #sertifikat .bg-block .label.four{
        width: 110px;
    }
    #sertifikat .bg-block .label.two{
        width: 105px;
    }
    #sertifikat .bg-block .label.one {
        top: 116px;
        width: 105px;
    }
    #sertifikat .bg-block .label.three {
        right: 40px;
        width: 100px;
    }
    /**/
    
    .modal-video .data-video {
        height: 70%;
    }
    .modal-politika{
        padding: 15px;
    }
    #after-tarifs p {
        font-size: 14px
    }

    #sertifikat .icon-line p, footer ul > li > a {
        font-size: 16px
    }

    #green .desc-item {
        width: 280px !important
    }

    .slider-feedback .slick-list {
        padding: 0 35% 0 0
    }

    footer .phone-block a {
        font-size: 12px
    }

    footer .phone-block span {
        font-size: 8px
    }

    footer .phone-block {
        margin-top: 2px
    }

    h2 {
        font-size: 26px
    }

    #five {
        background-position: center 70px
    }
}

@media (max-width: 330px) {
    .modal-cookie{
        font-size:10px;
    }
    #seven .bottom-form div, .bottom-form div a {
        font-size: 11px
    }

    h2 {
        font-size: 24px
    }

    .snoska .text {
        font-size: 14px
    }
}

@media (max-width: 320px) {
    .modal-video .data-video {
        height: 66%;
    }
    .slider-feedback .slick-list {
        padding: 0 30% 0 0
    }
}