/* ── Site nav (sticky) ── */
.site-nav {
    position: sticky; top: 0; left: 0; right: 0; z-index: 250;
    background: rgba(255,255,255,0.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid #F3F4F6;
}
.site-nav-inner {
    max-width: 1440px; margin: 0 auto; height: 80px; padding: 0 32px;
    display: flex; align-items: center; gap: 32px;
}
.site-nav-logo {
    display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800;
    color: #111827; text-decoration: none; flex-shrink: 0;
}
.site-nav-logo-img { display: block; height: 75px; width: auto; max-width: 100%; }
.site-nav-links { display: flex; justify-content: center; align-items: center; gap: 30px; flex: 1; }
.site-nav-links a {
    font-size: 14px; font-weight: 600; color: #374151; text-decoration: none; transition: color 0.2s;
}
.site-nav-links a:hover { color: #F97316; }
.site-nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-login-link { font-size: 14px; font-weight: 600; color: #374151; text-decoration: none; }
.nav-login-link:hover { color: #F97316; }
.nav-generate-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #FF7A18, #F97316); color: #fff;
    border: none; border-radius: 12px; padding: 11px 20px; font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: inherit; transition: filter 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}
.nav-generate-btn:hover { filter: brightness(0.92); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(249,115,22,0.3); }
.nav-generate-btn:active { transform: scale(0.98); }
.nav-generate-btn:focus-visible { outline: 2px solid #FED7AA; outline-offset: 2px; }
.site-nav-hamburger {
    display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #E5E7EB;
    background: #fff; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.site-nav-mobile {
    display: none; flex-direction: column; padding: 8px 20px 18px; border-top: 1px solid #F3F4F6;
}
.site-nav-mobile a {
    padding: 12px 4px; font-size: 14.5px; font-weight: 600; color: #374151; text-decoration: none;
    border-bottom: 1px solid #F9FAFB;
}
@media (max-width: 900px) {
    .site-nav-links { display: none; }
    .nav-login-link { display: none; }
    .nav-generate-btn { display: none !important; }
    /* .site-nav-links normally has flex:1 and pushes everything after it to
       the right — hidden here, so without this the hamburger just sits
       wherever it lands next to the logo/CTA instead of at the far edge. */
    .site-nav-hamburger { display: flex; margin-left: auto; }
    .site-nav-mobile.open { display: flex; }
    .site-nav-inner { padding: 0 16px; gap: 14px; }
}

@media (max-width: 767px) {
    .site-nav-inner { height: 64px; }
    .site-nav-logo-img { height: 60px; }
}

.account-wrap { position: relative; }
.account-chip {
    width: 40px; height: 40px; border-radius: 50%;
    background: #F97316;
    border: 2px solid rgba(249,115,22,0.30);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px; font-weight: 700;
    cursor: pointer; padding: 0; font-family: inherit;
    transition: box-shadow 0.2s;
}
.account-chip:hover { box-shadow: 0 0 0 4px rgba(249,115,22,0.20); }

.account-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    background: #fff; border-radius: 14px; min-width: 190px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25); overflow: hidden;
    display: none; z-index: 260; animation: ddIn 0.15s ease;
}
.account-dropdown.open { display: block; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.dd-mobile-number {
    padding: 12px 16px 10px; font-size: 12px; font-weight: 600;
    color: #6b7280; border-bottom: 1px solid #f1f5f9; font-family: monospace;
}
.dd-item {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px;
    background: transparent; border: none; font-size: 14px; font-weight: 600; color: #0f172a;
    cursor: pointer; text-align: left; transition: background 0.15s; font-family: inherit;
    text-decoration: none; box-sizing: border-box;
}
.dd-item:hover { background: #f8fafc; }
.dd-item-danger { color: #ef4444; }
.dd-item-danger:hover { background: #fef2f2; }
.dd-logout-form { border-top: 1px solid #f1f5f9; }
