/* --- ВАШИ БАЗОВЫЕ СТИЛИ (оставляем как есть) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Добавил position: relative для хедера, чтобы позиционировать кнопку */
header {
    position: relative;
    background: white; /* Желательно задать фон */
    z-index: 100;
}

.stranici {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 20px;
    width: 100%;   
    font-family: 'Nunito', sans-serif;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    background: white; /* Важно для мобильного меню */
}

.stranici a {
    text-decoration: none;
    color: black;
    transition: all 0.2s ease-in-out;
    border-bottom: 2px solid transparent; /* Чуть толще для красоты */
    font-size: 16px;
}

.stranici a.glav {
    color: orange;
    border-bottom: 2px solid orange;
    font-weight: 600;
}

.stranici a:hover {
    color: orange;
    border-bottom: 2px solid orange;   
}

/* --- СТИЛИ ДЛЯ КНОПКИ (БУРГЕР) --- */
.menu-toggle {
    display: none; /* Скрыта по умолчанию на ПК */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 20px; /* Отступ справа */
    top: 20px;   /* Отступ сверху */
    z-index: 1001; /* Поверх меню */
}

.menu-toggle .icon-bar {
    width: 100%;
    height: 3px;
    background-color: black;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Анимация превращения в крестик */
.menu-toggle.active .icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}


.description-techo{
    background-color: #90909037;
    padding: 120px 130px ;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
        display: flex;
        gap: 50px;
    align-items: center;

}
.description-title{
    color: rgb(255, 255, 255);
    font-weight: 900;
    font-size: 40px;
}
.description{
    font-size: 25px;
    color: #1c2a3b;
}
.description-text{
    background-color: rgb(71, 122, 56);
    padding: 20px;
    height: max-content;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}
.perviknop{
    background-color: orange;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 20px;
}
.perviknop:hover{
    background-color: darkorange;
}

.section-volokno{
    padding: 140px 160px;
    flex-direction: column;
    display: flex;
    align-items: self-start;
    position: relative;
}
.volokno-title{
    font-size: 45px;
    color: #1c2a3b;
    
}
.volokno-desc{
    font-size: 30px;
    line-height: 1.6;
    color: #1c2a3b;
}
.dvetochki{
  font-size: 30px;
  color: rgb(255, 255, 255);
  font-weight: 800;
  margin-top: 20px;
  padding: 2px;
  background-color: rgba(0, 0, 0, 0.668);
}
.produce-detail{
    padding: 30px;
}
.detail1{
    font-size: 50px;
    color: green;
}
.detail2{
    font-size: 50px;
    color: darkgreen;
}
.detail3{
    font-size: 50px;
    color: #005200;
}
.detail4{
    font-size: 50px;
    color: #002700;
}
.produce-text{
    font-size: 40px;
    line-height: 1.6;
    color: #1c2a3b;
    border-left: 2px solid orange;
    border-right: 2px solid rgb(3, 85, 3);
    padding: 10px;
    width: 100%;
}
 .num{
    font-size:800px;
    color: rgba(0, 0, 0, 0.099);
    position: absolute;
    z-index: 1;
    font-weight: 800;
    margin: 0;
    top: 0;        
    pointer-events: none;
    line-height: 1;
    font-family: Pattaya;
}
.site-footer {
    background-color: #f5f5f5; /* светло-серый фон */
    color: #4d4d4d;
    padding: 60px 90px 30px 90px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: orange; /* акцент на оранжевом */
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-column p,
.footer-column li {
    font-size: 16px;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
}

.footer-column li::before {
    content: "•";
    color: orange;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #777;
}

/* Pinterest masonry layout */
.advantages-grid {
    column-count: 3;
    column-gap: 25px;
}

/* Базовый стиль карточек */
.advantage-card {
    display: block;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    break-inside: avoid;
    color: #fff;
}

/* Фирменные цвета */
.blue-card {
    background: #0A2A43; /* тёмно-синий */
}

.orange-card {
    background: orange; /* оранжевый */
    color: #000;
    
}

.green-card {
    background: #1c4228; /* тёмно-зелёный */
}

.gray-card {
    background: #e1e1e1; /* светло-серый */
    color: #333;
}

/* Текст */
.advantage-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

/* Адаптив */
@media (max-width: 900px) {
    .advantages-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .advantages-grid {
        column-count: 1;
    }
}
.img-card{
    background-image: url('Gemini_Generated_Image_a4d8l8a4d8l8a4d8.png');
    background-size: cover;
    height: 200px;
    background-position: center;
    border-radius: 30px;
}
.img-card1{
    background-image: url('Gemini_Generated_Image_edq40gedq40gedq4.png');
    background-size: cover;
    height: 200px;
    background-position: center;
    border-radius: 30px;
}
.img-card2{
    background-image: url('Gemini_Generated_Image_dtl3fxdtl3fxdtl3.png');
    background-size: cover;
    height: 175px;
    background-position: center;
    border-radius: 30px;
}
.process-last{
    padding: 150px 100px;
    background-size: cover;
    background-image: url('Gemini_Generated_Image_j99gn1j99gn1j99g.png');
}
.process-itog{
    font-size: 28px;
    color: #1c2a3b;
}
.last-title{
    font-size: 50px;
    color: #ff8c00;
    font-weight: 700;
    margin-bottom: 20px;
}
@media(max-width: 1400px){
    .description-techo{
        padding: 100px 50px;
        gap: 20px;
    }
    
}
@media(max-width: 1250px){
    .description-techo{
        flex-direction: column;
    }
    .img-card{
        height: 300px;
    }
    .img-card1{
        height: 300px;
    }    
    .img-card2{
        height: 300px;
    }
    .section-volokno{
        padding: 100px 50px;
    }
}
@media(max-width: 920px){
    .num{
        font-size: 700px;
    }
}
@media (max-width: 930px) {
    /* Показываем кнопку */
    .menu-toggle {
        display: flex;
    }

    /* Превращаем меню в выезжающую панель */
    .stranici {
        position: fixed; /* Фиксируем на экране */
        top: 0;
        right: 0;
        width: 100%; /* На весь экран (или поставьте 70% для шторки) */
        height: 100vh; /* На всю высоту */
        flex-direction: column; /* Ссылки вертикально */
        justify-content: center; /* Центрируем по вертикали */
        align-items: center; /* Центрируем по горизонтали */
        gap: 40px; /* Отступ между ссылками */
        
        /* Скрываем меню за экраном */
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
    }

    /* Класс active возвращает меню на экран */
    .stranici.active {
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

    /* Увеличиваем шрифт ссылок на мобильном */
    .stranici a {
        font-size: 24px;
        font-weight: 600;
    }
}
@media(max-width: 800px){
    .num{
        font-size: 600px;
    }

.description-techo{
    padding: 50px 20px;
}
}
@media(max-width: 705px){
    .num{
        font-size: 500px;
    }
    .process-last{
        padding: 120px 20px;
    }
}
@media(max-width: 600px){
        .num{
        font-size: 400px;
        line-height: 1.6;
    }
    .img-card{
        height: 400px;
    }
        .img-card1{
        height: 400px;
    }
        .img-card2{
        height: 400px;
    }
    .advantage-card h3{
        font-size: 40px;
    }
    .detail1{
        font-size: 35px;
    }
        .detail2{
        font-size: 35px;
    }
        .detail3{
        font-size: 35px;
    }
        .detail4{
        font-size: 35px;
    }
    .produce-text{
        font-size: 30px;
    }

}
@media(max-width: 600px){
    .num{
        font-size: 300px;
    }
}
@media(max-width: 500px){
    .description-text{
        padding: 10px;
        width: 100%;
    }

.advantage-card h3{
    font-size: 30px;
}
.description-title{
    font-size: 35px;
}
.section-volokno{
    padding: 20px;
}
.site-footer{
    padding: 20px;
}
}
@media(max-width: 450px){
    .description-title{
        font-size: 30px;
        
    }
    .description{
        font-size: 23px;
    }

}
@media(max-width: 400px){
    .description-title{
        font-size: 27px;
    }
    .volokno-title{
        font-size: 35px;
    }
}
@media(max-width: 350px){
    .description-title{
        font-size: 23px;
    }
    .num{
        font-size: 200px;
    }
}