*,
*::after,
*::before{
    box-sizing: border-box;
}

a{
    color: inherit;
    text-decoration: none;
}

body{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Возвращаем центрирующий контейнер, который держит шапку */
.container {
    width: 100%;
    max-width: 1200px; /* Если у вас была другая ширина сайта, например 1170px или 1000px, укажите её здесь */
    margin: 0 auto !important;
    position: relative !important;
    box-sizing: border-box;
}


/* .container{
    max-width: 1000px;
    padding: 0 10px;
    margin: 0 auto;
} */

.header{
    
    background:rgb(47,46,46);

    /* background-repeat: no-repeat;
    background-size: cover;     */
    
}

.header__top{
    
    position: relative;      
    padding-top: 10px;
    padding-bottom: 10px;
    max-height: 314px;
    display: flex;
    justify-content: space-between;
}

.header_top-main_title{
    display: flex;
    
}

.header_title{
    font-family: 'Roboto Slab', serif; 
    font-weight: 700;
    font-size: 72px;
    line-height: 95px;
    color: red;
}


.dropdown {
    cursor: pointer;
    top: 241px;
    left: 333px;
    position: absolute;
    display: inline-block;
    width: 168px;
    height: 45px;
    border: 1px solid #afa2a2;   
    transition: all 0.5s; 
}
.dropdown:hover{
    background-color: #5b7a68;
    transition: all 0.5s;
}

.svg_vector{
    position: relative;
    left: 128px;
    top: 10px;
    
}
polyline.svg_vector_line{
    
    fill: transparent;
    stroke: #ffffff;
    stroke-width: 1.5;

}

/* .svg_vector:hover polyline{
    stroke: #cc530e;
} */

.dropbtn {  
    cursor: pointer;
    width: 148px;
    height: 45px;
    top: -1px;
    left: 10px;
    position: absolute;
    color: #ffffff;
    font: 15px/1.4em sans-serif;
    background: #2B2B2B;
    background: rgba(0, 0, 0, 0.0);
    border: 0px solid #2B2B2B;
    display: flex;
    justify-content: left;
    align-items: center;
}

.dropbtn_text{
    background-color: #ffffff;
}
.dropbtn_text:hover{
    background-color: #808080;
}

.button_EN{
    position: absolute;
    top: 24px;
    left: -1px;
    cursor: pointer;
    width: 168px;
    height: 45px;
    border: 1px solid #afa2a2;
    background: #2B2B2B;
    color: #ffffff;
    font: 15px/1.4em sans-serif;
    padding-right: 113px;  
    transition: all 0.5s; 
}

.button_EN:hover{
    background-color: #808582;
    transition: all 0.5s;
}
.button_RU{
    position: absolute;
    top: 68px;
    left: -1px;
    cursor: pointer;
    width: 168px;
    height: 45px;
    border: 1px solid #afa2a2;
    background: #2B2B2B;
    color: #ffffff;
    font: 15px/1.4em sans-serif;
    padding-right: 113px; 
    transition: all 0.5s;  
}
.button_RU:hover{
    background-color: #808582;
    transition: all 0.5s;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 141px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
  /* Ссылки внутри выпадающего списка */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
/* Показать выпадающее меню (используйте JS, чтобы добавить этот класс .dropdown-content содержимого, когда пользователь нажимает на кнопку выпадающего списка) */
.show {display:block;}










/* .header_btn{
    cursor: pointer;
    width: 168px;
    height: 45px;
    border: 1px solid #afa2a2;
    position: absolute;
    margin-left: 337px;
    top: 240px;
    background: #2B2B2B;
    transition: 0.3s;
} */
.header_btn:hover{
    background: #171414;
}




.vector_1{
    position: absolute;
    width: 9px;
    height: 2px;
    background-color: #ffffff;
    transform: rotate(50deg);
}

.vector_1:hover{
    background-color: #171414;
}
.vector_2{
    position: absolute;
    margin-left: 6px;
    width: 9px;
    height: 2px;
    background-color: #ffffff;
    transform: rotate(-50deg);
}
.vector_2:hover{
    background-color: #171414;
}


.link_youtube-insta{
    margin-left: 30px;
    margin-top: 37px;
}
.youtube_img{
    padding-right: 3px;
    padding-left: 3px;
}
.rutube_img{
    padding-right: 1px;
    padding-left: 1px;
    border-radius: 2px;    
}
.telega_png{
    padding-right: 1px;
    padding-left: 2px;
    border-radius: 2px; 
}

.header_top-title{
    position: absolute;
    top: 105px;
    left: 294px;
    color: rgb(255, 255, 255);
    font-weight: 500;
    font-size: 25px;
    line-height: 1.2em;
    font-family: 'Roboto Slab', serif;
}
.menu{
    position: absolute;
    top: 182px;
    left: 285px;
    color: rgb(255, 255, 255);
    

    
}




.menu__list{
    display: flex;    
}
.menu_item {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 100px;    
    height: 34px;
    background-color: rgb(202,233,189);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; 
    transition: 0.3S;  
}
.menu_item:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}

.menu_item_1_main {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 70px;    
    height: 34px;
    background-color: #68b04d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: 0.3s; 
}
.menu_item_1_main:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}
.menu_item_1 {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 70px;    
    height: 34px;
    background-color: rgb(202,233,189);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; 
    transition: 0.3S;  
}
.menu_item_1:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}
.menu_item_2_main {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 70px;    
    height: 34px;
    background-color: #68b04d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: 0.3s; 
}
.menu_item_2_main:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}

.menu_item_2 {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 70px;    
    height: 34px;
    background-color: rgb(202,233,189);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; 
    transition: 0.3S;  
}
.menu_item_2:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}


.menu_item_3_main {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 84px;    
    height: 34px;
    background-color: #68b04d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: 0.3s; 
}
.menu_item_3_main:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}

.menu_item_3 {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 84px;    
    height: 34px;
    background-color: rgb(202,233,189);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; 
    transition: 0.3S;  
}
.menu_item_3:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}

.menu_item_4_main {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 66px;    
    height: 34px;
    background-color: #68b04d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: 0.3s; 
}
.menu_item_4_main:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}



.menu_item_4 {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 66px;    
    height: 34px;
    background-color: rgb(202,233,189);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; 
    transition: 0.3S;  
}
.menu_item_4:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}
.menu_item_5_main {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 75px;    
    height: 34px;
    background-color: #68b04d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: 0.3s; 
}
.menu_item_5_main:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}

.menu_item_5 {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 75px;    
    height: 34px;
    background-color: rgb(202,233,189);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; 
    transition: 0.3S;  
}
.menu_item_5:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}
.menu_item_6_main {
    margin-left: 10px;
    border: 1px solid #171414;
    width: 70px;    
    height: 34px;
    background-color: #68b04d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: 0.3s; 
}
.menu_item_6_main:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}

.menu_item_6{
    
    margin-left: 10px;
    border: 1px solid #171414;
    width:70px;    
    height: 34px;
    background-color: rgb(202,233,189);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: 0.4s;
}
.menu_item_6:hover{
    cursor: pointer;
    background-color: #bada55;
    transition: 0.3s;
}

.menu__link{
    /* text-transform: uppercase; */
    font-weight: 500;
    font-size: 15px;
    line-height: 19px;
    color: #2B2B2B;
    text-decoration: none;
    font-stretch: semi-condensed;

  
}

.container_1{
    background:rgb(202,233,189); 
    padding-bottom: 20px;
}

.description{
    max-width: 970px;
    padding: 0 10px;
    margin: 0 auto;
}

.description_1{
    max-width: 1060px;
    padding: 10px 10px;
    margin: 0 auto;
    color: rgb(0, 0, 0);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2em;
    font-family: 'Roboto Slab', serif;
    /* font-style: italic; */
}
.description_6{
    
    max-width: 1060px;
    padding-top:  20px;
    padding-left: 10px;
    
    color: rgb(0, 0, 0);
    font-weight: 500;
    font-size: 25px;
    line-height: 1.2em;
    font-family: 'Roboto Slab', serif;
    letter-spacing: 0.2em;
    /* font-style: italic; */
}
.description_7{
    
    max-width: 1060px;
    padding-top:  20px;
    padding-left: 10px;
    
    color: rgb(0, 0, 0);
    font-weight: 500;
    font-size: 25px;
    line-height: 1.2em;
    font-family: 'Roboto Slab', serif;
    
    /* font-style: italic; */
}

.description_2{
    max-width: 1060px;
    padding: 30px 0px 0px 10px;
    margin: 0 auto;
    font-size: 25px;
    font-family: 'Roboto Slab', serif;
    
}
.description_3{
    max-width: 1060px;
    padding: 10px 10px 3px;
    margin: 0 auto;

    font-size: 25px;
    font-family: 'Roboto Slab', serif;
    
}
.description_4{
    max-width: 1060px;
    padding: 5px 5px 5px 10px;
    margin: 0 auto;
    
    font-size: 20px;
    font-family: 'Roboto Slab', serif;   
}
.description_4_text{
    padding: 5px 5px 3px 5px;
    text-align: justify;
}

.description_5{
    max-width: 1060px;
    padding: 30px 10px 0px;
    margin: 0 auto;

    font-size: 25px;
    font-family: 'Roboto Slab', serif;
    
}
.description_6{
    max-width: 1060px;
    padding: 30px 10px 0px;
    margin: 0 auto;

    font-size: 25px;
    font-family: 'Roboto Slab', serif;
    
}
.description_5_text{
    padding: 5px 5px 5px 5px;
}
.license{
    position: relative;
    display: flex;     
    padding: 30px 30px 30px 30px;
    margin: 0 auto;
    width: 890px;
    height: 1166px;
    background:rgb(47,46,46);
    
}

.references_window{
    position: relative;
    display: flex;     
    
    margin: 0 auto;
    width: 927px;
    height: 1273px;
    background:rgb(47,46,46);
}
.window_license_agreement{
    position: relative;
    display: flex;     
    
    margin: 0 auto;
    width: 927px;
    height: 1273px;
    background:rgb(47,46,46);
    
}

.youtube_lesson{
    position: relative;
    width: 100%;
    max-width: 927px;
    margin: 20px auto !important;
}

.lisense_img{
    width: 765px;
    height: 1108px;
    transition: 0.55s;
}
.lisense_img:hover{
   transform: scale(2.0);
   position: absolute;
   z-index: 10;   
}



.license_title{
    position: absolute;
    color: #ffffff;
    transform: rotate(90deg);
    font-size: 40px;
    width: 1120px;
    height: 50px;      
    text-align: center;
    top: 561px;
    left: 266px;
    
}




.slider-img{
    
    max-width: 1000px;
    padding: 0 10px;
    margin: 0 auto;
    
    
    
    
}

.slider__item{
    position: relative;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center; 
    
    
    
}


.slider .slick-dots button{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    padding: 0;
    font-size: 0;
    cursor: pointer;
}

.slider .slick-dots .slick-active button {
    background-color: rgb(202,233,189); 
    border: 2px solid rgb(255, 255, 255);
    
}

.slider .slick-dots li{
    display: inline-block;
    margin: 0 10px;      
}

.slider .slick-dots{
    margin: 0px auto 0;
    position: relative;    
    max-width: 210px;
    padding-bottom: 30px;
    
    
}


.links{
    background-size: cover;
    height: 328px;   
    background-repeat: no-repeat;
    
}



.links-btn{
    position: relative;      
    padding-top: 30px;
    padding-bottom: 10px;
    max-width: 478px;
    margin: 0 auto;
}

.btn_link_youtube{
    width: 478px;
    height: 53px;
    border-radius: 10px;
    border: 2px solid #a30909;
    cursor: pointer;      
    background: rgb(133, 179, 84);
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2em;
    font-family: 'Roboto Slab', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;    
}
.btn_link_youtube:hover{
    background-color: rgb(32,206,136);
    transition: 0.4s;
    color: #ffffff;
    border-color: rgb(32,206,136);
}

.description_top{
    display: flex;
    justify-content: space-between;
}

.btn_download_KVLprojekt_version_2_1{
    width: 478px;
    height: 53px;
    border-radius: 10px;
    border: 2px solid #a30909;
    cursor: pointer;      
    background: #85B354;
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2em;
    font-family: 'Roboto Slab', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s; 
    opacity: 0;  
}

/* .btn_download_KVLprojekt_version_2_1 {
    animation: 1s linear 0s normal none infinite running rot;
    -webkit-animation: 1s linear 0s normal none infinite running rot;
    
  }
  @keyframes rot {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  } */
  /* @-webkit-keyframes rot {
    0% {
      transform: rotate(0deg);
    }
    50% {
      transform: rotate(360deg);
    }
  } */






.btn_download_KVLprojekt_version_2_1:hover{
    background-color: rgb(32,206,136);
    transition: 0.4s;
    color: #ffffff;
    border-color: rgb(32,206,136);
}
.btn_download_KVLprojekt_version_2_1_download{
    width: 463px;
    height: 53px;
    border-radius: 10px;
    border: 2px solid #a30909;
    cursor: pointer;      
    background: #68B04D;
    margin-top: 15px;
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2em;
    font-family: 'Roboto Slab', serif;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.btn_download_KVLprojekt_version_2_1_download:hover{
    background-color: rgb(32,206,136);
    transition: 0.4s;
    color: #ffffff;
    border-color: rgb(32,206,136);
}

.btn_download_LEPpro_version_2_1{
    width: 478px;
    height: 53px;
    border-radius: 10px;
    border: 2px solid #a30909;
    cursor: pointer;      
    background: rgb(133, 179, 84);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2em;
    font-family: 'Roboto Slab', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s; 
}

.btn_download_LEPpro_version_2_1:hover{
    background-color: rgb(32,206,136);
    transition: 0.4s;
    color: #ffffff;
    border-color: rgb(32,206,136);
}

.activation_img{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}


.footer{
    position: relative;
    background: black;
    height: 276px; 
    color: #d7bbbb;   
}

.footer_icons{
    width: 18px;
    height: 18px;
    margin-left: 10px;
}
.contacts{
   
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 141px;
    height: 20px;
    
    
}

.right{
    margin-bottom: 30px;
    position: relative;
}
.container_2{  
    padding-top: 50px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    color: #808080;
    
   
    
        
}

.mail{
    width: 391px;
}

.Name{
    border: 1px solid #a89a9a  ;
    background-color: #171414;
    width: 195px;
    height: 33px;
    font-size: 15px;
    color: #ffffff;

}
.email{
    border: 1px solid #a89a9a  ;
    background-color: #171414;
    width: 195px;
    height: 33px;    
    color: #ffffff;
    position: relative;
    top:-45px;
    font-size: 15px;
    
}
.message{
    border: 1px solid #a89a9a;
    background-color: #171414;
    width: 190px;
    height: 71px;
    position: relative;
    top: -33px;
    font-size: 15px;
    color: #ffffff;
    font-size: 17px;
    resize: none;
    
}
.Button_send{
    cursor: pointer;
    position: relative;
    top: -44px;
    left: 282px;
    background: #957B5F;
    width: 110px;
    height: 31px;
    color: #ffffff;
    font-size: 13px;
    transition: all 0.5s;
}
.Button_send:hover{
    background-color: #7c2424;
    transition: all 0.5s;
}
.button_download_SQL{
    cursor: pointer;
    position: relative;
    top: -14px;
    left: 802px;
    background: #20CE88;
    width: 126px;
    height: 37px;
    color: #ffffff;
    font-size: 13px;
    border-color: #20CE88;
    transition: all 0.5s;
}
.button_download_SQL:hover{
    background-color: #50ffb9;
    border-color: #50ffb9;
    transition: all 0.5s;
}

.tel{
    margin-bottom: 7px;
}
.email_link{
    margin-bottom: 7px;
}
.city{
    margin-bottom: 20px;
}
.year{
    margin-bottom: 7px;
}
.author{
    margin-bottom: 7px;
}

.reviews_img{
    padding-top: 40px;
    display: flex;
    justify-content: center;
}

.elka{
    position: absolute;
    top: 20px;
    left: 90px;
}

.pdf-mobile-view {
    display: none; /* По умолчанию на ПК скрываем */
}

.pdf-desktop-view {
    width: 100%;
    max-width: 1200px; /* Ограничиваем максимальную ширину, чтобы читать было удобно */
    margin: 20px auto; /* Центрируем документ по экрану */
    padding: 0 15px; /* Небольшие отступы по бокам */
    box-sizing: border-box;
}

/* Сам фрейм с документом */
.pdf-desktop-view iframe {
    width: 100% !important; /* Заставляем PDF занять всю ширину контейнера */
    height: 1250px; /* Делаем просмотрщик достаточно высоким */
    border: 1px solid #afa2a2; /* Аккуратная рамка в тон сайта */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Мягкая тень для эффекта бумаги */
}

/* Стили для контента справки на ПК */
.container_1 {
    width: 100% !important;
    max-width: 100% !important; /* Разрешаем занимать всю ширину, как и шапке */
    position: relative !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Запрещаем появление горизонтальной полосы прокрутки */
}

/* Адаптивный контейнер для YouTube */
.video-responsive {
    width: 100%;
    aspect-ratio: 16 / 9; /* Автоматически высчитывает высоту 16:9 */
    position: relative;
}

.video-responsive iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* Настройки для десктопного PDF */
.pdf-desktop-view {
    width: 100% !important;
    max-width: 927px !important; /* Делаем ширину PDF такой же, как у видео */
    margin: 20px auto !important; /* Центрируем */
}

.pdf-mobile-view {
    display: none; /* Прячем мобильную кнопку на ПК */
}



/* ============================================
   АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА
   ============================================ */

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Планшеты ---------- */
@media (max-width: 992px) {
    .header__top {
        flex-direction: column;
        align-items: center;
        max-height: none;
        padding: 15px 10px 20px;
        position: relative;
    }

    .header_top-main_title {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .header_title {
        font-size: 42px;
        line-height: 1.1;
        margin: 10px 0;
    }

    .link_youtube-insta {
        margin: 15px 0 0;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    /* Убираем absolute у заголовка и меню */
    .header_top-title {
        position: static !important;
        top: auto !important;
        left: auto !important;
        text-align: center;
        font-size: 18px;
        margin: 15px 0;
        padding: 0 10px;
    }

    .menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100%;
        margin: 15px 0;
    }

    .menu__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    /* Языковой переключатель */
    .dropdown {
        position: relative !important; /* Важно: relative, чтобы dropdown-content открывался ровно под ним */
        top: auto !important;
        left: auto !important;
        margin: 15px auto 0;
        display: block;
        width: 140px; /* Задаем фиксированную ширину для мобильных, чтобы рамка не растягивалась во весь экран */
        height: 45px;
    }

    .dropbtn {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: 100% !important;
        padding-left: 15px; /* Аккуратный отступ для текста RU */
    }

    /* Флекс-контейнер для стрелочки, чтобы идеально её позиционировать */
    .svg_vector_div {
        position: absolute;
        right: 15px; /* Прижимаем к правому краю */
        top: 50%;
        transform: translateY(-50%); /* Центрируем по вертикали */
        pointer-events: none; /* Клик проходит сквозь стрелку на кнопку */
    }

    .svg_vector {
        position: static !important; /* Сбрасываем все старые left и top */
    }

    /* Исправляем выпадающее меню */
    .dropdown-content {
        position: absolute;
        top: 100%; /* Появляется строго под кнопкой */
        left: -1px;
        width: 140px;
    }

    .button_EN,
    .button_RU {
        position: static !important; /* Убираем absolute, чтобы они встали друг под друга */
        width: 100% !important;
        height: 45px !important;
        padding-right: 0 !important; /* ОБЯЗАТЕЛЬНО: убираем огромный отступ, который выдавливал текст */
        display: flex;
        align-items: center;
        justify-content: center; /* Центрируем текст EN и RU в выпадающем списке */
        box-sizing: border-box;
    }

    /* Описание */
    .description_1 {
        font-size: 22px;
    }

    .description_2,
    .description_3,
    .description_5 {
        font-size: 20px;
    }

    .description_4 {
        font-size: 17px;
    }

    /* Лицензия */
    .license {
        width: 100%;
        max-width: 100%;
        height: auto;
        flex-direction: column;
        padding: 20px 15px;
        align-items: center;
    }

    .license_title {
        position: static !important;
        transform: none !important;
        width: 100%;
        height: auto;
        font-size: 18px;
        margin-bottom: 15px;
        top: auto !important;
        left: auto !important;
    }

    .lisense_img {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .lisense_img:hover {
        transform: none; /* на мобиле увеличение неудобно */
        position: static;
    }

    /* Кнопки */
    .links {
        height: auto;
        padding: 30px 15px;
    }

    .links-btn {
        max-width: 100%;
        padding: 0;
    }

    .btn_link_youtube,
    .btn_download_KVLprojekt_version_2_1,
    .btn_download_LEPpro_version_2_1,
    .btn_download_KVLprojekt_version_2_1_download {
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        font-size: 20px;
        height: auto;
        min-height: 50px;
        padding: 12px 10px;
        text-align: center;
    }

    /* Футер */
    .footer {
        height: auto;
        padding-bottom: 30px;
    }

    .container_2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        padding: 30px 15px;
    }

    .mail {
        width: 100%;
        max-width: 340px;
    }

    .name,
    .email,
    form textarea,
    .Name,
    .message {
        width: 100% !important;
        max-width: 100%;
        position: static !important;
        top: auto !important;
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    form button,
    .Button_send {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
        max-width: 200px;
        margin: 10px auto 0;
        display: block;
    }
    /* Полностью убираем десктопный фрейм, чтобы он не вешал мобильные */
    .pdf-desktop-view {
        display: none !important;
    }

    /* Мобильный блок справки */
    .pdf-mobile-view {
        display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 15px !important;
    background-color: #2b2b2b !important;
    width: 100% !important; /* Занимает доступную ширину */
    max-width: 100% !important; /* Убираем ограничение в 450px, чтобы не сдвигалось */
    margin: 20px 0 !important;
    box-sizing: border-box !important;
    border-radius: 8px;
    }

    .pdf-mobile-view p {
        font-size: 15px !important;
        line-height: 1.4 !important;
        color: #ffffff !important;
        margin: 0 0 15px 0 !important;
        white-space: normal !important;
    }

    .btn-pdf-download {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 24px !important;
        width: auto !important;
        max-width: 100% !important;
        background-color: #5b7a68 !important;
        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: bold !important;
        border-radius: 6px !important;
        border: 1px solid #afa2a2 !important;
        box-sizing: border-box !important;
    }
    
    /* Сбрасываем фиксированную ширину у блока с кнопками YouTube внизу */
    .links-btn {
         width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: static !important;
        transform: none !important;
        margin-top: 20px !important;
    }

    .youtube_lesson {
        width: 100% !important;
        max-width: 100% !important;
    }

    .references_window,
    .window_license_agreement {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 15px !important;
    }

    /* 3. Исправляем кнопку, которая улетала вправо на 802px */
    .button_download_SQL {
        position: static !important;
        left: auto !important;
        top: auto !important;
        margin: 15px auto !important;
        display: block !important;
    }

    iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9; /* Автоматически держит пропорции 16:9 */
        border: none;
    }

    /* Если у контейнера видео была задана жесткая высота, сбрасываем ее */
    .video_window, 
    .youtube_container { 
        height: auto !important;
        min-height: initial !important;
        padding: 0 !important;
    }


}

/* ---------- Телефоны ---------- */
@media (max-width: 768px) {
    .header_title {
        font-size: 32px;
        line-height: 1.15;
    }

    .header_top-title {
        font-size: 15px;
        line-height: 1.35;
    }

    .menu__list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .menu_item_1_main,
    .menu_item_2,
    .menu_item_3,
    .menu_item_4,
    .menu_item_5,
    .menu_item_6,
    .menu_item_1,
    .menu_item_2_main,
    .menu_item_3_main,
    .menu_item_4_main,
    .menu_item_5_main,
    .menu_item_6_main {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 6px;
        height: 40px;
    }

    .description_1 {
        font-size: 18px;
        padding: 10px 5px;
    }

    .description_2,
    .description_3,
    .description_5 {
        font-size: 17px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .description_4 {
        font-size: 15px;
    }

    .description_4_text {
        text-align: left; /* justify на узких экранах плохо читается */
        padding-left: 0;
    }

    .license_title {
        font-size: 15px;
        letter-spacing: 0.5px;
    }

    .slider__item {
        height: 50vh; /* вместо 100vh */
        min-height: 220px;
        background-size: contain;
    }

    .btn_link_youtube,
    .btn_download_KVLprojekt_version_2_1,
    .btn_download_LEPpro_version_2_1 {
        font-size: 16px;
        line-height: 1.3;
        padding: 14px 12px;
    }

    .contacts {
        width: auto;
        margin-bottom: 20px;
    }

   

    
}

/* ---------- Очень маленькие экраны ---------- */
@media (max-width: 480px) {
    .header_title {
        font-size: 26px;
    }

    .logo_img {
        max-width: 70px;
    }

    .description_1 {
        font-size: 16px;
    }

    .description_2,
    .description_3,
    .description_5 {
        font-size: 15px;
    }

    .description_4 {
        font-size: 14px;
    }

    .slider__item {
        height: 40vh;
        min-height: 180px;
    }

    .btn_link_youtube,
    .btn_download_KVLprojekt_version_2_1,
    .btn_download_LEPpro_version_2_1 {
        font-size: 14px;
        padding: 12px 8px;
    }
}

@media (max-width: 768px) {
    
}
