:root {
    --lp-nav-height: 88px;
    --lp-nav-height-scrolled: 76px;
}

.lp-navbar {
    height: var(--lp-nav-height);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--lp-border);
    box-shadow: 0 10px 30px rgba(15, 118, 110, 0.04);
    transition: all 0.35s ease;
    padding: 0;
    z-index: 1030;
}

.lp-navbar.scrolled {
    height: var(--lp-nav-height-scrolled);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 118, 110, 0.08);
}

.lp-navbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.navbar-brand {
    min-height: var(--lp-nav-height);
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 64px);
    text-decoration: none;
}

.lp-brand-text {
    min-width: 0;
}

.lp-brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.lp-brand-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--lp-text);
    letter-spacing: -0.03em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-brand-subtitle {
    color: var(--lp-text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-nav-link {
    color: var(--lp-text-muted) !important;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0 !important;
    transition: color 0.25s ease;
}

.lp-nav-link:hover,
.lp-nav-link.active {
    color: var(--lp-primary) !important;
}

@media (min-width: 992px) {
    .lp-nav-link::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: var(--lp-accent);
        transform: translateX(-50%);
        transition: width 0.25s ease;
        border-radius: 999px;
    }

    .lp-nav-link:hover::after,
    .lp-nav-link.active::after {
        width: 100%;
    }
}

.lp-header-phone {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-secondary) 100%);
    border: 1px solid transparent;
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    min-height: 44px;
    padding: 0.8rem 1.35rem !important;
    border-radius: 999px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(93, 63, 46, 0.20);
    transition: all 0.25s ease;
}

.lp-header-phone:hover {
    background: linear-gradient(135deg, var(--lp-primary-dark) 0%, var(--lp-primary) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(93, 63, 46, 0.24);
}

.lp-navbar-toggler {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-left: 10px;
    flex-shrink: 0;
}

.lp-hamburger-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lp-hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: var(--lp-text);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.lp-offcanvas-mobile {
    background: #ffffff !important;
    color: var(--lp-text);
    border-left: 1px solid var(--lp-border);
}

@media (max-width: 991px) {
    .lp-navbar {
        height: 78px;
    }

    .lp-navbar .container,
    .lp-navbar-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar-brand {
        min-height: 78px;
        max-width: calc(100% - 56px);
        gap: 12px !important;
    }

    .lp-brand-logo {
        height: 46px;
    }

    .lp-brand-title {
        font-size: 0.98rem;
        line-height: 1.05;
    }

    .lp-brand-subtitle {
        font-size: 0.62rem;
        letter-spacing: 0.10em;
    }

    .lp-nav-link {
        font-size: 1rem;
        font-weight: 700;
        padding: 14px 0 !important;
        border-bottom: 1px solid rgba(66, 43, 31, 0.06);
        display: block;
        width: 100%;
        color: var(--lp-text) !important;
    }
}

@media (max-width: 575px) {
    .lp-navbar {
        height: 74px;
    }

    .navbar-brand {
        min-height: 74px;
        max-width: calc(100% - 54px);
        gap: 10px !important;
    }

    .lp-brand-title {
        font-size: 0.92rem;
    }

    .lp-brand-subtitle {
        font-size: 0.56rem;
        letter-spacing: 0.08em;
    }

    .lp-navbar-toggler {
        width: 40px;
        height: 40px;
        margin-left: 8px;
    }

    .lp-hamburger-icon {
        width: 22px;
        height: 16px;
    }
}