/* телефоны */
@media (max-width: 481px) {
    .container{
        width: calc(100% - 60px);
    }
    .container-header nav{
        max-height: 0; 
        overflow: hidden; 
        position: absolute;
        flex-direction: column;
        right: 0;
        top: calc(100% + 20px);
         
    }
    .menu{
       flex-direction: column; 
       background: rgba(29, 29, 29, 0.85);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        padding: 40px 40px 64px 40px;
        border-radius: 10px;
        border:1px solid #5D5D5D;
    }
    .menu li{
        text-align: center;
        padding-bottom: 35px;
    }
    header nav a{
        padding-left: 0;
        
    }
    .mobile-menu-close{
        display: none;
    }
    .mobile-menu-close.show{
        display: block;
    }
    .mobile-menu-icon.show{
        display: none;
    }
    .mobile-nav{
        display: block;
        cursor: pointer;
    }
    .menu-links-wrap.show {
        max-height: 500px; /* раскрытие вниз */
    }
    .logo{
        flex-grow: unset;
    }
    .ig-header{
        position: absolute;
        top: calc(100% - 64px);
    }
    .ig-header svg{
        padding-left: 0;
    }
    .main-container{
        padding-top: 420px;
    }
    .main-circle-text{
        left: calc(50% - 150px);
        top: 42px;
    }
    .main-hand{
        top: 100px;
        left: calc(50% - 130px);
    }
    .main-elipse{
        top: -113px;
        left: calc(50% - 357px)
    }
    .main-planet{
        top: 227px;
        left: 50%;
    }
    .main-letter-1{
        top: 190px;
        left: -12%;
    }
    .main-letter-2{
        top: 100px;
        left: 60%;
    }
    .main-letter-3{
        top: 260px;
        left: 20%;
    }
    .main-letter-4{
        top: 290px;
        left: 60%;
    }
    h1{
        font-size: 45px;
        text-align: left;
        width: 100%;
        line-height: 48px;
        font-size: clamp(34px, 10vw, 45px);
    }
    .main-container p{
        width: 100%;
        font-size: 24px;
        line-height: 32px;
        margin: 18px 0 29px;
    }
    .request-send{
        width: 100%;
    }
    .request-send__button{
        width: calc(100% - 152px);
        text-align: center;
    }
    .main-line{
        margin-top: 50px;
    }
    h3{
        line-height: 38px;
        margin-top: 13px;
    }
    .timeline-row{
        flex-direction: column;
        align-items: center;
    }
    .timeline-item h4{
        font-size: 20px;
        line-height: 24px;
    }
    .timeline-item p{
        width: auto;
    }
    .desc-item-3{
        display: none;
    }
    .timeline-row-1{
        height: auto;
        border-bottom:none;
    }
    .timeline-item3{
        padding-left: 0;
    }
    .timeline-item p{
        margin-bottom: 52px;
    }
    .timeline-item2 p{
        margin-bottom: 52px;
    }
    .timeline-item2{
        align-items: flex-start;
    }
    .timeline-item2 .timeline-text-wrap1{
        padding-top: 0;
    }
    .timeline-row2{
        flex-direction: column;
        align-items: center;
    }
    .timeline-item2 p{
        width: auto;
    }
    .timeline-item2 h4{
        font-size: 20px;
        line-height: 24px;
    }
    .timeline-num{
        width: 62px ;
        flex:none
    }
    .timeline-item2 .timeline-text-wrap2{
        padding-top: 0;
        width: 100%;
    }
    .timeline-num{
        padding-right: 7px;
    }
    .circle-vert-2{
        top: -7px;
    }
    .circle-vert-4{
        top: -14px;
    }
    .line-vert-4{
        top: -18px;
    }
    .line-vert-1{
        top: -7px;
    }
    .line-vert-2{
        top: -14px;
    }
    .circle-vert-3{
        top:-14px;
    }
    .circle-vert-1{
        top:-2px;
    }
    .line-vert-3{
        top:-22px;
        height: calc(100% + 12px);
    }
    #service-section{
        margin-top: 0px;
    }
    .service-container{
        z-index: 2000;
    }
    .service-container h3{
        margin-bottom: 34px;
    }
    .service-wrap{
        flex-direction: column;
        margin-bottom: 490px;
    }
    .service-wrap p{
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 35px;
        margin-right: 0;
    }
    .service-rocket{
        top: 350px;
    }
    .service-space{
        top: 450px; 
        right: calc(50% - 300px);
    }
    .service-item{
        flex-direction: column;
        padding: 20px 0 ;
    }
    .service-moon{
        display: none;
    }
    .service-item h4{
        width: 100%;
        margin-bottom: 35px;
        margin-right: 0;
    }
    .service-item p{
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 0px;
        margin-right: 0;
    }
    .mobile-item-3{
        display: flex;
    }
    .timeline-row-2{
        padding-right: 0;
    }
    .pocket-wrap{
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .pocket-item{
        width: calc(100% - 80px);
        margin-bottom: 20px;
    }
    .footer-container{
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 42px;
    }
    .footer-container p{
        margin-top: 20px;
    }
    .footer-space{
        display: none;
    }
    .footer-spacem{
        display: block;
        position: absolute;
        left: 80px;
        bottom:-210px;
        width: 478px;
        z-index: 1;
    }
    .contact-form-wrap{
        flex-direction: column;
    }
    .contact-form{
        width: 100%;
        margin-bottom: 80px;
    }
    .contact-form button{
        width: 100%;
    }
    .port-small-wrap{
        display: none;
    }
    .portfolio-item {
        flex-direction: column;
    }
    .port-desc{
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    .portfolio-col-right{
        width: calc(100% + 20px);
        height: 65vw;
        display: flex;
        flex-direction: row;
        overflow: visible;
        overflow-x: scroll;
        right: 30px;
        padding-left: 30px;
        padding-right: 10px;
    }
    .portfolio-col-right .slide{
        position: relative;
        width: calc(60vw);
        height: 60vw;
        opacity: 1;
        margin-right: 20px;
    }
    .mobile-scroll{
         width: fit-content;
        height: 60vw;
        display: flex;
        flex-direction: row;
    }
    .controls{
        display: none;
    }
    .success-message{
        padding: 40px;
        width: calc(100% - 80px);
        left: 0;
        top: 100px;
    }
    .success-message h6{
        margin-top: 180px;
    }
    .success-message p{
        font-size: 30px;
        line-height: 36px;;
    }
    .success-close{
        display: block;
        width: calc(100% - 40px);
        padding: 20px;
        text-align: center;
    }
    .success-message img{
        width: 165px;
        right: calc(100% - 202px);
        top: -61px;
    }
    #main-section{
        overflow: hidden;
    }
    #service-section{
        overflow: hidden;
    }
    #about-section{
        overflow: hidden;
    }
    #pocket-section{
        overflow: hidden;
        margin-top: 0px;
    }
    #portfolio-section{
        overflow: hidden;
        margin-top: 0;
    }
    .service-list p br{
        display: none;
    }
}

/* Планшеты (481px – 768px) */
@media (min-width: 481px) and (max-width: 960px) {
            .container{
        width: calc(100% - 60px);
    }
    .container-header nav{
        max-height: 0; 
        overflow: hidden; 
        position: absolute;
        flex-direction: column;
        right: 0;
        top: calc(100% + 20px);
         
    }
    .menu{
       flex-direction: column; 
       background: rgba(29, 29, 29, 0.85);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        padding: 40px 40px 64px 40px;
        border-radius: 10px;
        border:1px solid #5D5D5D;
    }
    .menu li{
        text-align: center;
        padding-bottom: 35px;
    }
    header nav a{
        padding-left: 0;
        
    }
    .mobile-menu-close{
        display: none;
    }
    .mobile-menu-close.show{
        display: block;
    }
    .mobile-menu-icon.show{
        display: none;
    }
    .mobile-nav{
        display: block;
        cursor: pointer;
    }
    .menu-links-wrap.show {
        max-height: 500px; /* раскрытие вниз */
    }
    .logo{
        flex-grow: unset;
    }
    .ig-header{
        position: absolute;
        top: calc(100% - 64px);
    }
    .ig-header svg{
        padding-left: 0;
    }
    .main-container{
        padding-top: 420px;
    }
    .main-circle-text{
        left: calc(50% - 150px);
        top: 42px;
    }
    .main-hand{
        top: 100px;
        left: calc(50% - 130px);
    }
    .main-elipse{
        top: -113px;
        left: calc(50% - 357px)
    }
    .main-planet{
        top: 227px;
        left: 50%;
    }
    .main-letter-1{
        top: 190px;
        left: -12%;
    }
    .main-letter-2{
        top: 100px;
        left: 60%;
    }
    .main-letter-3{
        top: 260px;
        left: 20%;
    }
    .main-letter-4{
        top: 290px;
        left: 60%;
    }
    h1{
        font-size: 45px;
        text-align: left;
        width: 100%;
        line-height: 48px;
        font-size: clamp(34px, 10vw, 45px);
    }
    .main-container p{
        width: 100%;
        font-size: 24px;
        line-height: 32px;
        margin: 18px 0 29px;
    }
    .request-send{
        width: 100%;
    }
    .request-send__button{
        width: calc(100% - 152px);
        text-align: center;
    }
    .main-line{
        margin-top: 50px;
    }
    h3{
        line-height: 38px;
        margin-top: 13px;
    }
    .timeline-row{
        flex-direction: column;
        align-items: center;
    }
    .timeline-item h4{
        font-size: 20px;
        line-height: 24px;
    }
    .timeline-item p{
        width: auto;
    }
    .desc-item-3{
        display: none;
    }
    .timeline-row-1{
        height: auto;
        border-bottom:none;
    }
    .timeline-item3{
        padding-left: 0;
    }
    .timeline-item p{
        margin-bottom: 52px;
    }
    .timeline-item2 p{
        margin-bottom: 52px;
    }
    .timeline-item2{
        align-items: flex-start;
    }
    .timeline-item2 .timeline-text-wrap1{
        padding-top: 0;
    }
    .timeline-row2{
        flex-direction: column;
        align-items: center;
    }
    .timeline-item2 p{
        width: auto;
    }
    .timeline-item2 h4{
        font-size: 20px;
        line-height: 24px;
    }
    .timeline-num{
        width: 62px ;
        flex:none
    }
    .timeline-item2 .timeline-text-wrap2{
        padding-top: 0;
        width: 100%;
    }
    .timeline-num{
        padding-right: 7px;
    }
    .circle-vert-2{
        top: -7px;
    }
    .circle-vert-4{
        top: -14px;
    }
    .line-vert-4{
        top: -18px;
    }
    .line-vert-1{
        top: -7px;
    }
    .line-vert-2{
        top: -14px;
    }
    .circle-vert-3{
        top:-14px;
    }
    .circle-vert-1{
        top:-2px;
    }
    .line-vert-3{
        top:-22px;
        height: calc(100% + 12px);
    }
    #service-section{
        margin-top: 0px;
    }
    .service-container{
        z-index: 2000;
    }
    .service-container h3{
        margin-bottom: 34px;
    }
    .service-wrap{
        flex-direction: column;
        margin-bottom: 490px;
    }
    .service-wrap p{
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 35px;
        margin-right: 0;
    }
    .service-rocket{
        top: 350px;
    }
    .service-space{
        top: 450px; 
        right: calc(50% - 300px);
    }
    .service-item{
        flex-direction: column;
        padding: 20px 0 ;
    }
    .service-moon{
        display: none;
    }
    .service-item h4{
        width: 100%;
        margin-bottom: 35px;
        margin-right: 0;
    }
    .service-item p{
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 0px;
        margin-right: 0;
    }
    .mobile-item-3{
        display: flex;
    }
    .timeline-row-2{
        padding-right: 0;
    }
    .pocket-wrap{
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .pocket-item{
        width: calc(100% - 80px);
        margin-bottom: 20px;
    }
    .footer-container{
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 42px;
    }
    .footer-container p{
        margin-top: 20px;
    }
    .footer-space{
        display: none;
    }
    .footer-spacem{
        display: block;
        position: absolute;
        left: 80px;
        bottom:-210px;
        width: 478px;
        z-index: 1;
    }
    .contact-form-wrap{
        flex-direction: column;
    }
    .contact-form{
        width: 100%;
        margin-bottom: 80px;
    }
    .contact-form button{
        width: 100%;
    }
    .port-small-wrap{
        display: none;
    }
    .portfolio-item {
        flex-direction: column;
    }
    .port-desc{
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    .portfolio-col-right{
        width: calc(100% + 20px);
        height: 65vw;
        display: flex;
        flex-direction: row;
        overflow: visible;
        overflow-x: scroll;
        right: 30px;
        padding-left: 30px;
        padding-right: 10px;
    }
    .portfolio-col-right .slide{
        position: relative;
        width: calc(60vw);
        height: 60vw;
        opacity: 1;
        margin-right: 20px;
    }
    .mobile-scroll{
         width: fit-content;
        height: 60vw;
        display: flex;
        flex-direction: row;
    }
    .controls{
        display: none;
    }
    .success-message{
        padding: 40px;
        width: calc(100% - 80px);
        left: 0;
        top: 100px;
    }
    .success-message h6{
        margin-top: 180px;
    }
    .success-message p{
        font-size: 30px;
        line-height: 36px;;
    }
    .success-close{
        display: block;
        width: calc(100% - 40px);
        padding: 20px;
        text-align: center;
    }
    .success-message img{
        width: 165px;
        right: calc(100% - 202px);
        top: -61px;
    }
    #main-section{
        overflow: hidden;
    }
    #service-section{
        overflow: hidden;
    }
    #about-section{
        overflow: hidden;
    }
    #pocket-section{
        overflow: hidden;
        margin-top: 0px;
    }
    #portfolio-section{
        overflow: hidden;
        margin-top: 0;
    }
    .service-list p br{
        display: none;
    }
}