/* ─── SITE NAV + ANNOUNCEMENT + FOOTER — shared across all pages ─── */

/* ─── SKIP LINK (a11y) ─── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 100000;
    padding: 0.5rem 1rem;
    background: #1e293b;
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: top .2s;
}
.skip-link:focus {
    top: 0;
}

/* ─── ANNOUNCEMENT BAR ─── */

.site-announcement {
    background: linear-gradient(135deg, #f0f9ff 0%, #faf5ff 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 0.6rem 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #1a1a2e;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-announcement span {
    color: #5b5ee8;
    font-weight: 600;
}

.site-announcement button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.25rem;
}

.site-announcement button:hover {
    color: #1a1a2e;
}

/* ─── SITE NAV ─── */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    padding: 0 2.5rem;
}

.site-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-nav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a2e;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.site-nav-brand span {
    background: linear-gradient(135deg, #5b5ee8, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.9rem;
    text-decoration: none;
    color: #1a1a2e;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.site-nav-links a:hover {
    color: #5b5ee8;
    background: #eef2ff;
    border-color: #e0e7ff;
}

.site-nav-links a.active {
    font-weight: 700;
    color: #5b5ee8;
}

.site-nav-links a.nav-cta {
    background: linear-gradient(135deg, #5b5ee8, #06b6d4);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
}

.site-nav-links a.nav-cta:hover {
    opacity: 0.9;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #0891b2);
}

.site-nav-links .nav-flag {
    display: inline-block;
    transform: scale(1.2);
    margin-left: 1px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #1a1a2e;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .site-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid #e2e8f0;
        flex-direction: column;
        padding: 0.75rem 1rem 1.25rem;
        gap: 0.25rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

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

    .site-nav-links a {
        padding: 0.7rem 1rem;
        font-size: 1rem;
        border-radius: 12px;
        width: 100%;
    }
}

/* ─── SITE FOOTER ─── */

.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-footer p {
    margin: 0 0 0.5rem;
}

.site-footer p:last-child {
    margin-bottom: 0;
}

.site-footer a {
    color: #5b5ee8;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

/* ─── FOCUS STYLES (a11y) ─── */
a:focus-visible, button:focus-visible {
    outline: 2px solid #5b5ee8;
    outline-offset: 2px;
}

.site-nav-links a:focus-visible {
    background: #eef2ff;
    border-color: #e0e7ff;
}
