/* ============================================================
   NAVBAR.CSS
============================================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    box-shadow: 0 2px 16px rgba(15, 23, 42, .08);
    height: 70px;
    display: flex;
    align-items: center;
}
.nav-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.navbar-inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ── Brand ── */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-box {
    width: 40px;
    height: 40px;
    background: var(--amber);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Karla', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.nav-brand-name {
    font-family: 'Karla', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--navy);
}

/* ── Desktop links ── */
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color .2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    border-radius: 2px;
    transition: width .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--amber);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ── Back link ── */
.nav-back {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    flex-shrink: 0;
    transition: color .2s;
}

.nav-back:hover {
    color: var(--amber);
}

/* ── CTA button ── */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--amber);
    color: var(--navy);
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    border: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--amber-dark);
    transform: translateY(-1px);
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    color: var(--navy);
    font-size: 20px;
    flex-shrink: 0;
}

/* ── Mobile dropdown ── */
#mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--gray-mid);
    padding: 16px 24px 20px;
    gap: 4px;
    position: sticky;
    top: 70px;
    z-index: 199;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

#mobile-nav.open {
    display: flex;
}

#mobile-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    transition: color .2s;
}

#mobile-nav a:last-child {
    border-bottom: none;
}

#mobile-nav a:hover {
    color: var(--amber);
}

#mobile-nav .mob-cta {
    color: var(--amber);
    font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-back {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar-inner {
        padding: 0 16px;
    }
}