:root {
    --pa-navbar-height: 72px;
    --pa-primary: #f6ae01;
    --pa-primary-hover: #e29f01;
    --pa-text: #333;
    --pa-text-muted: #666;
}

.pa-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--pa-navbar-height);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    z-index: 1100;
}

.pa-navbar__inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pa-navbar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.pa-navbar__brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.pa-navbar__brand:hover img {
    transform: scale(1.04);
}

.pa-navbar__brand span {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--pa-text);
    line-height: 1.2;
}

.pa-navbar__desktop {
    display: none;
    align-items: center;
    gap: 4px;
}

.pa-navbar__link {
    position: relative;
    padding: 8px 14px;
    color: var(--pa-text);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.pa-navbar__link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: var(--pa-primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.pa-navbar__link:hover {
    color: var(--pa-primary);
}

.pa-navbar__link:hover::after,
.pa-navbar__link.is-active::after {
    transform: scaleX(1);
}

.pa-navbar__link.is-active {
    color: var(--pa-primary);
    font-weight: 600;
}

.pa-navbar__cta {
    margin-left: 8px;
    padding: 10px 20px;
    background: var(--pa-primary);
    color: #fff !important;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(246, 174, 1, 0.35);
}

.pa-navbar__cta::after {
    display: none;
}

.pa-navbar__cta:hover {
    background: var(--pa-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(246, 174, 1, 0.45);
}

.pa-navbar__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pa-navbar__toggle:hover {
    background: rgba(246, 174, 1, 0.12);
}

.pa-navbar__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pa-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pa-navbar.is-open .pa-navbar__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.pa-navbar.is-open .pa-navbar__toggle span:nth-child(2) {
    opacity: 0;
}

.pa-navbar.is-open .pa-navbar__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.pa-navbar__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1190;
}

.pa-navbar__overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.pa-navbar__drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pa-navbar__drawer.is-open {
    transform: translateX(0);
}

.pa-navbar__drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.pa-navbar__drawer-header span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pa-text);
}

.pa-navbar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--pa-text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pa-navbar__close:hover {
    background: rgba(246, 174, 1, 0.15);
    color: var(--pa-primary);
}

.pa-navbar__drawer-links {
    display: flex;
    flex-direction: column;
    padding: 8px 12px 24px;
    overflow-y: auto;
    flex: 1;
}

.pa-navbar__drawer-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    color: var(--pa-text);
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pa-navbar__drawer-links a:hover,
.pa-navbar__drawer-links a.is-active {
    background: rgba(246, 174, 1, 0.1);
    color: var(--pa-primary);
}

.pa-navbar__drawer-links .pa-navbar__cta-mobile {
    margin-top: 12px;
    justify-content: center;
    background: var(--pa-primary);
    color: #fff !important;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(246, 174, 1, 0.35);
}

.pa-navbar__drawer-links .pa-navbar__cta-mobile:hover {
    background: var(--pa-primary-hover);
}

body.pa-nav-open {
    overflow: hidden;
}

@media (min-width: 992px) {
    .pa-navbar__desktop {
        display: flex;
    }

    .pa-navbar__toggle {
        display: none;
    }

    .pa-navbar__overlay,
    .pa-navbar__drawer {
        display: none !important;
    }
}

@media (max-width: 991px) {
    :root {
        --pa-navbar-height: 64px;
    }

    .pa-navbar__brand img {
        height: 44px;
    }

    .pa-navbar__brand span {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .pa-navbar__inner {
        padding: 0 14px;
    }

    .pa-navbar__brand span {
        font-size: 1rem;
    }
}
