/* Rubik navigation: shared desktop header and RTL modal drawer. */
.rk-header, .rk-drawer { --rk-accent: #fdb614; --rk-muted: #a4adbe; font-family: inherit; }
.rk-header *, .rk-drawer * { box-sizing: border-box; }
.rk-header { position: sticky; top: 0; z-index: 1200; background: rgba(17, 24, 39, .96); border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(18px); }
.rk-header__inner { max-width: 1440px; min-height: 84px; margin: auto; padding: 12px 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.rk-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 12px; color: #fff !important; text-decoration: none !important; }
.rk-brand img { width: 44px; height: 44px; object-fit: contain; }
.rk-brand__text { display: flex; flex-direction: column; gap: 5px; text-align: right; }
.rk-brand__text strong { font-size: 26px; line-height: 1.15; font-weight: 800; }
.rk-brand__text small { color: var(--rk-muted); font-size: 10px; font-weight: 400; line-height: 1.5; }
.rk-menu-links { margin: 0; padding: 0; list-style: none; }
.rk-desktop-nav { min-width: 0; }
.rk-desktop-nav .rk-menu-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.rk-menu-links a { color: #e4e8f0; text-decoration: none !important; }
.rk-desktop-nav .rk-menu-links a { display: block; position: relative; padding: 14px 13px; white-space: nowrap; font-size: 13px; transition: color .2s; }
.rk-desktop-nav .rk-menu-links a::after { content: ''; position: absolute; bottom: 4px; left: 13px; right: 13px; height: 2px; background: var(--rk-accent); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.rk-desktop-nav .rk-menu-links a:hover, .rk-menu-links a[aria-current="page"] { color: var(--rk-accent); }
.rk-desktop-nav .rk-menu-links a:hover::after, .rk-desktop-nav .rk-menu-links a[aria-current="page"]::after { transform: scaleX(1); }
.rk-desktop-nav .rk-menu-links__number, .rk-desktop-nav .rk-menu-links__arrow { display: none; }
.rk-header__actions { display: flex; flex-shrink: 0; align-items: center; gap: 12px; }
.rk-header__contact { display: flex; align-items: center; gap: 18px; color: #ffe0a0 !important; border: 1px solid rgba(253,182,20,.38); border-radius: 10px; padding: 12px 16px; font-size: 12px; transition: background .2s; text-decoration: none !important; }
.rk-header__contact:hover { background: rgba(253,182,20,.1); }
.rk-menu-toggle, .rk-drawer__close { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; border: 1px solid rgba(255,255,255,.17); border-radius: 12px; color: #fff; background: rgba(255,255,255,.04); cursor: pointer; font: inherit; transition: background .2s, border-color .2s; }
.rk-menu-toggle { padding: 0 14px; font-size: 12px; }
.rk-menu-toggle[hidden] { display: none; }
.rk-menu-toggle:hover, .rk-drawer__close:hover { background: rgba(253,182,20,.1); border-color: var(--rk-accent); }
.rk-menu-toggle__lines { width: 21px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.rk-menu-toggle__lines i { height: 2px; width: 21px; background: var(--rk-accent); border-radius: 2px; transition: width .2s; }
.rk-menu-toggle__lines i:last-child { width: 14px; }
.rk-menu-toggle:hover i:last-child { width: 21px; }
.rk-header a:focus-visible, .rk-header button:focus-visible, .rk-drawer a:focus-visible, .rk-drawer button:focus-visible { outline: 2px solid var(--rk-accent); outline-offset: 4px; }
.rk-drawer:not([open]) { display: none; }
.rk-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; width: min(420px, calc(100vw - 24px)); max-width: none; height: 100%; height: 100dvh; max-height: none; border: 0; border-left: 1px solid rgba(255,255,255,.13); color: #fff; background: #131c2d; overflow-y: auto; overscroll-behavior: contain; box-shadow: -24px 0 80px rgba(0,0,0,.28); transform: translateX(102%); transition: transform .32s cubic-bezier(.22,1,.36,1); }
.rk-drawer.is-open { transform: translateX(0); }
.rk-drawer::backdrop { background: rgba(5,10,20,0); backdrop-filter: blur(0); transition: background .28s, backdrop-filter .28s; }
.rk-drawer.is-open::backdrop { background: rgba(5,10,20,.65); backdrop-filter: blur(6px); }
.rk-drawer__inner { min-height: 100%; padding: max(24px, env(safe-area-inset-top)) 28px max(24px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; background: radial-gradient(ellipse at 100% 0, rgba(49,67,100,.35), transparent 50%); }
.rk-drawer { scrollbar-width: thin; scrollbar-color: #45536d #131c2d; }
.rk-drawer__top { position: sticky; top: 0; z-index: 1; background: #172133; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0 26px; margin-top: -10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.rk-drawer__close { flex: 0 0 44px; width: 44px; height: 44px; font-size: 28px; font-family: Arial, sans-serif; }
.rk-drawer__intro { padding: 32px 0 24px; text-align: right; }
.rk-drawer__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--rk-accent); font-size: 11px; }
.rk-drawer__eyebrow::before { content: ''; height: 1px; width: 24px; background: currentColor; }
.rk-drawer__intro h2 { color: #fff; margin: 10px 0 0; font-size: 22px; font-weight: 700; line-height: 1.6; }
.rk-drawer__nav { margin-bottom: 28px; }
.rk-drawer__nav li { opacity: 0; transform: translateX(16px); transition: opacity .24s, transform .3s; }
.rk-drawer.is-open .rk-drawer__nav li { opacity: 1; transform: none; transition-delay: calc(60ms + min(var(--menu-order, 0), 8) * 35ms); }
.rk-drawer__nav a { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 12px 14px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 8px; transition: color .2s, background .2s; }
.rk-drawer__nav a:hover, .rk-drawer__nav a[aria-current="page"] { background: rgba(253,182,20,.07); color: var(--rk-accent); }
.rk-menu-links__number { color: #76849e; font-size: 11px; font-variant-numeric: tabular-nums; }
.rk-menu-links__arrow { margin-right: auto; font-size: 20px; color: #78869e; transition: transform .2s; }
.rk-drawer__nav a:hover .rk-menu-links__arrow { transform: translate(-3px,-3px); color: var(--rk-accent); }
.rk-drawer__bottom { margin-top: auto; text-align: right; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.rk-drawer__bottom p { font-size: 11px; line-height: 1.9; color: var(--rk-muted); margin: 0 0 14px; }
.rk-drawer__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; border-radius: 10px; color: #151b28 !important; background: var(--rk-accent); font-size: 13px; font-weight: 700; text-decoration: none !important; transition: background .2s; }
.rk-drawer__cta:hover { background: #ffd16a; }
.rk-drawer__cta span { font-size: 22px; }
.rk-drawer__signature { display: block; margin-top: 20px; font-size: 10px; color: #7c8aa3; text-align: center; }
@media (min-width: 1200px) { .rk-menu-toggle { display: none; } }
@media (max-width: 1199px) {
    .rk-header__inner { padding: 12px 24px; min-height: 76px; flex-wrap: wrap; gap: 14px; }
    .rk-desktop-nav { order: 3; flex: 1 1 100%; }
    .rk-header.is-enhanced .rk-desktop-nav { display: none; }
}
@media (max-width: 575px) {
    .rk-header__inner { min-height: 72px; padding: 10px 16px; gap: 10px; }
    .rk-header__contact { display: none; }
    .rk-brand { gap: 9px; }
    .rk-brand img { width: 38px; height: 38px; }
    .rk-brand__text strong { font-size: 24px; }
    .rk-brand__text small { font-size: 9px; }
    .rk-drawer__inner { padding-right: 22px; padding-left: 22px; }
    .rk-drawer__nav a { font-size: 15px; min-height: 60px; }
}
@media (max-height: 650px) {
    .rk-drawer__intro { padding: 18px 0 12px; }
    .rk-drawer__nav a { min-height: 50px; }
    .rk-drawer__top { padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .rk-header *, .rk-drawer, .rk-drawer *, .rk-drawer::backdrop { transition: none !important; animation: none !important; }
}
@media print { .rk-header, .rk-drawer { display: none !important; } }
