nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #000;
    border-bottom: 1px solid var(--color-border);
}

.header-bar {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 28px;
    background: #000;
    column-gap: 24px;
}

.years {
    justify-self: start;
    display: flex;
    align-items: center;
}

.logo {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 16px;
}

.bbb {
    justify-self: end;
    display: flex;
    align-items: center;
}

.anniversary-badge {
    height: 65px;
    width: auto;
    display: block;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}

.BBB {
    height: 50px;
    width: auto;
    display: block;
}

.logo a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 0.95;
    text-decoration: none;
}

.company-name {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #000;
    -webkit-text-stroke: 1px var(--color-brand);
    text-shadow: 0 0 6px rgba(212, 160, 52, 0.35);
    white-space: nowrap;
}

.subtext {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 5.9px;
    color: #000;
    -webkit-text-stroke: 0.8px var(--color-brand);
    text-shadow: 0 0 6px rgba(212, 160, 52, 0.35);
    white-space: nowrap;
}

nav .hamburger {
    display: none;
    font-size: 24px;
    color: var(--color-text);
    cursor: pointer;
}

nav .menu {
    background-color: var(--color-surface);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding-left: 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

nav .menu li {
    position: relative;
    margin: 10px 30px;
}

nav .menu li a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

nav .menu li a:hover {
    color: var(--color-brand);
    background-color: rgba(212, 160, 52, 0.08);
}

nav .menu li a.active {
    background-color: var(--color-surface-hover);
    color: var(--color-brand);
}

nav .menu li.dropdown:hover .submenu {
    display: block;
}

nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    list-style: none;
    margin-top: 0;
    padding-left: 0;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-dark);
    z-index: 1001;
}

nav .submenu li {
    margin: 0;
}

nav .submenu li a {
    display: block;
    padding: 14px 24px;
    font-size: 17px;
    border-radius: 0;
}

nav .submenu li a:hover {
    background-color: var(--color-surface-hover);
    color: var(--color-brand);
}

@media (max-width: 768px) {
    .header-bar {
        grid-template-columns: 1fr auto;
        padding: 10px 16px;
    }

    .years {
        display: none;
    }

    .bbb {
        display: none;
    }

    .logo {
        justify-self: start;
        gap: 10px;
    }

    .logo img {
        height: 72px;
    }

    .company-name {
        font-size: 28px;
    }

    .subtext {
        font-size: 14px;
        letter-spacing: 3px;
    }

    nav .hamburger {
        display: block;
        position: absolute;
        top: 32px;
        right: 18px;
        z-index: 1100;
    }

    nav .menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 0;
        padding: 10px 0;
    }

    nav .menu.show {
        display: flex;
    }

    nav .menu li {
        margin: 0;
    }

    nav .menu li a {
        padding: 14px 20px;
        border-radius: 0;
    }

    nav .submenu {
        position: static;
        display: none;
        min-width: 100%;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    nav .menu li.dropdown.open .submenu {
        display: block;
    }

    nav .submenu li a {
        padding: 12px 32px;
        font-size: 16px;
    }
}