*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#000;
    color:#fff;
}

/* ---------------- HEADER ---------------- */

header{
    position:absolute;
    top:0;
    left:0;
    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:25px 70px;

    z-index:100;
}

.logo{
    font-size:34px;
    font-weight:800;
    color:#ffd000;
}

.logo span{
    color:white;
}

nav{
    display:flex;
    gap:35px;
}

nav a{
    color:white;
    text-decoration:none;
    font-size:20px;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#ffd000;
}

.header-contact{
    text-align:right;
}

.phone{
    font-size:34px;
    font-weight:800;
    color:#ffd000;
}

.viber-top{
    margin-top:8px;
    font-size:18px;
    color:#ffffff;
}

/* ---------------- HERO ---------------- */

.hero{
    position:relative;
    height:100vh;

    background:url("background.jpg") center center/cover no-repeat;

    display:flex;
    align-items:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.hero-content{
    position:relative;
    z-index:2;

    width:700px;

    margin-left:90px;
}

.hero h1{
    font-size:72px;
    margin-bottom:20px;
    font-weight:800;
}

.subtitle{
    font-size:28px;
    line-height:1.7;
    margin-bottom:45px;
}

.buttons{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
}

.call-btn,
.viber-btn{

    display:flex;
    justify-content:center;
    align-items:center;

    width:280px;
    height:70px;

    border-radius:50px;

    text-decoration:none;

    font-size:24px;
    font-weight:bold;

    transition:.3s;
}

.call-btn{
    background:#ffd000;
    color:#000;
}

.call-btn:hover{
    transform:scale(1.05);
}

.viber-btn{
    background:#6f35ff;
    color:white;
}

.viber-btn:hover{
    transform:scale(1.05);
}
/* ---------------- ПЕРЕВАГИ ---------------- */

.advantages{
    background:#111;

    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:30px;

    padding:70px 80px;
}

.card{

    background:#1d1d1d;

    border-radius:20px;

    padding:35px;

    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
    background:#2a2a2a;
}

.card h3{

    color:#ffd000;

    font-size:28px;

    margin-bottom:18px;
}

.card p{

    color:#ddd;

    line-height:1.7;

    font-size:18px;
}

/* ---------------- FOOTER ---------------- */

footer{

    background:#000;

    text-align:center;

    padding:70px 20px;
}

footer h2{

    color:#ffd000;

    font-size:42px;

    margin-bottom:25px;
}

footer p{

    font-size:24px;

    margin:12px 0;
}

/* ---------------- АДАПТАЦІЯ ---------------- */

@media(max-width:1100px){

header{

flex-direction:column;

gap:20px;

padding:30px;
}

.hero-content{

margin:0 30px;

width:auto;
}

.hero h1{

font-size:50px;
}

.subtitle{

font-size:22px;
}

.phone{

font-size:28px;
}

.advantages{

grid-template-columns:repeat(2,1fr);

padding:50px 30px;
}

}

@media (max-width:700px){

.hero{
    min-height:100vh;
    background-image:url("background.jpg");
    background-size:cover;
    background-position:65% center;
    background-repeat:no-repeat;
}

}



header{

padding:20px;
}

nav{

gap:18px;

flex-wrap:wrap;

justify-content:center;
}

.logo{

font-size:28px;
}

.phone{

font-size:22px;
}

.hero{

justify-content:center;

text-align:center;
}

.hero-content{

margin:0 20px;
}

.hero h1{

font-size:42px;
}

.subtitle{

font-size:20px;
}

.buttons{

justify-content:center;
}

.call-btn,
.viber-btn{

width:100%;
max-width:320px;
}

.advantages{

grid-template-columns:1fr;
}

footer h2{

font-size:34px;
}

footer p{

font-size:20px;
}

