/* Сброс отступов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
}

@font-face {
    font-family: 'Oswald-Regular';
    src: url('font/Oswald-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Freigeist-Regular';
    src: url('font/Freigeist-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.header {
    border-bottom: 1px solid #eaeaea;
    background: #fff;
    position: relative;
    z-index: 10;
    width: 100%;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

/* ================= LOGO ================= */

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #AEA39C;
    font-size: 24px;
    font-weight: 400;
}

.logo__img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* ================= DESKTOP NAV ================= */

.nav__list {
    font-family: 'Freigeist-Regular', sans-serif;
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    font-family: 'Freigeist-Regular', sans-serif;
    text-decoration: none;
    color: #787571;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav__link.active {
    color: #D2CAC5;
    font-weight: bold;
}

.nav__link:hover {
    color: #D2CAC5;
}

/* ================= BURGER ================= */

.burger {
    font-family: 'Freigeist-Regular', sans-serif;
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #AEA39C;
    z-index: 20;
    padding: 10px;
}

/* ================= MOBILE MENU ================= */

.mobile-menu {
    font-family: 'Freigeist-Regular', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #C8BDB7;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-menu.open {
    transform: translateX(0);
    pointer-events: auto;
}

.mobile-menu__header {
    position: relative;
    height: 60px;
    margin-bottom: 40px;
    padding: 0 16px;
    width: 100%;
}

.mobile-menu__header div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 80px);
    width: auto;
}

.mobile-logo__img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo__text{
    font-family: 'Oswald-Regular', sans-serif;
}

.mobile-logo__text {
    color: #FFF;
    font-family: 'Oswald-Regular', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-menu__close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #FFF;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    width: 100%;
    padding: 0 16px;
}

.mobile-menu__link {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    display: block;
    padding: 10px;
}

.mobile-menu__link.active {
    text-decoration: underline;
    color: #fff;
    font-weight: 400;
}

/* ================= ADAPTIVE ================= */

@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .burger {
        display: block;
    }
}