/**
 * ROU primary navigation — shared by landing, contact hub, and inner pages.
 *
 * Brand tokens (--rou-primary, --rou-text-strong, --rou-surface, etc.) come from rou-tokens.css.
 * This file consumes them via the legacy aliases below so any markup using --rou-red / --rou-white
 * keeps working unchanged while inheriting the new ROU palette.
 */

:root {
    --rou-red: var(--rou-primary);
    --rou-red-dark: var(--rou-primary-dark);
    --rou-red-light: var(--rou-primary-light);
    --rou-white: var(--rou-surface);
    --rou-charcoal: var(--rou-text-strong);
    --rou-gray: var(--rou-text);
    --rou-gold: #D4AF37;
    --rou-nav-break: 900px;
    /* Bar controls: language + Sign in + Get started share one visual system */
    --rou-nav-control-fs: 0.75rem;
    --rou-nav-control-fw: 700;
    --rou-nav-control-ls: 0.04em;
    --rou-nav-control-py: 0.4rem;
    --rou-nav-control-px: 0.7rem;
    --rou-nav-control-radius: 9999px;
    --rou-nav-control-border: 1px solid rgba(0, 0, 0, 0.12);
    --rou-nav-control-bg: rgba(255, 255, 255, 0.9);
}

/* Skip link */
.rou-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 0.65rem 1.25rem;
    background: var(--rou-red);
    color: var(--rou-white);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    font-family: var(--rou-font-body);
}

.rou-skip-link:focus {
    left: 0;
    outline: 2px solid var(--rou-gold);
    outline-offset: 2px;
}

/* Header shell */
.rou-nav-header {
    position: relative;
    z-index: 100;
}

.rou-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.admin-bar .rou-nav {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .rou-nav {
        top: 46px;
    }
}

.rou-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
}

.rou-nav-logo {
    display: inline-flex;
    align-items: baseline;
    flex-shrink: 0;
    font-family: var(--rou-font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--rou-red);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.rou-nav-logo-text {
    letter-spacing: -0.02em;
}

.rou-nav-logo .rou-char {
    font-family: "Noto Sans SC", sans-serif;
    font-weight: 700;
    margin-left: 2px;
    font-size: 0.85em;
    opacity: 0.7;
}

/* Drawer: desktop = horizontal bar; mobile = full-width panel */
.rou-nav-drawer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    flex: 1;
    min-width: 0;
}

.rou-nav-mobile-label {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0.35rem 0 0.15rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rou-gray);
    opacity: 0.85;
}

.rou-nav-mobile-label--act {
    margin-top: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.rou-nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rou-nav-links--act {
    padding-left: 1rem;
    margin-left: 0.35rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    color: var(--rou-charcoal);
    font-weight: 600;
    font-size: 0.8125rem;
    background: transparent;
    text-decoration: none;
    transition: color 180ms var(--rou-ease), background 180ms var(--rou-ease), box-shadow 180ms var(--rou-ease);
    white-space: nowrap;
}

.nav-pill:hover {
    color: var(--rou-red);
    background: rgba(158, 27, 50, 0.08);
}

.nav-pill:focus-visible {
    outline: 2px solid var(--rou-gold);
    outline-offset: 2px;
}

/* Secondary action — existing customers */
.nav-pill-secondary {
    border: 1.5px solid rgba(0, 0, 0, 0.14);
    background: var(--rou-white);
    padding: 0.45rem 1rem;
}

.nav-pill-secondary:hover {
    border-color: rgba(158, 27, 50, 0.35);
    background: rgba(158, 27, 50, 0.04);
    color: var(--rou-red);
}

.nav-pill-cta {
    background: var(--rou-red);
    color: var(--rou-white) !important;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 4px 14px rgba(158, 27, 50, 0.28);
}

.nav-pill-cta:hover {
    background: var(--rou-red-dark);
    color: var(--rou-white) !important;
    box-shadow: 0 6px 18px rgba(158, 27, 50, 0.35);
}

.nav-pill.is-active {
    color: var(--rou-red);
    background: rgba(158, 27, 50, 0.12);
    font-weight: 700;
}

/* Current page = primary CTA: keep contrast on red pill */
.nav-pill-cta.is-active {
    color: var(--rou-white) !important;
    background: var(--rou-red-dark);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 6px 18px rgba(158, 27, 50, 0.35);
    font-weight: 700;
}

/* Act row + language: same typography, padding, radius, and border weight as the lang trigger */
.rou-nav-links--act .nav-pill,
.rou-lang-switcher__trigger {
    font-size: var(--rou-nav-control-fs);
    font-weight: var(--rou-nav-control-fw);
    letter-spacing: var(--rou-nav-control-ls);
    line-height: 1.25;
    padding: var(--rou-nav-control-py) var(--rou-nav-control-px);
    border-radius: var(--rou-nav-control-radius);
}

.rou-nav-links--act .nav-pill-secondary {
    border: var(--rou-nav-control-border);
    background: var(--rou-nav-control-bg);
    color: var(--rou-charcoal);
}

.rou-nav-links--act .nav-pill-secondary:hover {
    border-color: rgba(158, 27, 50, 0.35);
    background: rgba(158, 27, 50, 0.06);
    color: var(--rou-red);
}

.rou-nav-links--act .nav-pill-cta {
    border: 1px solid rgba(158, 27, 50, 0.45);
    padding: var(--rou-nav-control-py) calc(var(--rou-nav-control-px) + 0.15rem);
    box-shadow: 0 2px 10px rgba(158, 27, 50, 0.22);
}

.rou-nav-links--act .nav-pill-cta:hover {
    border-color: rgba(106, 15, 33, 0.85);
    box-shadow: 0 3px 12px rgba(158, 27, 50, 0.28);
}

.rou-nav-links--act .nav-pill-cta.is-active {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 6px 18px rgba(158, 27, 50, 0.35);
    border-color: rgba(255, 255, 255, 0.45);
}

.rou-nav-links--act .nav-pill.is-active:not(.nav-pill-cta) {
    border: var(--rou-nav-control-border);
    background: rgba(158, 27, 50, 0.08);
}

/* Mobile toggle */
.rou-nav-mobile-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: rgba(158, 27, 50, 0.08);
    color: var(--rou-charcoal);
    cursor: pointer;
    transition: background 180ms var(--rou-ease);
}

.rou-nav-mobile-btn:hover {
    background: rgba(158, 27, 50, 0.14);
}

.rou-nav-mobile-btn:focus-visible {
    outline: 2px solid var(--rou-gold);
    outline-offset: 2px;
}

.rou-nav-icon--close {
    display: none;
}

.rou-nav-mobile-btn[aria-expanded="true"] .rou-nav-icon--menu {
    display: none;
}

.rou-nav-mobile-btn[aria-expanded="true"] .rou-nav-icon--close {
    display: block;
}

/* Inner pages: space below fixed nav */
.rou-main-below-nav {
    padding-top: 4.25rem;
}

.admin-bar .rou-main-below-nav {
    padding-top: 5.5rem;
}

@media (max-width: 782px) {
    .admin-bar .rou-main-below-nav {
        padding-top: 6rem;
    }
}

@media (max-width: 900px) {
    .rou-nav-drawer {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 0;
        padding: 0.75rem 1.25rem 1.25rem;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    }

    .rou-nav-drawer.is-open {
        display: flex;
    }

    .rou-nav-mobile-label {
        display: block;
    }

    .rou-nav-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.25rem;
    }

    .rou-nav-links--act {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }

    .rou-nav-links .nav-pill,
    .rou-nav-links .nav-pill-secondary,
    .rou-nav-links .nav-pill-cta {
        width: 100%;
        justify-content: flex-start;
        border-radius: 10px;
        padding: 0.75rem 1rem;
    }

    /* Act row: keep typographic match to lang control, larger tap targets on small screens */
    .rou-nav-links--act .nav-pill {
        font-size: 0.8125rem;
        letter-spacing: 0.03em;
    }

    .rou-nav-links .nav-pill-cta {
        justify-content: center;
    }

    .rou-nav-mobile-btn {
        display: flex;
    }
}

@media (min-width: 901px) {
    .rou-nav-drawer {
        display: flex !important;
    }
}

/* Public language switcher (ROU PublicLang) — compact menu, one control in the bar */
.rou-nav-lang-wrap {
    flex-shrink: 0;
}

.rou-lang-switcher {
    position: relative;
    font-family: var(--rou-font-body);
}

.rou-lang-switcher__trigger {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: var(--rou-nav-control-py) 0.55rem;
    border-radius: var(--rou-nav-control-radius);
    border: var(--rou-nav-control-border);
    background: var(--rou-nav-control-bg);
    color: var(--rou-charcoal);
    font-size: var(--rou-nav-control-fs);
    font-weight: var(--rou-nav-control-fw);
    letter-spacing: var(--rou-nav-control-ls);
    cursor: pointer;
    transition: border-color 180ms var(--rou-ease), background 180ms var(--rou-ease), color 180ms var(--rou-ease), box-shadow 180ms var(--rou-ease);
    -webkit-tap-highlight-color: transparent;
}

.rou-lang-switcher__trigger::-webkit-details-marker {
    display: none;
}

.rou-lang-switcher__trigger::marker {
    content: '';
}

.rou-lang-switcher__trigger:hover {
    border-color: rgba(158, 27, 50, 0.35);
    background: rgba(158, 27, 50, 0.06);
    color: var(--rou-red);
}

.rou-lang-switcher__trigger:focus-visible {
    outline: 2px solid var(--rou-gold);
    outline-offset: 2px;
}

.rou-lang-switcher[open] .rou-lang-switcher__trigger {
    border-color: rgba(158, 27, 50, 0.45);
    background: rgba(158, 27, 50, 0.08);
    color: var(--rou-red);
    box-shadow: 0 0 0 1px rgba(158, 27, 50, 0.12);
}

.rou-lang-switcher__icon {
    display: flex;
    color: var(--rou-gray);
    flex-shrink: 0;
}

.rou-lang-switcher[open] .rou-lang-switcher__icon,
.rou-lang-switcher__trigger:hover .rou-lang-switcher__icon {
    color: inherit;
}

.rou-lang-switcher__code {
    min-width: 1.5em;
    text-align: center;
    line-height: 1;
}

.rou-lang-switcher__panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 11.5rem;
    padding: 0.35rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    z-index: 220;
}

.rou-lang-switcher__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rou-charcoal);
    text-decoration: none;
    box-sizing: border-box;
    transition: background 150ms var(--rou-ease);
}

.rou-lang-switcher__link:hover {
    background: rgba(158, 27, 50, 0.08);
    color: var(--rou-red);
}

.rou-lang-switcher__link:focus-visible {
    outline: 2px solid var(--rou-gold);
    outline-offset: 0;
}

.rou-lang-switcher__row--current {
    background: rgba(158, 27, 50, 0.07);
    color: var(--rou-red);
    cursor: default;
}

.rou-lang-switcher__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.15rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.06);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--rou-gray);
    flex-shrink: 0;
}

.rou-lang-switcher__row--current .rou-lang-switcher__badge {
    background: rgba(158, 27, 50, 0.15);
    color: var(--rou-red);
}

.rou-lang-switcher__name {
    flex: 1;
    min-width: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rou-lang-switcher__check {
    flex-shrink: 0;
    color: var(--rou-red);
}

@media (max-width: 900px) {
    .rou-nav-lang-wrap {
        order: 1;
        margin-left: auto;
        margin-right: 0.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-pill,
    .rou-nav-mobile-btn,
    .rou-lang-switcher__trigger,
    .rou-lang-switcher__row,
    .rou-nav-links--act .nav-pill {
        transition: none;
    }

    #navbar.rou-nav-bar .rou-nav-ref-link .nav-link-underline,
    #navbar.rou-nav-bar .rou-nav-ref-icon.nav-icon {
        transition: none;
    }

    #navbar.rou-nav-bar .rou-nav-ref-link:hover .nav-icon {
        transform: none;
    }
}

/* Screen reader only (language <select> label) */
.rou-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -------------------------------------------------------------------------
   Landing reference header — #navbar.rou-nav-bar (ROU_Landing_Page.html parity)
   ------------------------------------------------------------------------- */
#navbar.rou-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 247, 237, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.admin-bar #navbar.rou-nav-bar {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar #navbar.rou-nav-bar {
        top: 46px;
    }
}

#navbar.rou-nav-bar.nav-scrolled,
#navbar.rou-nav-bar.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#navbar.rou-nav-bar .rou-nav-bar-inner {
    position: relative;
    max-width: 80rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    min-height: 4rem; /* h-16 */
    flex-wrap: nowrap;
}

@media (min-width: 768px) {
    #navbar.rou-nav-bar .rou-nav-bar-inner {
        padding: 0 1.5rem;
        min-height: 5rem; /* md:h-20 */
    }
}

@media (min-width: 1024px) {
    #navbar.rou-nav-bar .rou-nav-bar-inner {
        padding: 0 2rem;
    }
}

#navbar.rou-nav-bar .rou-nav-ref-logo.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* space-x-2 */
    text-decoration: none;
    color: #3f3f46;
    font-family: var(--rou-font-display, 'Poppins', system-ui, sans-serif);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

#navbar.rou-nav-bar .rou-nav-ref-mark.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: #d90f32;
    color: #fff;
    font-size: 1.25rem; /* text-xl */
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* shadow-md */
    transition: box-shadow 0.2s ease;
}

#navbar.rou-nav-bar .rou-nav-ref-logo:hover .rou-nav-ref-mark.logo-icon {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
}

#navbar.rou-nav-bar .rou-nav-ref-wordmark {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    color: #d90f32;
}

#navbar.rou-nav-bar .rou-nav-ref-stamp.icon-stamp {
    width: 1.75rem;
    height: 1.75rem; /* w-7 h-7 */
    margin-left: 0.25rem;
    opacity: 0.8;
    flex-shrink: 0;
}

/* Center nav links: override legacy drawer */
#navbar.rou-nav-bar .rou-nav-drawer {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
    flex-direction: row;
    position: static;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

#navbar.rou-nav-bar .rou-nav-ref-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Reference nav-link + nav-link-underline (ROU_Landing_Page.html) */
#navbar.rou-nav-bar .rou-nav-ref-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #3f3f46;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

#navbar.rou-nav-bar .rou-nav-ref-link:hover,
#navbar.rou-nav-bar .rou-nav-ref-link:focus-visible {
    color: #d90f32;
    background: transparent;
}

#navbar.rou-nav-bar .rou-nav-ref-link.is-active {
    color: #d90f32;
    font-weight: 500;
    background: transparent;
}

#navbar.rou-nav-bar .rou-nav-ref-link .nav-link-container {
    position: relative;
    display: inline-block;
}

#navbar.rou-nav-bar .rou-nav-ref-link .nav-link-text {
    position: relative;
    z-index: 1;
}

#navbar.rou-nav-bar .rou-nav-ref-link .nav-link-underline {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d90f32;
    transition: width 0.3s ease-in-out;
}

#navbar.rou-nav-bar .rou-nav-ref-link:hover .nav-link-underline,
#navbar.rou-nav-bar .rou-nav-ref-link:focus-visible .nav-link-underline,
#navbar.rou-nav-bar .rou-nav-ref-link.is-active .nav-link-underline {
    width: 100%;
}

#navbar.rou-nav-bar .rou-nav-ref-icon.nav-icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    color: #d90f32;
    transition: transform 0.3s ease-in-out;
}

#navbar.rou-nav-bar .rou-nav-ref-link:hover .nav-icon {
    transform: scale(1.1);
}

#navbar.rou-nav-bar .rou-nav-bar-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem; /* space-x-4 */
    flex-shrink: 0;
}

@media (min-width: 901px) and (max-width: 1120px) {
    #navbar.rou-nav-bar .rou-nav-bar-inner {
        padding-inline: 1rem;
        gap: 0.5rem;
    }

    #navbar.rou-nav-bar .rou-nav-ref-logo.logo-container {
        gap: 0.3rem;
    }

    #navbar.rou-nav-bar .rou-nav-ref-wordmark {
        font-size: 1.25rem;
    }

    #navbar.rou-nav-bar .rou-nav-ref-stamp.icon-stamp {
        width: 1.65rem;
        height: 1.65rem;
        margin-left: 0.15rem;
    }

    #navbar.rou-nav-bar .rou-nav-ref-link {
        gap: 0.25rem;
        padding: 0;
        font-size: 0.875rem;
    }

    #navbar.rou-nav-bar .rou-nav-ref-icon.nav-icon {
        width: 0.875rem;
        height: 0.875rem;
    }

    #navbar.rou-nav-bar .lang-selector .rou-lang-select {
        max-width: 8.5rem;
        padding: 0.45rem 1.75rem 0.45rem 0.65rem;
    }

    #navbar.rou-nav-bar .rou-nav-ref-cta {
        padding-inline: 0.75rem;
        font-size: 0.8125rem;
        letter-spacing: 0.02em;
    }
}

#navbar.rou-nav-bar .rou-nav-ref-login {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #3f3f46;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

#navbar.rou-nav-bar .rou-nav-ref-login:hover {
    color: #d90f32;
}

#navbar.rou-nav-bar .rou-nav-ref-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem; /* py-2.5 px-5 */
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: normal;
    text-decoration: none;
    color: #fff !important;
    background: #d90f32;
    border: none;
    border-radius: 0.5rem;
    box-shadow: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.3s ease;
}

#navbar.rou-nav-bar .rou-nav-ref-cta:hover {
    background: #b00d29;
}

/* Reference-style language <select> (.lang-selector in ROU_Landing_Page.html) */
#navbar.rou-nav-bar .rou-lang-select-wrap.lang-selector {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

#navbar.rou-nav-bar .lang-selector .rou-lang-select {
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--rou-font-body, inherit);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.25;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(63, 63, 70, 0.3);
    background: transparent;
    background-color: transparent;
    color: #3f3f46;
    cursor: pointer;
    max-width: 11rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

#navbar.rou-nav-bar .lang-selector::after {
    content: '\25BC';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.5rem;
    line-height: 1;
    pointer-events: none;
    color: #3f3f46;
}

#navbar.rou-nav-bar .lang-selector .rou-lang-select:hover,
#navbar.rou-nav-bar .lang-selector .rou-lang-select:focus {
    outline: none;
    background: rgba(217, 15, 50, 0.05);
    border-color: #d90f32;
    box-shadow: none;
}

#navbar.rou-nav-bar.nav-scrolled .lang-selector .rou-lang-select,
#navbar.rou-nav-bar.is-scrolled .lang-selector .rou-lang-select {
    border-color: #d1d5db;
    color: #374151;
}

#navbar.rou-nav-bar.nav-scrolled .lang-selector .rou-lang-select:hover,
#navbar.rou-nav-bar.is-scrolled .lang-selector .rou-lang-select:focus {
    background: #f3f4f6;
    border-color: #d1d5db;
}

#navbar.rou-nav-bar.nav-scrolled .lang-selector::after,
#navbar.rou-nav-bar.is-scrolled .lang-selector::after {
    color: #6b7280;
}

/* Mobile: hide link row, use toggle */
@media (max-width: 900px) {
    #navbar.rou-nav-bar .rou-nav-drawer {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 1.25rem 1rem;
        background: rgba(255, 255, 255, 0.99);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    }

    #navbar.rou-nav-bar .rou-nav-drawer.is-open {
        display: flex;
    }

    #navbar.rou-nav-bar .rou-nav-ref-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.25rem;
    }

    #navbar.rou-nav-bar .rou-nav-ref-link {
        width: 100%;
        justify-content: flex-start;
        border-radius: 0;
        padding: 0.65rem 0.75rem;
    }

    #navbar.rou-nav-bar .rou-nav-ref-link .nav-link-underline {
        bottom: 0.35rem;
    }

    #navbar.rou-nav-bar .rou-nav-bar-actions {
        margin-left: auto;
        margin-right: 0.25rem;
    }

    #navbar.rou-nav-bar .rou-nav-bar-end {
        display: flex;
        flex-shrink: 0;
        align-items: center;
        gap: 0.35rem;
        margin-left: auto;
    }

    #navbar.rou-nav-bar .rou-nav-lang-wrap {
        order: 0;
        margin-left: 0;
        margin-right: 0;
    }

    #navbar.rou-nav-bar .rou-nav-mobile-btn {
        display: flex;
        order: 1;
    }

    #navbar.rou-nav-bar .rou-nav-ref-logo.logo-container {
        flex: 0 1 auto;
        max-width: calc(100% - 7.25rem);
    }

    #navbar.rou-nav-bar .rou-nav-bar-inner {
        flex-wrap: nowrap;
        align-items: center;
    }
}

/* Desktop: always show hamburger hidden */
@media (min-width: 901px) {
    #navbar.rou-nav-bar .rou-nav-mobile-btn {
        display: none !important;
    }

    #navbar.rou-nav-bar .rou-nav-drawer {
        display: flex !important;
    }
}

