:root
{
    --nav-height: 0;
}
nav
{
    position: fixed;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 50px;
    z-index: 101 ;
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-200); 
    top: 0;
}
nav .links
{
    width: 50%;
    font-size: 15px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
nav .links a
{
    padding: 2.5px 10px;
    font-family: hel-med;
    position: relative;
    color: var(--gray-1000);
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    border-radius:5px;
    border: 1px solid transparent;

}
nav .links a:hover
{
    background-color:var(--gray-200);
    border: 1px solid var(--gray-300);
}
nav .logo
{
    color: var(--secondary);
    font-family: hel-bold;
    font-size: 22px;
    width: 30%;
}
nav .logo .title
{
    white-space: nowrap;
}
nav .logo img
{
    width: 50px;
    /* display: none; */
}
nav .cta
{
    width: 25%;
    display: flex;
    gap: 10px;
    justify-content: right;
    align-items: center;
}

/* ── Hamburger toggle ─────────────────────────── */
.mob-toggle
{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--gray-900);
    padding: 4px;
    margin-left: auto;
    line-height: 1;
}

/* ── Mobile overlay menu ──────────────────────── */
.mob-menu
{
    position: fixed;
    inset: 0;
    background-color: var(--gray-100);
    z-index: 200;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    display: flex;
}
.mob-menu.open
{
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}
.mob-close
{
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--gray-700);
    line-height: 1;
    padding: 4px;
}
.mob-links
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.mob-links a
{
    font-size: 30px;
    font-family: hel-bold;
    color: var(--gray-900);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.mob-links a:hover
{
    color: var(--accent_1);
}
.mob-links .primary-button
{
    font-size: 16px;
    padding: 10px 32px;
    border-radius: 10px;
    margin-top: 10px;
    color: var(--accent_2-100);
}

/* ── Responsive: hide desktop nav, show hamburger ─ */
@media (max-width: 1024px)
{
    nav
    {
        padding: 10px 20px;
    }
    nav .links,
    nav .cta
    {
        display: none;
    }
    .mob-toggle
    {
        display: flex;
    }
}

