
:root {
    --nav-bg: #f8f7f3;
    --nav-text: #24231f;
    --nav-muted: #77736b;
    --nav-accent: #a68a5b;
    --nav-border: rgba(36, 35, 31, 0.10);
}

/* HEADER */

.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(248, 247, 243, 0.96);
    border-bottom: 1px solid var(--nav-border);
    transition: box-shadow 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* NAVBAR CONTAINER */

.navbar-container {
    max-width: 1440px;
    min-height: 88px;
    padding: 0 7%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* LOGO */

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--nav-text);
    flex-shrink: 0;
}

.brand-mark {
    width: 43px;
    height: 43px;
    border: 1px solid var(--nav-accent);
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--nav-accent);
}

.brand-name {
    display: flex;
    flex-direction: column;
    gap: 3px;
    letter-spacing: 2px;
}

.brand-name strong {
    font-size: 13px;
    font-weight: 700;
}

.brand-name small {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--nav-muted);
}

/* DESKTOP NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #625f58;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--nav-accent);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--nav-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* CTA */

.nav-cta {
    min-height: 45px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    background: #282722;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.5px;

    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: var(--nav-accent);
}

.nav-cta svg {
    width: 17px;
    height: 17px;
}

/* MOBILE BUTTON */

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--nav-border);
    background: transparent;
    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 19px;
    height: 1.5px;
    background: var(--nav-text);
    transition: transform 0.3s ease;
}

.mobile-menu-btn.is-open span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.mobile-menu-btn.is-open span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* MOBILE MENU */

.mobile-menu {
    display: none;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .navbar-container {
        min-height: 76px;
        padding: 0 5%;
    }

    .desktop-nav,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100dvh - 76px);
        background: var(--nav-bg);

        overflow-y: auto;
        overscroll-behavior: contain;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);

        transition: opacity 0.3s ease,
                    visibility 0.3s ease,
                    transform 0.3s ease;
    }

    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-menu-inner {
        min-height: 100%;
        padding: 45px 7% 30px;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-label {
        font-size: 10px;
        letter-spacing: 3px;
        color: var(--nav-accent);
        margin: 0 0 25px;
    }

    .mobile-nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 17px 0;
        border-bottom: 1px solid var(--nav-border);

        color: var(--nav-text);
        font-family: 'Playfair Display', serif;
        font-size: clamp(26px, 7vw, 36px);
        text-decoration: none;

        transition: color 0.3s ease;
    }

    .mobile-nav-link.active,
    .mobile-nav-link:hover {
        color: var(--nav-accent);
    }

    .mobile-arrow {
        font-family: 'DM Sans', sans-serif;
        font-size: 20px;
    }

    .mobile-contact-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;

        background: #282722;
        color: #fff;
        text-decoration: none;

        padding: 18px 20px;
        margin-top: 35px;
        font-size: 13px;
    }

    .mobile-menu-footer {
        margin-top: auto;
        padding-top: 55px;

        display: flex;
        flex-direction: column;
        gap: 8px;

        font-size: 9px;
        letter-spacing: 1.5px;
        color: var(--nav-muted);
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {

    .navbar-container {
        padding: 0 18px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-name strong {
        font-size: 11px;
    }

    .brand-name small {
        font-size: 9px;
    }

}
