*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family: Arial, sans-serif;
    background:#ffffff;
    color:#1c1c1c;
    line-height:1.7;
}

.container{
    width:90%;
    max-width:1280px;
    margin:0 auto;
}

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(255,255,255,0.96);
    border-bottom:1px solid #e5e5e5;
    z-index:1000;
    backdrop-filter: blur(10px);
}

.header-inner{
    height:90px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    gap:18px;
}

.logo img{
    height:58px;
}

.logo-title{
    font-size:24px;
    font-weight:700;
    letter-spacing:1px;
    color:#3b0f12;
}

nav ul{
    display:flex;
    list-style:none;
    gap:42px;
}

nav a{
    text-decoration:none;
    color:#111;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:1px;
    font-weight:700;
    transition:.3s;
}

nav a:hover{
    color:#7d1f24;
}

.hero{
    height:100vh;
    background:
    linear-gradient(rgba(10,10,10,.70), rgba(10,10,10,.70)),
    url('../images/bg.jpg')
    center center/cover no-repeat;

    display:flex;
    align-items:center;
}

.hero-content{
    max-width:860px;
    color:#fff;
    margin-top:70px;
}

.hero h1{
    font-size:78px;
    line-height:1.05;
    margin-bottom:30px;
    font-weight:700;
    letter-spacing:2px;
}

.hero p{
    font-size:24px;
    color:#ececec;
    max-width:780px;
}

section{
    padding:120px 0;
}

.section-title{
    font-size:48px;
    margin-bottom:55px;
    color:#2d0b0d;
    font-weight:700;
    position:relative;
}

.section-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-18px;
    width:80px;
    height:4px;
    background:#8d232a;
}

.about-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:70px;
    align-items:start;
}

.about-text p{
    margin-bottom:26px;
    font-size:18px;
    color:#444;
}

.about-card{
    background:#fafafa;
    border-left:5px solid #8d232a;
    padding:40px;
}

.about-card h3{
    margin-bottom:20px;
    color:#2d0b0d;
    font-size:24px;
}

.about-card ul{
    list-style:none;
}

.about-card li{
    margin-bottom:18px;
    color:#555;
}

.projects{
    background:#fafafa;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
    gap:30px;
}

.project-card{
    background:#fff;
    padding:40px;
    border:1px solid #ececec;
    transition:.35s;
}

.project-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 28px rgba(0,0,0,.08);
}

.project-card h3{
    font-size:24px;
    margin-bottom:20px;
    color:#3b0f12;
}

.project-card p{
    color:#555;
    font-size:16px;
}

.contacts-wrapper{
    max-width:850px;
}

.contacts-card{
    border:1px solid #e5e5e5;
    padding:50px;
    background:#fff;
}

.contacts-card p{
    margin-bottom:22px;
    font-size:18px;
    color:#444;
}

.contacts-card strong{
    color:#111;
}

footer{
    background:#111;
    color:#888;
    padding:35px 0;
    text-align:center;
    font-size:14px;
}

@media(max-width:980px){

    .about-grid{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:54px;
    }

    .hero p{
        font-size:20px;
    }

}

@media(max-width:768px){

    .header-inner{
        flex-direction:column;
        height:auto;
        padding:20px 0;
    }

    nav ul{
        gap:18px;
        margin-top:18px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        text-align:center;
    }

    .hero h1{
        font-size:40px;
    }

    .hero p{
        font-size:18px;
    }

    .section-title{
        font-size:36px;
    }

    .contacts-card{
        padding:35px;
    }

}