:root {
    --container-width: 100%;
    --header-height: 4vh;
    --section-margin: calc(var(--header-height) + 30px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

section[id] {
    scroll-margin-top: 88px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.page-wrapper {
    width: var(--container-width);
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .header-items {
        display: flex;
        gap: 20px;
    }

    #open-menu-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .no-scroll {
        overflow: hidden;
    }

    .page-wrapper {
        padding: 0 16px;
        box-sizing: border-box;
    }
}

/* Планшеты */
@media (min-width: 768px) {
    :root {
        --container-width: 92%;
    }
}

/* Десктопы */
@media (min-width: 1024px) {
    :root {
        --container-width: 85%;
    }
}

/* Большие экраны */
@media (min-width: 1440px) {
    :root {
        --container-width: 78%;
    }
}