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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    background: #ffffff;
    line-height: 1.6;
}


/* Навигация */

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

    padding: 20px 60px;

    border-bottom: 1px solid #eee;

    background: white;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

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

nav a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}


/* Hero */

.hero {
    min-height: 80vh;

    display: flex;
    flex-direction: column;

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

    text-align: center;

    padding: 60px 20px;

    background: #f5f5f5;
}

.hero h1 {
    font-size: 60px;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 22px;
    max-width: 600px;
    margin-bottom: 30px;
}


/* Бутони */

.button {
    display: inline-block;

    padding: 14px 28px;

    background: #111;
    color: white;

    text-decoration: none;

    border-radius: 8px;

    transition: 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}


/* Секции */

.section {
    padding: 100px 20px;

    max-width: 1100px;

    margin: auto;

    text-align: center;
}

.section h2 {
    font-size: 40px;

    margin-bottom: 20px;
}

.section > p {
    max-width: 700px;

    margin: 0 auto;
}


/* Услуги */

.services {
    display: grid;

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

    gap: 30px;

    margin-top: 50px;
}

.service {
    padding: 40px 25px;

    border: 1px solid #eee;

    border-radius: 12px;
}

.service h3 {
    margin-bottom: 15px;

    font-size: 24px;
}


/* Контакти */

.contact {
    background: #f5f5f5;

    max-width: none;
}


/* Footer */

footer {
    text-align: center;

    padding: 30px;

    background: #111;

    color: white;
}


/* Mobile */

@media (max-width: 768px) {

    .navbar {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .services {
        grid-template-columns: 1fr;
    }

}