body{
    margin:0;
    font-family:Arial;
    background:#0f0f12;
    color:#fff;
}

header{
    position:fixed;
    top:0;
    width:100%;
    background:#000;
    border-bottom:1px solid #222;
    z-index:1000;
}

.header-inner{
    max-width:1100px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:20px;
    padding:10px 15px;
    flex-wrap:wrap;
}

.logo a{
    color:#00c3ff;
    text-decoration:none;
    font-weight:bold;
    font-size:22px;
}

nav{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

nav a{
    color:#fff;
    text-decoration:none;
    font-size:12px;
    padding:6px 8px;
    border-radius:5px;
    transition:.2s;
}

nav a:hover{
    background:#1a1a22;
    color:#00c3ff;
}

.cta{
    background:#00c3ff;
    color:#000 !important;
    font-weight:bold;
}

section{
    padding:120px 20px 60px;
    min-height:100vh;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
}

.container{
    max-width:900px;
    margin:auto;
    text-align:center;
    background:rgba(0,0,0,0.6);
    padding:30px;
    border-radius:12px;
    border:1px solid #222;
}

h1{
    font-size:42px;
    margin-bottom:20px;
}

p{
    line-height:1.7;
    color:#ddd;
    font-size:18px;
}

/* BUTTON */

.btn{
    background:#00c3ff;
    color:#000;
    padding:12px 20px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
    margin-top:20px;
}

/* MODAL */

.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    justify-content:center;
    align-items:center;
    z-index:2000;
}

.modal-content{
    background:#1a1a22;
    padding:20px;
    width:90%;
    max-width:420px;
    border-radius:10px;
}

.close{
    float:right;
    cursor:pointer;
    color:#aaa;
}

input,
select,
textarea{
    width:100%;
    margin-top:10px;
    padding:10px;
    border:none;
    border-radius:6px;
    background:#111;
    color:#fff;
    box-sizing:border-box;
}

footer{
    padding:30px 20px;
    text-align:center;
    border-top:1px solid #222;
    color:#777;
}

@media(max-width:700px){

    h1{
        font-size:30px;
    }

    nav{
        justify-content:center;
    }

}

.hero-cctv{
    background-image:url('/img/cctv.png');
}

.cards{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:15px;
    margin-top:35px;
}

/* 3 колонки на средних экранах */
@media (max-width: 1100px){
    .cards{
        grid-template-columns:repeat(3, 1fr);
    }
}

/* 2 колонки на планшетах */
@media (max-width: 800px){
    .cards{
        grid-template-columns:repeat(2, 1fr);
    }
}

/* 1 колонка на телефонах */
@media (max-width: 500px){
    .cards{
        grid-template-columns:1fr;
    }
}

.card{
    background:#1a1a22;
    border:1px solid #222;
    border-radius:10px;
    overflow:hidden;
    transition:.2s;
    display:flex;
    flex-direction:column;
}

.card img{
    width:100%;
    height:180px;
    object-fit:cover;
    display:block;
}

.card-content{
    padding:18px;
}

.hero-box{
    max-width:1100px;
    margin:0 auto;
    text-align:center;
}

.hero h1{
    text-align:center;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:15px;
    margin-top:35px;
    justify-content:center;
    max-width:1100px;
    margin-left:auto;
    margin-right:auto;
}

.menu-toggle{
    display:none;
    font-size:26px;
    color:#fff;
    background:none;
    border:none;
    cursor:pointer;
    margin-left:auto;
}

@media(max-width:700px){
    .menu-toggle{
        display:block;
    }
}