
/* Footer Responsive */
@media (max-width: 1500px) {
    .applications-section:before {
        content: '';
        top: 117px;
        left: -341px;
        width: 1756px;
        height: 1738px;
        background-size: contain;
        z-index: -1;
    }
    .how-it-works-section:before{
        right: -450px;
    }
    .fos-section:before {
        content: '';
        width: 2446px;
        height: 1380px;
        background-size: cover;
        bottom: -479px;
        z-index: -1;
        left: -411px;
        margin: 0 auto;
        background-position: bottom;
    }
}

@media (max-width: 1399px) {
    .header-nav .nav {
        gap: 20px;
    }
    .header-image-step-4 {
        bottom: 92px;
        left: -1px;
    }
    .header-image-step-3 {
        left: 189px;
        bottom: -75px;
        max-width: 320px;
    }
    .header-image-step-2 {
        bottom: 61px;
        right: 0;
    }
    .vned-bg {
        position: absolute;
        right: 202px;
        bottom: -17px;
        pointer-events: none;
        max-width: 425px;
    }
    .fos-section img{
        max-width: 250px;
    }
    .col-fos-text {
        padding-left: 30px;
        padding-right: 20px;
    }
    .turnkey-step-4 {
        bottom: -138px;
        left: -81px;
    }
    .turnkey-step-3 {
        bottom: -53px;
        left: 368px;
    }
}


@media (max-width: 1199px) {
    .btn{
        padding: 14px 22px;
    }
    .btn-form{
        padding: 14px 22px;
    }
    .header-title {
        font-size: 101px;
    }
    .header-nav .nav {
        gap: 10px;
    }
    .header-contacts{
        gap: 10px;
    }
    .header-nav .nav-link {
        font-size: 14px;
    }
    .phone-link {
        font-size: 16px;
    }
    .header-logo img {
        height: 58px;
    }
    .image-header {
        position: relative;
        top: -32px;
        left: 18px;
    }
    .eclipse-header {
        position: absolute;
        left: -79px;
        top: -63px;
        max-width: 628px !important;
        pointer-events: none;
    }
    .header-image-step-3 {
        left: 85px;
        bottom: -104px;
        max-width: 320px;
    }
    .header-main{
        padding-bottom: 100px;
    }
    .header-image-step-2 {
        bottom: 19px;
        right: 0;
    }
    .vned-bg {
        position: absolute;
        right: 273px;
        bottom: -26px;
        pointer-events: none;
        max-width: 267px;
    }
    .how-it-works-title {
        font-weight: 500;
        font-size: 24px;
    }
    .section-title {
        font-size: 32px;
    }
    .model-card-title {
        font-weight: 500;
        font-size: 25px;
    }
    .fos-section .section-title {
        max-width: 346px;
    }
    .fos-section img {
        max-width: 182px;
    }
    .turnkey-step-4 {
        bottom: -178px;
        left: -105px;
        max-width: 300px;
    }
    .turnkey-step-1 {
        top: 30px;
        left: 232px;
    }
    .turnkey-step-2 {
        top: 206px;
        left: 11px;
        max-width: 300px;
    }
    .turnkey-step-3 {
        bottom: -201px;
        left: 266px;
    }
    .partners-section .col-lg-2{
        width: 19.666667%;
    }
    .partners-section .col-lg-4 {
        flex: 0 0 auto;
        width: 39.333333%;
    }
    }

@media (max-width: 991px) {
     .header-title {
        font-size: 80px;
    }
    
    .header-subtitle {
        font-size: 24px;
    }
    
    .header-desc {
        font-size: 18px;
    }
    
    .header-image {
        text-align: center;
        margin-top: 40px;
    }
    
    .header-main {
        padding: 40px 0;
    }
      .video-item-large {
        height: 350px;
    }
    
    .video-item-small {
        height: 180px;
    }
    .footer {
        padding: 50px 0 0 0;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
    
    .footer-desc {
        max-width: 100%;
    }
    
    .footer-phone {
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-btn {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-social-right {
        justify-content: flex-start;
    }
 .turnkey-title {
        font-size: 28px;
    }
    
    .turnkey-circle {
        width: 350px;
        height: 350px;
    }
    
    .turnkey-circle-center {
        width: 90px;
        height: 90px;
    }
    
    .turnkey-circle-text {
        font-size: 14px;
    }
    
    .turnkey-step {
        width: 130px;
    }
    
    .turnkey-step-title {
        font-size: 12px;
    }
    
    .turnkey-step-text {
        font-size: 10px;
    }
    
    .turnkey-step-2 {
        right: -15px;
    }
    
    .turnkey-step-4 {
        left: -15px;
    }
    .header-desc {
        font-size: 18px;
        margin-left: 0;
        margin-bottom: 30px;
    }
    .eclipse-header {
        max-width: 150% !important;
        left: -38px;
        top: -119px;
    }
    .image-header{
        max-width: 80%!important;
    }
    .header-image-step-title {
        font-size: 22px;
    }
    .header-image-step-4 {
        bottom: 92px;
        left: 40px;
    }
    .header-image-step-3 {
        left: 249px;
        bottom: -50px;
        max-width: 305px;
    }
    .header-main {
        padding: 40px 0;
        padding-bottom: 80px;
    }
    .header-image-step-2 {
        bottom: 119px;
        right: 50px;
    }
    .header-image-step-1 {
        top: -9px;
        left: 428px;
    }
    .vned-bg{
        display: none;
    }
    .how-it-works-section {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    .col-fos-text {
        padding-left: 10px;
        padding-right: 10px;
    }
    .fos-section img {
        max-width: 271px;
        margin-top: -89px;
        margin-left: 36px;
    }
    .fos-section {
        position: relative;
        padding-top: 50px;
    }
    .video-section{
        padding-bottom: 50px;
    }
    .turnkey-row{
        grid-template-columns: 1fr;
    }
    .section-title br{
        display: none;
    }
    .turnkey-subtitle{
        max-width: 100%;
    }
    .turnkey-eclipse{
        margin: 0 auto;
        position: unset;
        display: block;
    }
    .turnkey-step {
        width: 230px;
    }
    .turnkey-step-1 {
        top: 27px;
        left: auto;
        right: 0;
    }
    .turnkey-step-2{
        right: 0;
        left: 170px;
    }
    .turnkey-step-4{
        left: 118px;
        bottom: -123px;
    }
    .turnkey-step-3{
        bottom: 00px;
        right: 14px;
        left: auto;
    }
    .reg-section-bg:before {

        top: -335px;
    }
    .partners-section .col-lg-2 {
        width: 32.666667%;
    }
    .partners-section .col-lg-4{
        width: 100%;
    }
    .partner-cta{
        padding: 20px;
    }
    .faq-section {
        padding-top: 0;
        padding-bottom: 70px;
    }
    .col-footer-right{
        align-items: center;
    }
    .footer-links{
        text-align: center;
    }
    .footer-phone a{
        text-align: center;
    }
    .footer-logo{
        text-align: center;
    }


    /* Бургер */
    .burger {
        width: 32px;
        height: 22px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        background: none;
        border: 0;
        padding: 0;
        z-index: 1001;
    }

    .burger span {
        height: 3px;
        width: 100%;
        background: #6a8ad7;
        border-radius: 2px;
        transition: 0.3s;
    }

    /* Анимация превращения в крестик */
    .burger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    .burger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Оверлей */
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 999;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Меню */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        padding: 70px 20px 20px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: 0.35s ease;
        z-index: 1000;
    }

    .mobile-menu.active {
        right: 0;
    }

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

    .mobile-menu .nav-item {
        margin-bottom: 18px;
    }

    .mobile-menu .nav-link {
        display: block;
        font-size: 18px;
        text-decoration: none;
        color: #000;
        transition: 0.2s;
    }

    .mobile-menu .nav-link:hover {
        color: #0088ff;
    }

    .burger,
    .mobile-menu,
    .mobile-overlay {
        display: flex;
    }
    .header{
        z-index: 9;
    }

    .header-nav .nav{
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .mobile-menu .nav-item {
        margin-bottom: 0;
    }
    .menu-order{
        order: 1;
        margin: 0 !important;
    }
    .header-contacts {
        align-items: center;
    }
    .burger{
        z-index: 9999;
        position: relative;
    }
    .faq-section .section-title{
        margin: 0 auto;
    }
    }


@media (max-width: 767px) {
    .footer {
        padding: 40px 0 0 0;
    }
    
    .footer-bottom {
        margin-top: 30px;
    }
    
    .footer-legal {
        justify-content: flex-start;
        margin-top: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .copyright {
        text-align: left;
    }

    
    .footer-logo {
        margin-bottom: 30px;
    }
    
    .footer-title {
        margin-bottom: 20px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }

    .row-grid-5{
        grid-template-columns: repeat(5, 1fr);
    }
    .col-last{
        grid-column: span 4;
    }
    .header-nav .nav-link{
        margin: 0;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 50px 0 0 0;
    }
    
    .footer-desc {
        max-width: 100%;
    }
    
    .footer-bottom {
        margin-top: 40px;
    }
    
    .footer-legal {
        justify-content: flex-start;
        margin-top: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .copyright {
        text-align: left;
    }
      .header-title {
        font-size: 60px;
    }
    
    .header-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 28px;
    }
    

    
    .header-nav .nav {
        gap: 15px;
    }
        .video-item-large {
        height: 250px;
    }
    
    .video-item-small {
        height: 150px;
    }
     .turnkey-section {
        padding: 60px 0;
    }
    
    .turnkey-circle-wrapper {
        margin-top: 40px;
        min-height: 400px;
    }
    
    .turnkey-circle {
        width: 300px;
        height: 300px;
    }
    
    .turnkey-step-2,
    .turnkey-step-4 {
        left: -10px;
        right: auto;
    }
     .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 20px 25px;
    }
    
    .faq-answer p {
        font-size: 14px;
        padding: 0 25px 20px 25px;
    }
    .eclipse-header {
        max-width: 116% !important;
        top: -75px;
    }
    .header-image-step-text{
        font-size: 14px;
    }
    .header-image-step-title {
        font-size: 18px;
    }
    .header-image-step-title:after{
        width: 12px;
        height: 12px;
    }
    .header-image-step-1 .header-image-step-title:after {
        left: -31px;
        top: 5px;

    }
    .header-image-step-1 {
        top: 4px;
        left: 331px;
    }
    .image-header {
        position: relative;
        top: 18px;
        left: -25px;
        max-width: 65% !important;
    }
    .header-image-step-4 {
        bottom: -28px;
        left: 24px;
    }
    .header-image-step-3 {
        bottom: -145px;
    }
    .header-image-step-2 {
        bottom: -24px;
        right: 0px;
    }
    .header-main {
        padding-bottom: 154px;
    }
    .models-section {
        padding: 40px 0;
        padding-bottom: 40px;
    }

    .fos-section .col-auto{
        width: 100%;
        max-width: 100%;
    }
    .fos-section .section-title{
        margin: 0 auto;
        text-align: center;
        margin-bottom: 20px;
    }
    .fos-text{
        margin: 0 auto;
        text-align: center;
    }
    .fos-section img{
        margin: 0 auto;
        display: block;
    }
    .fos-section .btn {
        padding: 14px 40px;
        margin: 0 auto;
        margin-top: 25px;
        margin-bottom: 20px;
    }
    .video-section {
        padding-top: 80px;
    }
    .turnkey-section {
        padding: 40px 0;
    }
    .turnkey-step-title:after{
        width: 12px;
        height: 12px;
    }
    .turnkey-eclipse{
        max-width: 100%;
    }
    .turnkey-step-1 {
        top: 54px;
    }
    .turnkey-step-2{
        left: 85px;
        right: auto;
    }
    .turnkey-step-4{
        left: 46px;
        right: auto;
    }
    .turnkey-step-3 {
        bottom: -62px;
        right: 0;
    }
    .reg-section {
        padding-top: 200px;
    }
    .reg-section-bg:before {
        top: -290px;
        right: -202px;
    }
    .partners-section {
        padding-top: 120px;
        padding-bottom: 50px;
    }
    .partners-section .col-lg-2 {
        width: 50%;
    }
    .row-grid-5{
        grid-template-columns: repeat(2, 1fr);
    }
    .col-last{
        grid-column: span 2;
    }
    .faq-section .section-title {

        font-size: 34px;
    }
    .copyright {
        text-align: center;
    }
    .footer-legal a{
        text-align: center;
    }
}



@media (max-width: 575px) {
    .header-logo{
        width: 50px;
        overflow: hidden;
    }
    .header-logo img{
        height: 50px;
        object-fit: cover;
        object-position: left;
    }
    .header-icon-social2 svg,
    .header-icon-social svg{
        max-width: 30px;
    }
    .phone-link {
        font-size: 14px;
    }
    .header-btns {
        gap: 10px;
    }
    .btn {
        padding: 10px;
        border-radius: 15px;
    }
    .btn-form {
        padding: 10px;
        border-radius: 15px;
    }
    .header-note {
        font-size: 13px;
        margin-top: 15px;
    }
    .eclipse-header{
        display: none;
    }
    .image-header{
        display: none;
    }

    .header-image-step{
        position: unset;
        margin-bottom: 20px;
    }
    .header-image{
        padding-left: 25px;
    }
    .header-image-step .header-image-step-title:after {
        left: -25px;
        top: 5px;
    }
    .header-image-step-text{
        max-width: 100%!important;
    }
    .header-main {
        padding-bottom: 0;
    }
    .section-title {
        font-size: 24px;
    }
    .application-item {

        padding: 25px 20px 20px 20px;
    }
    .vned-section .btn {
        padding: 12px 40px;
    }
    .how-it-works-section {
        padding-top: 60px;
    }
    .how-it-works-item{
        padding: 25px;
    }
    .vned-section .section-title{
        text-align: center;
    }
    .vned-text{
        text-align: center;
    }
    .model-card{
        padding: 25px;
    }
    .model-card-title {
        font-size: 18px;
    }
    .model-card-header span {
        font-weight: 300;
        font-size: 16px;
    }
    .fos-section {
        padding-top: 0;
    }
    .video-item-small {
        height: 105px;
    }
    .turnkey-section{
        padding-top: 0;
    }
    .turnkey-step{
        position: unset;
        margin-bottom: 20px;
        max-width: 100%;
        width: 100%;
    }
    .turnkey-eclipse{
        display: none;
    }
    .turnkey-section .section-title {
        margin-bottom: 20px;
    }
    .turnkey-right{
        margin-top: 30px;
        padding-left: 25px;
    }
    .turnkey-step-title:after {
        top: 8px!important;
        left: -20px!important;
    }
    .turnkey-step-title{
        font-size: 18px;
        margin-bottom: 10px;
    }
    .reg-section {
        padding-top: 50px;
    }
    .reg-section-bg:before {
        top: -214px;
        right: -143px;
        width: 865px;
        height: 1096px;
    }
    .reg-title{
        font-size: 24px;
        margin-top: 80px;
    }
    .partners-section {
        padding-top: 60px;
    }
    /*.row-grid-5 {*/
    /*    grid-template-columns: 1fr;*/
    /*}*/
    /*.col-last {*/
    /*    grid-column: span 1;*/
    /*}*/
    .partners-section .col{
        margin-top: 10px;
    }
    .partners-section .col:nth-child(even){
        padding-left: 5px;
    }
    .partners-section .col:nth-child(odd){
        padding-right: 5px;
    }
    .video-item-large {
        height: 196px;
    }
    .video-section .col-6{
        margin-top: 10px;
    }
    .video-section .col-6:nth-child(even){
        padding-left: 5px;
    }
    .video-section .col-6:nth-child(odd){
        padding-right: 5px;
    }

    .modal-content {
        padding: 20px;
        padding-top: 45px;
    }
    .faq-section{
        padding-top: 30px;
    }
    .faq-section .section-title {
        font-size: 24px;
    }
    .ip-accordion .accordion-button{
        font-size: 18px;
    }
    .row-btns{
        flex-direction: column;
    }
    .row-btns .btn{
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }
    .partner-logo{
        padding: 15px;
    }
    .partner-logo img{
        max-height: 80px;
    }
    .partner-logo{
        height: 100px;
    }
    .header-desc {
        margin-bottom: 20px;
        margin-top: 15px;
    }
    .form-row{
        grid-template-columns:  1fr;
    }
}