/* Language switcher & RTL tweaks */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.lang-switch-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}

.lang-switch-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}

.lang-select {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-heading);
    cursor: pointer;
    min-width: 8.5rem;
}

html[dir="rtl"] .site-nav {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-actions,
html[dir="rtl"] .portal-actions,
html[dir="rtl"] .cta-actions {
    direction: rtl;
}

html[dir="rtl"] .fixed-contact-btn {
    left: auto;
    right: 0;
    border-radius: 8px 0 0 8px;
}

html[dir="rtl"] ul,
html[dir="rtl"] ol {
    margin-right: 1.25rem;
    margin-left: 0;
}

@media (max-width: 600px) {
    .header-top {
        flex-wrap: wrap;
    }
    .lang-switch-wrap {
        width: 100%;
        align-items: stretch;
    }
    .lang-select {
        width: 100%;
    }
}
