*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,sans-serif;
    background:#111;
    color:#fff;
    line-height:1.6;
    padding-top:85px;
}

.container{
    width:92%;
    max-width:1400px;
    margin:auto;
}

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#000;
    z-index:1000;
}

.nav-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
    gap:20px;
    position:relative;
}

.logo{
    font-weight:bold;
    font-size:18px;
}

.burger{
    display:none;
    font-size:32px;
    cursor:pointer;
    user-select:none;
}

.nav-links{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.nav-links a{
    color:#fff;
    text-decoration:none;
    background:#333;
    padding:10px 14px;
    border-radius:6px;
    transition:.3s;
}

.nav-links a:hover,
.btn:hover{
    background:#777;
}

/* ===== HERO VIDEO ===== */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
    overflow:hidden;
}

/* видео фон */
.hero video{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-2;
}

/* затемнение чтобы текст читался */
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
    z-index:-1;
}

.hero h1{
    font-size:52px;
}

.hero p{
    margin:15px 0 25px;
    color:#ccc;
}

.buttons{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.btn{
    border:none;
    cursor:pointer;
    background:#444;
    color:#fff;
    padding:12px 18px;
    border-radius:6px;
    transition:.3s;
    text-decoration:none;
}

.section{
    padding:70px 0;
}

.title{
    text-align:center;
    font-size:36px;
    margin-bottom:35px;
}

.about-text{
    max-width:900px;
    margin:0 auto 15px;
    text-align:center;
    color:#ccc;
    font-size:18px;
}

.services{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
}

.card{
    background:#1d1d1d;
    border-radius:12px;
    padding:20px;
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:15px;
}

.card h3{
    margin-bottom:10px;
}

.card p{
    color:#ccc;
    margin-bottom:15px;
}

.contact{
    text-align:center;
}

footer{
    text-align:center;
    padding:25px;
    color:#888;
}

.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

/* ===== АДАПТИВ ===== */

@media(max-width:768px){

    .burger{
        display:block;
    }

    .nav-links{
        display:none;
        position:absolute;
        top:65px;
        left:0;
        width:100%;
        background:#000;
        flex-direction:column;
        padding:15px;
        gap:10px;
        border-radius:0 0 10px 10px;
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links a{
        width:100%;
        text-align:center;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:18px;
    }

    .title{
        font-size:28px;
    }
}

@media(max-width:480px){

    .buttons{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }

    .logo{
        font-size:16px;
    }
}
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.review-card {
    background: #1d1d1d;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 3px solid #555;
}
.stars {
    color: #c8a84b;
    font-size: 18px;
    letter-spacing: 2px;
}
.review-text {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
    flex: 1;
}
.review-author {
    color: #777;
    font-size: 14px;
    margin-top: 4px;
}
.hero-phone {
    position: absolute;
    top: 100px;
    left: 30px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    z-index: 10;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
.nav-phone {
    background: #8b0000;
}

.nav-phone:hover {
    background: #a00000;
}
.phone-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dashed #777;
    transition: .3s;
}

.phone-link:hover {
    border-bottom-color: #fff;
}