body {
    font-family: 'Proxima Nova', sans-serif;
    background-color: rgba(44,158,194,255);
    font-size: 14px;
    font-weight: 300;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container{
    margin: 0 212px;
}





/* HEADER */

header{
    margin: 30px 0px 50px 0px;
}
.header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav a{
    color: #fff;
    margin-right: 50px;
    text-decoration: none;
    transition: color .3s ease;
}
nav a:hover{
    color: rgba(12,111,166,255);
}
nav a:last-of-type{
    margin-right: 0;
}
.button-header{
    background-color: rgba(12,111,166,255);
    padding: 9px 15px;
    border-radius: 3px;
    text-decoration: none;
    color: #fff;
    transition: all .3s ease;
}
.button-header:hover{
    background-color: #fff;
    color: rgba(12,111,166,255);
}





/* MAIN */

.main-inner{
    background-image: url(/images/slider.jpg);
    opacity: 0.9;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 600px;
    border-radius: 10px;
    margin-bottom: 150px;
    text-align: center;
    
}
.main-inner-first{
    padding-top: 136px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.main-inner-first p{
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-right: 66px;
    margin-left: 66px;
}

.main-inner h1{
    font-size: 64px;
    font-weight: bold;
    color: #fff;
}


/* CATEGORY */

.category{
    padding-bottom: 150px;

}
.category-title,.comments-title, .specifications-title{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
}
.category-title p, .comments-title p, .specifications-title p{
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-right: 45px;
    margin-left: 45px;
}
.category-inner{
    display: flex;
    justify-content: center;
    align-items: center;
}
.category-item{
    background-image: url(/images/photo_2024-04-15_11-16-29.jpg);
    width: 416px;
    height: 258px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    margin: 12px;
    position: relative;
}
.category-item p{
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    position: absolute;
    left: 40px;
    bottom: 30px;
}

.category-item .left p{
    left: 50px;
    bottom: 50px;
}
.left{
    background-image: url(/images/IMG-20240331-WA0016.jpg);
    width: 620px;
    height: 540px;
}
.one{
    background-image: url(/images/photo_2024-04-15_11-16-38.jpg);
}
.two{
    background-image: url(/images/photo_2024-04-15_11-16-59.jpg);
}
.three{
    background-image: url(/images/zyro-image\ \(31\).png);
}
.left:hover{
    cursor: pointer;
    border-bottom: rgba(12,111,166,255) 7px solid;
}
.category-right{
    display: flex;
}
.category-right div{
    display: flex;
    flex-direction: column;
}
.category-item:hover{
    /* height: 540px; */
    border-bottom: rgba(12,111,166,255) 7px solid;
    cursor: pointer;
}







/* comments */

.comments{
    padding-bottom: 150px;
}
.comments-inner{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.comments-item{
    background-color: rgba(12,111,166,255);
    color: #fff;
    padding: 60px;
    border-radius: 10px;
}
.comments-item h3{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}
.comments-item p{
    font-size: 14px;
    font-weight: 100;
    line-height: 140%;
}
.comments-item:nth-child(1),.comments-item:nth-child(3){
    transform: scale(0.8);
}
.comments-item:nth-child(1),.comments-item:nth-child(3){
    opacity: 0.4;
}
.comments-inner-bar{
    display: flex;
    justify-content: center;
    margin-top: 60px;
}
.comments-inner-bar img{
    margin-right: 20px;
}
.comments-inner-bar img:nth-of-type(2),.comments-inner-bar img:nth-of-type(3),.comments-inner-bar img:nth-of-type(4){
    opacity: 0.4;
}




/* specifications */

.specifications-inner{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.specifications-item{
    width: 40%;
    color: #fff;
    margin: 42px;
}
.specifications-item h2{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 140%;
}
.specifications-item p{
    font-size: 16px;
    font-weight: 100;
    line-height: 140%;
}
.specifications-item img{
    width: 526px;
    height: 365px;
}
/* .slide{
    display: none;
} */


/* news */

.news{
    padding-bottom: 150px;
}

.news .specifications-title{
    margin-top: 100px;
}
.news-content{
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-content-items{
    margin-right: 134px;
}
.news-content-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 31px;
}
.news-content-item div{
    display: flex;
    align-items: center;
}
.news-content-item div img{
    width: 58px;
    /* height: 9px; */
    margin-right: 10px;
}
.news-content-item div h3{
    font-size: 18px;
    font-weight: 300;
    color: #fff;
}
.news-content-item p{
    margin-left: 40px;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
}
.news-content-image p{
    font-size: 21px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    margin-top: 30px;
}


/* footer */


footer{
    padding-bottom: 30px;

}
.footer-content{
    display: flex;
    margin-bottom: 90px;
}
.footer-map iframe{
    border-radius: 10px;
    margin-right: 48px;
}
.footer-blocks{
    display: flex;
    flex-direction: column;
}
.footer-block{
    background-color: rgba(12,111,166,255);
    padding: 35px 45px;
    border-radius: 10px;
    margin-bottom: 24px;
    color: #fff;
    width: 392px;
    height: 420px;
}
.footer-block .fB{
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}
.footer-block h2{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
}
.footer-block div{
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.footer-block div .phone{
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}
.footer-block div img{
    margin-right: 20px;
}

.footer-blockq div:last-of-type{
    margin-bottom: 30px;
}
.footer-button{
    color: rgba(12,111,166,255);
    background-color: #fff;
    padding: 9px 15px;
    font-size: 16px;
    border-radius: 3px;
    text-decoration: none;
    margin-top: 15px;
}
.footer-bottom{
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}


/* ===== АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ И ПЛАНШЕТЫ ===== */

/* --- Планшеты (до 1024px) --- */
@media (max-width: 1024px) {
    .container {
        margin: 0 40px;
    }

    nav a {
        margin-right: 25px;
        font-size: 14px;
    }

    .main-inner h1 {
        font-size: 42px;
    }

    .category-title p,
    .comments-title p,
    .specifications-title p {
        font-size: 32px;
    }

    .category-item {
        width: 300px;
        height: 200px;
    }

    .footer-map iframe {
        width: 100%;
        height: 400px;
    }

    .footer-block {
        width: 100%;
        height: auto;
    }
}

/* ===== АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ И ПЛАНШЕТЫ ===== */

/* --- Планшеты (до 1024px) --- */
@media (max-width: 1024px) {
    .container {
        margin: 0 40px;
    }

    nav a {
        margin-right: 25px;
        font-size: 14px;
    }

    .main-inner h1 {
        font-size: 42px;
    }

    .category-title p,
    .comments-title p,
    .specifications-title p {
        font-size: 32px;
    }

    .category-item {
        width: 300px;
        height: 200px;
    }

    .footer-map iframe {
        width: 100%;
        height: 400px;
    }

    .footer-block {
        width: 100%;
        height: auto;
    }
}

/* --- Мобильные устройства (до 768px) --- */
@media (max-width: 768px) {
    .container {
        margin: 0 20px;
    }

    header {
        margin: 20px 0 30px 0;
    }

    /* скрываем навигацию и добавляем бургер */
    nav {
        display: none;
        flex-direction: column;
        background-color: rgba(12,111,166,255);
        position: absolute;
        top: 80px;
        right: 20px;
        width: 200px;
        border-radius: 10px;
        padding: 10px 0;
        z-index: 100;
    }

    nav a {
        margin: 10px 0;
        text-align: center;
        font-size: 16px;
        display: block;
    }

    /* добавим бургер-иконку */
    .burger {
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        display: block;
    }

    .burger span {
        position: absolute;
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 3px;
        transition: 0.3s;
    }

    .burger span:nth-child(1) {
        top: 0;
    }

    .burger span:nth-child(2) {
        top: 8px;
    }

    .burger span:nth-child(3) {
        bottom: 0;
    }

    .header-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .main-inner {
        height: auto;
        padding: 60px 10px;
    }

    .main-inner h1 {
        font-size: 28px;
        line-height: 130%;
    }

    .main-inner-first p {
        font-size: 18px;
        margin: 0 10px;
    }

    .category-inner,
    .comments-inner,
    .specifications-inner,
    .news-content,
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .category-item,
    .left {
        width: 100%;
        height: 250px;
        margin: 10px 0;
    }

    .category-title p {
        font-size: 28px;
    }

    .comments-item {
        transform: none !important;
        opacity: 1 !important;
        width: 90%;
        margin-bottom: 20px;
    }

    .specifications-item {
        width: 100%;
        margin: 20px 0;
    }

    .specifications-item img {
        width: 100%;
        height: auto;
    }

    .news-content-items {
        margin: 0;
        width: 100%;
    }

    .news-content-image img {
        width: 100%;
        height: auto;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-map iframe {
        width: 100%;
        height: 300px;
        margin-bottom: 20px;
    }

    .footer-block {
        width: 100%;
        height: auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
/* --- Исправление наложения текста в блоке category --- */
@media (max-width: 768px) {
    .category-inner {
        flex-direction: column;
        gap: 20px;
    }

    .category-item {
        width: 100% !important;
        height: auto !important;
        position: relative;
        overflow: hidden;
    }

    .category-item p {
        position: static; /* снимаем absolute для нормального потока */
        padding: 15px;
        font-size: 18px;
        line-height: 1.3em;
        text-align: center;
        background: rgba(0, 0, 0, 0.3); /* чтобы текст не терялся на фоне */
        border-radius: 0 0 10px 10px;
        display: block;
    }

    .left {
        width: 100% !important;
        height: auto !important;
    }

    .category-right {
        flex-direction: column;
        width: 100%;
    }
   .category-left {
        /* flex-direction: column;
        width: 100%; */
        display: none;
    }
}


/* --- Мелкие экраны (до 480px) --- */
@media (max-width: 480px) {
    .main-inner h1 {
        font-size: 22px;
    }

    .category-title p,
    .specifications-title p {
        font-size: 24px;
    }

    .button-header {
        font-size: 13px;
        padding: 7px 12px;
    }

    .footer-block h2 {
        font-size: 18px;
    }
}


/* ******************************************** */

