nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo svg {
    height: 44px;
    width: auto;
}

.nav-logo-text {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
}

.nav-logo-sub {
    font-size: .72rem;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: .04em;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: .92rem;
    transition: color .2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--teal);
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background .2s;
}

.nav-hamburger:hover {
    background: var(--teal-light);
}

.nav-hamburger span {
    display: block;
    height: 2.5px;
    border-radius: 2px;
    background: var(--dark);
    transition: transform .3s, opacity .3s, width .3s;
    transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    padding: 20px var(--gutter) 28px;
    z-index: 199;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
}

.nav-drawer.open {
    display: block;
}

.nav-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.nav-drawer ul li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f4;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    transition: color .2s;
}

.nav-drawer ul li a:hover {
    color: var(--teal);
}

.nav-drawer .btn {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    display: block;
}

/* About dropdown — desktop */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-arrow {
    font-size: .65rem;
    margin-left: 3px;
    display: inline-block;
    transition: transform .2s;
    vertical-align: middle;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown:focus-within .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .14);
    min-width: 210px;
    list-style: none;
    padding: 18px 0 8px;
    z-index: 300;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 9px 20px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s, background .15s;
}

.nav-dropdown-menu li a:hover {
    color: var(--teal);
    background: var(--teal-light);
}

.nav-dropdown-menu .dropdown-divider {
    border: none;
    border-top: 1px solid #eef2f4;
    margin: 6px 0;
}

/* Mobile drawer sub-items */
.drawer-sub-links {
    list-style: none;
    padding-left: 16px;
    border-left: 3px solid var(--teal-light);
    margin: 0 0 4px;
}

.drawer-sub-links li a {
    display: block;
    padding: 9px 0;
    border-bottom: 1px solid #f5f7f8;
    font-size: .9rem;
    font-weight: 600;
    color: var(--gray);
    text-decoration: none;
    transition: color .2s;
}

.drawer-sub-links li a:hover {
    color: var(--teal);
}