:root {
    --romo-navy: #0f172a;
    --romo-navy-2: #172033;
    --romo-blue: #0284c7;
    --romo-blue-light: #38bdf8;
    --romo-gold: #d6a84b;
    --romo-white: #ffffff;
    --romo-text: #1e293b;
    --romo-muted: #64748b;
    --romo-border: #e2e8f0;
    --romo-bg: #f8fafc;
}

html.romo-menu-open,
body.romo-menu-open {
    overflow: hidden !important;
}

.romo-site-header,
.romo-site-header * {
    box-sizing: border-box;
}

.romo-site-header {
    position: sticky;
    top: 0;
    z-index: 99990;
    width: 100%;
    direction: rtl;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--romo-border);
    box-shadow: 0 5px 25px rgba(15, 23, 42, 0.08);
    font-family: inherit;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.romo-header-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.romo-brand {
    color: var(--romo-navy);
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    text-decoration: none !important;
}

.romo-brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: var(--romo-white);
    background: linear-gradient(135deg, var(--romo-blue), var(--romo-navy));
    border-radius: 13px;
    box-shadow: 0 7px 18px rgba(2, 132, 199, 0.25);
    font-size: 22px;
    font-weight: 900;
}

.romo-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.romo-brand-text strong {
    font-size: 19px;
}

.romo-brand-text small {
    margin-top: 2px;
    color: var(--romo-muted);
    font-size: 11px;
}

.romo-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.romo-desktop-nav .romo-menu-link {
    min-height: 43px;
    padding: 10px 12px;
    color: #334155;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.romo-desktop-nav .romo-menu-link:hover,
.romo-desktop-nav .romo-menu-link.is-active {
    color: var(--romo-blue);
    background: #e0f2fe;
}

.romo-desktop-nav .romo-menu-icon {
    display: none;
}

.romo-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.romo-header-call {
    min-height: 43px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--romo-white);
    background: var(--romo-navy);
    border-radius: 10px;
    text-decoration: none !important;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 800;
    transition: 0.2s ease;
}

.romo-header-call:hover {
    color: var(--romo-white);
    background: var(--romo-blue);
    transform: translateY(-1px);
}

.romo-menu-button {
    width: 46px;
    height: 46px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: inherit;
    background: var(--romo-bg);
    border: 1px solid var(--romo-border);
    border-radius: 12px;
    cursor: pointer;
}

.romo-menu-line {
    width: 22px;
    height: 2px;
    display: block;
    background: var(--romo-navy);
    border-radius: 10px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.romo-menu-button[aria-expanded="true"] .romo-menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.romo-menu-button[aria-expanded="true"] .romo-menu-line:nth-child(2) {
    opacity: 0;
}

.romo-menu-button[aria-expanded="true"] .romo-menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.romo-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 99991;
    visibility: hidden;
    opacity: 0;
    background: rgba(2, 6, 23, 0.68);
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.romo-menu-overlay.is-open {
    visibility: visible;
    opacity: 1;
}

.romo-mobile-drawer {
    position: fixed;
    z-index: 99992;
    top: 0;
    right: 0;
    width: min(390px, 92vw);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    color: var(--romo-text);
    background: var(--romo-white);
    box-shadow: -20px 0 60px rgba(2, 6, 23, 0.24);
    transform: translateX(105%);
    transition: transform 0.3s ease, visibility 0.3s ease;
}

.romo-mobile-drawer.is-open {
    visibility: visible;
    transform: translateX(0);
}

.romo-drawer-header {
    min-height: 80px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--romo-white);
    background: linear-gradient(135deg, var(--romo-navy), #1e3a5f);
}

.romo-drawer-header > div {
    display: flex;
    flex-direction: column;
}

.romo-drawer-header strong {
    font-size: 18px;
}

.romo-drawer-header small {
    margin-top: 3px;
    color: #cbd5e1;
    font-size: 11px;
}

.romo-menu-close {
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
    color: var(--romo-white);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 11px;
    cursor: pointer;
    font-size: 30px;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.romo-drawer-content {
    padding: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.romo-menu-section {
    padding: 9px 0 14px;
    border-bottom: 1px solid var(--romo-border);
}

.romo-menu-section:last-child {
    border-bottom: 0;
}

.romo-menu-section-title {
    margin: 0 6px 8px;
    color: var(--romo-muted);
    font-size: 11px;
    font-weight: 800;
}

.romo-mobile-drawer .romo-menu-link {
    width: 100%;
    min-height: 48px;
    margin: 3px 0;
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #334155;
    background: transparent;
    border-radius: 10px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: 0.18s ease;
}

.romo-mobile-drawer .romo-menu-link:hover,
.romo-mobile-drawer .romo-menu-link.is-active {
    color: #0369a1;
    background: #e0f2fe;
}

.romo-menu-icon {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: grid;
    place-items: center;
    color: var(--romo-blue);
    background: #e0f2fe;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
}

.romo-primary-action {
    min-height: 67px;
    margin: 10px 0 0;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--romo-navy);
    background: linear-gradient(135deg, #f9d77c, var(--romo-gold));
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(214, 168, 75, 0.25);
    text-align: center;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
}

.romo-primary-action strong {
    margin-top: 3px;
    color: #713f12;
    font-size: 17px;
    direction: ltr;
}

.romo-drawer-footer {
    margin-top: auto;
    padding: 13px 18px;
    color: #cbd5e1;
    background: var(--romo-navy);
    text-align: center;
}

.romo-drawer-footer p {
    margin: 3px 0;
    font-size: 10px;
    line-height: 1.7;
}

@media (max-width: 960px) {
    .romo-desktop-nav {
        display: none;
    }

    .romo-menu-button {
        display: flex;
    }
}

@media (max-width: 600px) {
    .romo-header-inner {
        width: calc(100% - 22px);
        min-height: 67px;
        gap: 10px;
    }

    .romo-brand-mark {
        width: 39px;
        height: 39px;
        border-radius: 11px;
    }

    .romo-brand-text strong {
        font-size: 16px;
    }

    .romo-brand-text small {
        font-size: 9px;
    }

    .romo-header-call {
        width: 43px;
        height: 43px;
        padding: 0;
        justify-content: center;
        font-size: 19px;
    }

    .romo-header-call span:last-child {
        display: none;
    }

    .romo-menu-button {
        width: 43px;
        height: 43px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .romo-menu-overlay,
    .romo-mobile-drawer,
    .romo-menu-line,
    .romo-menu-link {
        transition: none !important;
    }
}
