/* ---------------- screen > 991px ---------------- */
@media (min-width: 991px) {
    #mobile-header,
    #mobile-menu {
        display: none;
    }
    .desktop-hidden {
        display: none !important;
    }
}
/* ---------------- screen< 1300 ---------------- */
@media (max-width: 1300px) {
    #main h1 {
        font-size: 50px;
    }
    #main h2 {
        font-size: 22px;
    }
}
/* ---------------- screen< 1000 ---------------- */
@media (max-width: 1000px) {
    #about .info {
        max-width: 520px;
    }
}
/* ---------------- screen < 991px ---------------- */
@media (max-width: 991px) {
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 70px;
    }
    body {
        padding-top:60px;
    }
    .mobile-hidden {
        display: none !important;;
    }
    .container {
        max-width: 100vw;
        overflow: hidden;
        margin: 0;
    }
    .over-container {
        width: 100%;
        max-width: 100%;
    }
    .over-container.right {
        margin-left: 0;
    }
    .content {
        padding-top: 25px;
        padding-bottom: 20px;
    }
    .block + .block {
        margin-top: 58px;
    }
    .block .title {
        font-size: 20px;
        margin-bottom: 35px;
    }
    .button {
        background-color:#1F2937;
        color:white;
    }
    .button-direction-prev:hover, .button-direction-next:hover {
       background-color: white;
    }
    .button-direction-prev:hover:after, .button-direction-next:hover:after {
        background-image: url(../images/assets/arrow.png);
    }
    .button:hover {
        background-color:white;
        color:#1F2937;
    }
    header {
        display: none;
    }
    #mobile-header {
        display: flex;
        align-items: center;
        position: fixed;
        padding: 20px 15px;
        top: 0;
        left: 0;
        background-color: white;
        width: 100%;
        justify-content: space-between;
        z-index: 9999;
    }
    #mobile-header .socials li a {
        font-size:14px;
        font-weight:500;
    }
    footer {
        padding-bottom:0;
    }
    
    footer .footer-left {
        width: 55%;
    }
    footer .footer-right {
        width: 45%;
        text-align: left;
        flex-wrap: wrap;
        display: flex;
        justify-content: flex-start;
        align-content: flex-start;
    }
    footer .languages,
    footer .socials {
        padding-top: 0;
        margin-left: 0;
        width: 100%;
    }
    footer .socials {
        margin-top: 10px;
    }
    footer .footer-right .socials li {
        display:block;
        margin: 0 0 5px 0;
    }
    .mobile-contacts {
        display: flex;
        padding-bottom: 15px;
    }
    .mobile-contacts a {
        font-weight: 500;
        font-size: 14px;
        display: block;
        text-decoration: none;
    }
     .mobile-contacts a.telephone {
         width: 55%;
     }
    .mobile-contacts a.email {
         width: 45%;
     }
    /* ---------------- mobile menu ---------------- */
    #mobile-header .button-mobile-menu {
        width: 32px;
    }
    #mobile-header .button-mobile-menu span {
        display: block;
        background-color: #1F2937;
        width:100%;
        height:4px;
        border-radius: 2px;
    }
    #mobile-header .button-mobile-menu span + span {
        margin-top: 6px;
    }
    body.mobile-menu-open {
        width:100vw;
        height:100vh;
        overflow: hidden;
        position: relative;
    }
    #mobile-menu {
        position: fixed;
        background-color: #fff;
        width: 100vw;
        height: 100vh;
        top: 0;
        z-index: 9999;
        transition: all 0.3s;
        right: -110vw;
    }
    #mobile-menu.mobile-menu-active {
        right: 0;
    }
    #mobile-menu .mobile-menu-close {
        background-image: url('../images/assets/close.png');
        background-repeat: no-repeat;
        background-position: center;
        width: 24px;
        height: 24px;
        display: block;
        position: absolute;
        right: 15px;
        top: 15px;
        z-index: 9;
    }
    #mobile-menu .mobile-menu-content {
        padding: 100px 20px;
    }
    #mobile-menu .menu li {
        display: block;
        margin: 0;
    }
    #mobile-menu .menu li a{
        font-weight: 600;
        font-size: 28px;
        line-height: 1;
        display: block;
        padding: 5px 0;
    }
     #mobile-menu .languages {
        margin-top:20px;
    }
    #mobile-menu .languages li a {
        font-size: 16px;
        min-width: 40px;
        padding: 5px 11px;
    }
    #mobile-menu .socials {
        margin-top:20px;
    }
    #mobile-menu .socials li {
        display: block;
        margin: 0;
    }
    #mobile-menu .socials li a{
        font-weight: 600;
        font-size: 28px;
        line-height: 1;
        display: block;
        padding: 5px 0;
    }
    /* ---------------- main ---------------- */
    #main {
        flex-wrap: wrap;
    }
    #main .info {
        width: 100%;
        padding: 0;
    }
    #main h1 {
        font-size: 32px;
        margin-bottom: 19px;
    }
    #main h2 {
        font-weight: 700;
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 23px;
    }
    #main .description {
        margin-top: 30px;
        font-weight: 500;
        font-size: 13px;
        line-height: 1.6;
    }
    #main .button {
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
    }
    /* ---------------- about ---------------- */
    #about.block {
        flex-wrap: wrap;
        margin-top: 28px;
    }
    #about .info {
        max-width: 100%;
        padding: 0;
    }
    #about .info .title {
        margin-bottom: 30px;
    }

    #about .info .description {
        font-size: 13px;
        line-height: 1.7;
    }
    #about .image {
        margin-top: 40px;
    }
    #about.block + #about {
        margin-top: 60px;
    }
    /* ---------------- areas-of-work ---------------- */
    #areas-of-work .list {
        flex-wrap: wrap;
        gap: 0;
    }
    #areas-of-work .item {
        margin-bottom: 30px;
    }
    #areas-of-work .item .name {
        height: auto;
        margin-bottom: 25px;
    }
    #areas-of-work .item .description {
        font-size:14px;
        line-height: 1.4;
        width: 100%;
    }
    /* ---------------- principles ---------------- */
    #principles .title {margin-bottom: 18px;}
    #principles .item {
        width:100%;
        padding: 14px 10px;
        max-width: 100%;
    }
    #principles .item + .item {
        margin-bottom:0;
    }
    #principles .item .number {
        font-size: 47px;
        line-height: 1;
        margin-right: 14px;
    }
    #principles .item .description {
        font-size: 13px;
        line-height: 1.4;
    }
    /* ---------------- study ---------------- */
    #study.block {
        margin-top: 45px;
    }
    #study .title {
        margin-bottom: 40px;
    }
    #study .buttons {
        margin-top: 35px;
    }
     /* ---------------- service-order ---------------- */
    #service-order {
        padding-top: 37px;
        padding-bottom: 42px;
    }
    #service-order .title {
        font-weight: 600;
        font-size: 20px;
        margin-bottom: 20px;
    }
    #service-order .form-order form {
        padding: 59px 20px 62px 20px;
    }
    .form-order .button {
        color:#1F2937;
    }
    .form-order input {
        font-size:16px;
    }
    /* ---------------- service-order ---------------- */
    #quote .description {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
    }
    #quote .description p + p {
        margin-top: 26px;
    }
    /* ---------------- services ---------------- */
    #services .title {
        margin-bottom: 35px;
    }
    #services .item {
        flex-wrap: wrap;
        padding: 0;
    }
    #services .item .name,
    #services .item .info {
        max-width: 100%;
    }
    #services .item .name p {
        margin-bottom: 10px;
    }
    #services .info .description {
        font-size: 14px;
        line-height: 1.4;
    }
    #services .info .price {
        margin-top: 20px;
    }
    #services .info .button {
        margin-top: 34px;
    }
    #services .item + .item:before {
        display:none;
    }
    /* ---------------- reviews ---------------- */
    #reviews {
        padding-top: 40px;
        padding-bottom: 32px;
        background-image: url(../images/assets/reviews-mobile.jpg);
    }
    #reviews .title {
        color: black;
        font-size: 26px;
        padding-right: 40px;
        margin-bottom: 15px;
    }
    #reviews .title:after {
        position: absolute;
        display: inline-block;
        right: 0;
        top: -2px;
        margin: 0 0 0 10px;
        width: 32px;
        height: 32px;
    }
    #reviews .buttons {margin-top: 33px;}
    #reviews .swiper {
        overflow: hidden;
    }
}
