/* ==========================================
   NAV SHELL
========================================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;

    padding: 16px var(--page-padding);
}


/* ==========================================
   NAV PILL
========================================== */

.nav-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 10px 10px 20px;

    background: var(--white);

    border-radius: 999px;

    box-shadow:
        0 1px 3px rgba(28, 27, 41, 0.06),
        0 8px 24px -8px rgba(28, 27, 41, 0.12);
}


/* ==========================================
   LOGO
========================================== */

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo img {
    height: 30px;
    width: auto;
    display: block;
}


/* ==========================================
   LINKS
========================================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: inline-block;
    padding: 8px 16px;

    color: var(--ink);

    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;

    text-decoration: none;

    border-radius: 999px;

    transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
    color: var(--ink);
    background: rgba(107, 57, 189, 0.06);
}

/* Contact us — filled pill */
.nav-links .nav-cta a {
    padding: 8px 20px;

    background: var(--purple);
    color: var(--white);

    border-radius: 999px;
}

.nav-links .nav-cta a:hover {
    background: #5a2fa8;
    color: var(--white);
}


/* ==========================================
   MOBILE TOGGLE
========================================== */

.nav-toggle {
    display: none;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background: none;
    border: none;
    border-radius: 999px;

    cursor: pointer;

    color: var(--ink);

    transition: background 0.15s ease;
}

.nav-toggle:hover {
    background: rgba(107, 57, 189, 0.06);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 640px) {

    .site-nav {
        padding: 12px 16px;
    }

    .nav-pill {
        border-radius: 20px;
        padding: 10px 10px 10px 16px;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        width: 100%;
        padding: 10px 0 4px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 10px 12px;
        border-radius: 12px;
    }

    .nav-links .nav-cta a {
        text-align: center;
        margin-top: 4px;
        border-radius: 12px;
    }

}
