/* =============================================================================
   RANKRIX FOOTER — CSS (extracted from production WPCode snippet 04)
   Loaded by functions.php via wp_enqueue_style.
   ========================================================================== */


:root {
    --rkxf-w-def: 100%;
    --rkxf-w-exp: 100%;
    --rkxf-h: 50px;
    --rkxf-bot: 10px;
    --rkxf-bg: rgba(0, 0, 0, 0.58);
    --rkxf-bg-menu: rgba(0, 0, 0, 0.52);
    --rkxf-border: rgba(255, 255, 255, 0.10);
    --rkxf-muted: rgba(255, 255, 255, 0.45);
    --rkxf-dim: rgba(255, 255, 255, 0.26);
    --rkxf-ghost-b: rgba(255, 255, 255, 0.14);
    --rkxf-ghost-bg: rgba(255, 255, 255, 0.06);
    --rkxf-accent: #1D24CA;
    --rkxf-accent-h: #2d35e0;
    --rkxf-accent-glow: rgba(29, 36, 202, 0.45);
    --rkxf-accent-b: rgba(29, 36, 202, 0.55);
    --rkxf-accent-tx: #818cf8;
    --rkxf-radius: 1px;
    --rkxf-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --rkxf-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
    --rkxf-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --rkxf-fast: 160ms;
}

.rkx-footer-wrap, .rkx-footer-wrap *, .rkx-footer-wrap *::before, .rkx-footer-wrap *::after,
.rkx-drawer, .rkx-drawer *, .rkx-drawer-backdrop {
    box-sizing: border-box;
}

body { padding-bottom: 80px; }

.rkx-footer-wrap {
    position: fixed;
    bottom: var(--rkxf-bot);
    left: 50%;
    transform: translateX(-50%);
    width: var(--rkxf-w-def);
    max-width: calc(100% - 16px);
    z-index: 998;
    font-family: var(--rkxf-font);
    pointer-events: none;
    opacity: 0;
    will-change: width, opacity, transform;
    transition: width 500ms var(--rkxf-ease);
}
.rkx-footer-wrap.is-visible { pointer-events: auto; }
.rkx-footer-wrap.is-open    { width: var(--rkxf-w-exp); }

.rkx-foot-panel {
    width: 100%;
    position: absolute;
    bottom: calc(100% - 1px);
    left: 0;
    background: var(--rkxf-bg-menu);
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    border: 1px solid var(--rkxf-border);
    border-bottom: none;
    border-radius: var(--rkxf-radius) var(--rkxf-radius) 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    pointer-events: none;
    overflow: hidden;
    background-image: radial-gradient(ellipse at 85% -10%, rgba(29, 36, 202, 0.09) 0%, transparent 55%);
    will-change: opacity, transform;
    transform-origin: bottom center;
}
.rkx-foot-panel.is-open { pointer-events: auto; }

.rkx-foot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    padding: 26px 28px;
    gap: 24px;
}
.rkx-pane {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    will-change: opacity, transform;
}
.rkx-pane:not(.rkx-pane-cta) {
    border-right: 1px solid var(--rkxf-border);
    padding-right: 24px;
}
.rkx-pane-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--rkxf-dim);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.rkx-pane-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 18px 10px 0;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.015em;
    border-bottom: 1px solid var(--rkxf-border);
    transition: color 220ms var(--rkxf-ease),
                padding-left var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-pane-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: var(--rkxf-accent-tx);
    box-shadow: 0 0 8px var(--rkxf-accent-glow);
    transition: width 320ms var(--rkxf-ease);
    pointer-events: none;
}
.rkx-pane-link:last-child { border-bottom: none; }
.rkx-pane-link:hover { color: #ffffff; padding-left: 6px; }
.rkx-pane-link:hover::before { width: 28px; }
.rkx-pane-link span:last-child {
    font-family: var(--rkxf-mono);
    color: var(--rkxf-dim);
    font-size: 12px;
    transition: color 200ms var(--rkxf-ease),
                transform 280ms var(--rkxf-ease);
}
.rkx-pane-link:hover span:last-child {
    color: var(--rkxf-accent-tx);
    transform: translateX(3px);
}

/* PANE CTA (Featured) */
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 {
    position: relative !important;
    overflow: hidden !important;
    padding: 22px !important;
    border-radius: var(--rkxf-radius) !important;
    background:
        linear-gradient(135deg,
            rgba(29, 36, 202, 0.18) 0%,
            rgba(255, 255, 255, 0.05) 55%,
            rgba(29, 36, 202, 0.14) 100%) !important;
    border: 1px solid rgba(29, 36, 202, 0.4) !important;
    box-shadow:
        0 0 0 1px rgba(29, 36, 202, 0.10) inset,
        0 12px 30px -12px rgba(29, 36, 202, 0.3) !important;
    transition: border-color 450ms var(--rkxf-ease),
                background 450ms var(--rkxf-ease),
                box-shadow 500ms var(--rkxf-ease),
                transform 450ms var(--rkxf-ease) !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2::before {
    content: '' !important;
    position: absolute !important;
    top: -60px !important;
    right: -60px !important;
    width: 180px !important;
    height: 180px !important;
    background: radial-gradient(circle,
        rgba(29, 36, 202, 0.65) 0%,
        rgba(29, 36, 202, 0.22) 35%,
        transparent 70%) !important;
    pointer-events: none !important;
    opacity: 0.9 !important;
    transform-origin: top right !important;
    transition: opacity 600ms var(--rkxf-ease),
                transform 700ms var(--rkxf-ease) !important;
    z-index: 0 !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -50px !important;
    left: -50px !important;
    width: 140px !important;
    height: 140px !important;
    background: radial-gradient(circle,
        rgba(29, 36, 202, 0.32) 0%,
        transparent 70%) !important;
    pointer-events: none !important;
    opacity: 0.65 !important;
    transform-origin: bottom left !important;
    transition: opacity 600ms var(--rkxf-ease),
                transform 700ms var(--rkxf-ease) !important;
    z-index: 0 !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2:hover {
    border-color: rgba(29, 36, 202, 0.7) !important;
    background:
        linear-gradient(135deg,
            rgba(29, 36, 202, 0.28) 0%,
            rgba(255, 255, 255, 0.07) 55%,
            rgba(29, 36, 202, 0.20) 100%) !important;
    box-shadow:
        0 0 0 1px rgba(29, 36, 202, 0.30) inset,
        0 24px 60px -18px rgba(29, 36, 202, 0.6),
        0 0 0 1px rgba(29, 36, 202, 0.15) !important;
    transform: translateY(-3px) !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2:hover::before { opacity: 1 !important; transform: scale(1.35) !important; }
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2:hover::after { opacity: 0.9 !important; transform: scale(1.25) !important; }

.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-eyebrow {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: var(--rkxf-accent-tx) !important;
    margin-bottom: 12px !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-eyebrow::before {
    content: '' !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: var(--rkxf-accent-tx) !important;
    box-shadow: 0 0 8px var(--rkxf-accent-glow) !important;
    animation: rkxf-pulse 2.4s var(--rkxf-ease) infinite !important;
}
@keyframes rkxf-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.8); }
}

.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-title {
    position: relative !important;
    z-index: 2 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    color: #fff !important;
    margin: 0 0 8px !important;
    line-height: 1.2 !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-desc {
    position: relative !important;
    z-index: 2 !important;
    font-size: 12.5px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.55 !important;
    margin: 0 0 16px !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-btn {
    position: relative !important;
    overflow: hidden !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 16px !important;
    background: var(--rkxf-accent) !important;
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    border: 1px solid var(--rkxf-accent-b) !important;
    border-radius: var(--rkxf-radius) !important;
    text-decoration: none !important;
    transition: background var(--rkxf-fast) var(--rkxf-ease),
                box-shadow var(--rkxf-fast) var(--rkxf-ease),
                gap        var(--rkxf-fast) var(--rkxf-ease) !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(115deg,
        transparent 0%, transparent 35%,
        rgba(255,255,255,0.32) 50%,
        transparent 65%, transparent 100%) !important;
    transition: left 700ms var(--rkxf-ease) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-btn > * { position: relative !important; z-index: 2 !important; }
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-btn:hover {
    background: var(--rkxf-accent-h) !important;
    box-shadow: 0 0 22px var(--rkxf-accent-glow),
                0 6px 18px -4px rgba(29, 36, 202, 0.5) !important;
    gap: 10px !important;
}
.rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-btn:hover::before { left: 100% !important; }

/* PILL */
.rkx-foot-pill {
    width: 100%;
    height: var(--rkxf-h);
    background: var(--rkxf-bg);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid var(--rkxf-border);
    border-radius: var(--rkxf-radius);
    box-shadow: 0 -6px 40px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.07) inset;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    transition: border-top-left-radius var(--rkxf-fast) var(--rkxf-ease),
                border-top-right-radius var(--rkxf-fast) var(--rkxf-ease),
                border-top-color var(--rkxf-fast) var(--rkxf-ease);
}
.is-open .rkx-foot-pill {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top-color: rgba(255, 255, 255, 0.04);
}

.rkx-foot-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 12px;
    border-right: 1px solid var(--rkxf-border);
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-foot-brand:hover { opacity: 0.78; }
.rkx-foot-logo { height: 22px; width: auto; display: block; }
.rkx-foot-copy {
    font-family: var(--rkxf-mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    color: var(--rkxf-muted);
    text-transform: uppercase;
    white-space: nowrap;
}

.rkx-foot-item {
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--rkxf-radius);
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
    transition: all var(--rkxf-fast) var(--rkxf-ease);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.rkx-foot-item:hover { color: #fff; background: var(--rkxf-ghost-bg); }
.rkx-foot-item.is-active {
    color: #fff;
    background: rgba(29, 36, 202, 0.18);
    border-color: var(--rkxf-accent-b);
}

.rkx-foot-explore {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: var(--rkxf-ghost-bg);
    border: 1px solid var(--rkxf-ghost-b);
    border-radius: var(--rkxf-radius);
    cursor: pointer;
    font-family: inherit;
    transition: all var(--rkxf-fast) var(--rkxf-ease);
    -webkit-tap-highlight-color: transparent;
}
.rkx-foot-explore:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}
.rkx-foot-explore-arrow {
    font-family: var(--rkxf-mono);
    font-size: 11px;
    line-height: 1;
    transition: transform 280ms var(--rkxf-ease);
}
.rkx-foot-explore.is-open .rkx-foot-explore-arrow { transform: rotate(180deg); }

.rkx-foot-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.rkx-foot-social {
    position: relative;
    overflow: hidden;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: transparent;
    border-radius: var(--rkxf-radius);
    border: 1px solid transparent;
    transition: background var(--rkxf-fast) var(--rkxf-ease),
                border-color var(--rkxf-fast) var(--rkxf-ease),
                box-shadow var(--rkxf-fast) var(--rkxf-ease),
                transform var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-foot-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg,
        transparent 0%, transparent 35%,
        rgba(255,255,255,0.32) 50%,
        transparent 65%, transparent 100%);
    transition: left 600ms var(--rkxf-ease);
    pointer-events: none;
    z-index: 1;
}
.rkx-foot-social svg { width: 14px; height: 14px; position: relative; z-index: 2; }
.rkx-foot-social:hover {
    background: rgba(29, 36, 202, 0.55);
    border-color: rgba(29, 36, 202, 0.55);
    box-shadow: 0 0 14px rgba(29, 36, 202, 0.45);
    transform: translateY(-2px);
}
.rkx-foot-social:hover::before { left: 120%; }

.rkx-foot-cta {
    position: relative;
    overflow: hidden;
    margin-left: 6px;
    height: 34px;
    padding: 0 14px;
    background: var(--rkxf-accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--rkxf-radius);
    border: 1px solid var(--rkxf-accent-b);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background var(--rkxf-fast) var(--rkxf-ease),
                box-shadow var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-foot-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg,
        transparent 0%, transparent 35%,
        rgba(255,255,255,0.28) 50%,
        transparent 65%, transparent 100%);
    transition: left 700ms var(--rkxf-ease);
    pointer-events: none;
}
.rkx-foot-cta > * { position: relative; z-index: 1; }
.rkx-foot-cta:hover {
    background: var(--rkxf-accent-h);
    box-shadow: 0 0 18px var(--rkxf-accent-glow);
    color: #fff !important;
}
.rkx-foot-cta:hover::before { left: 100%; }

/* MOBILE DRAWER */
.rkx-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
}
.rkx-drawer-backdrop.is-open { pointer-events: auto; }

.rkx-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--rkxf-bg-menu);
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    border-top: 1px solid var(--rkxf-border);
    border-radius: var(--rkxf-radius) var(--rkxf-radius) 0 0;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--rkxf-font);
    transform: translateY(100%);
    will-change: transform;
}
.rkx-drawer-handle {
    padding: 10px 0 6px;
    display: flex;
    justify-content: center;
    cursor: grab;
    touch-action: none;
}
.rkx-drawer-handle-bar { width: 36px; height: 4px; background: rgba(255, 255, 255, 0.22); border-radius: 2px; }
.rkx-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px 14px;
    border-bottom: 1px solid var(--rkxf-border);
}
.rkx-drawer-title {
    font-family: var(--rkxf-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--rkxf-accent-tx);
    text-transform: uppercase;
}
.rkx-drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.78);
    background: var(--rkxf-ghost-bg);
    border: 1px solid var(--rkxf-ghost-b);
    border-radius: var(--rkxf-radius);
    cursor: pointer;
    transition: all var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-drawer-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}
.rkx-drawer-close svg { width: 16px; height: 16px; }
.rkx-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 20px 24px;
}
.rkx-drawer-section {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rkx-drawer-section:last-of-type { border-bottom: none; margin-bottom: 16px; }
.rkx-drawer-section-label {
    font-family: var(--rkxf-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rkx-drawer-section-label::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.06); }
.rkx-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color var(--rkxf-fast) var(--rkxf-ease),
                padding-left var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-drawer-link:last-child { border-bottom: none; }
.rkx-drawer-link:hover { color: #fff; padding-left: 4px; }
.rkx-drawer-link span:last-child {
    font-family: var(--rkxf-mono);
    color: var(--rkxf-dim);
    font-size: 12px;
    transition: transform 280ms var(--rkxf-ease),
                color var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-drawer-link:hover span:last-child { color: var(--rkxf-accent-tx); transform: translateX(3px); }

.rkx-drawer .rkx-drawer-cta {
    position: relative !important;
    overflow: hidden !important;
    padding: 22px !important;
    border-radius: var(--rkxf-radius) !important;
    background:
        linear-gradient(135deg,
            rgba(29, 36, 202, 0.22) 0%,
            rgba(255, 255, 255, 0.06) 55%,
            rgba(29, 36, 202, 0.16) 100%) !important;
    border: 1px solid rgba(29, 36, 202, 0.45) !important;
    box-shadow:
        0 0 0 1px rgba(29, 36, 202, 0.12) inset,
        0 12px 30px -12px rgba(29, 36, 202, 0.35) !important;
    margin-bottom: 22px !important;
}
.rkx-drawer .rkx-drawer-cta::before {
    content: '' !important;
    position: absolute !important;
    top: -60px !important;
    right: -60px !important;
    width: 180px !important;
    height: 180px !important;
    background: radial-gradient(circle,
        rgba(29, 36, 202, 0.6) 0%,
        rgba(29, 36, 202, 0.2) 35%,
        transparent 70%) !important;
    pointer-events: none !important;
    opacity: 0.9 !important;
    z-index: 0 !important;
}
.rkx-drawer .rkx-drawer-cta::after {
    content: '' !important;
    position: absolute !important;
    bottom: -50px !important;
    left: -50px !important;
    width: 140px !important;
    height: 140px !important;
    background: radial-gradient(circle,
        rgba(29, 36, 202, 0.32) 0%,
        transparent 70%) !important;
    pointer-events: none !important;
    opacity: 0.65 !important;
    z-index: 0 !important;
}
.rkx-drawer .rkx-drawer-cta-title {
    position: relative !important;
    z-index: 2 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    color: #fff !important;
    margin-bottom: 6px !important;
}
.rkx-drawer .rkx-drawer-cta-desc {
    position: relative !important;
    z-index: 2 !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.5 !important;
    margin: 0 0 14px !important;
}
.rkx-drawer .rkx-drawer-cta-btn {
    position: relative !important;
    overflow: hidden !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 12px !important;
    background: var(--rkxf-accent) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: 1px solid var(--rkxf-accent-b) !important;
    border-radius: var(--rkxf-radius) !important;
    text-decoration: none !important;
}

.rkx-drawer-socials { display: flex; gap: 8px; padding-top: 8px; }

.rkx-drawer-social {
    position: relative;
    overflow: hidden;
    flex: 1;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--rkxf-radius);
    text-decoration: none;
    transition: background var(--rkxf-fast) var(--rkxf-ease),
                border-color var(--rkxf-fast) var(--rkxf-ease),
                box-shadow var(--rkxf-fast) var(--rkxf-ease),
                transform var(--rkxf-fast) var(--rkxf-ease);
}
.rkx-drawer-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg,
        transparent 0%, transparent 35%,
        rgba(255,255,255,0.32) 50%,
        transparent 65%, transparent 100%);
    transition: left 600ms var(--rkxf-ease);
    pointer-events: none;
    z-index: 1;
}
.rkx-drawer-social svg { width: 18px; height: 18px; position: relative; z-index: 2; }
.rkx-drawer-social:hover {
    background: rgba(29, 36, 202, 0.55);
    border-color: rgba(29, 36, 202, 0.55);
    box-shadow: 0 0 14px rgba(29, 36, 202, 0.45);
    transform: translateY(-2px);
}
.rkx-drawer-social:hover::before { left: 120%; }

body.rkx-drawer-active { overflow: hidden; touch-action: none; }

/* RESPONSIVE BREAKPOINTS */
@media (min-width: 640px) and (max-width: 767px)  { :root { --rkxf-w-def: 88%; --rkxf-w-exp: 96%; --rkxf-h: 54px; --rkxf-bot: 14px; } }
@media (min-width: 768px) and (max-width: 1023px) { :root { --rkxf-w-def: 80%; --rkxf-w-exp: 92%; --rkxf-h: 56px; --rkxf-bot: 16px; } }
@media (min-width: 1024px) and (max-width: 1279px) { :root { --rkxf-w-def: 70%; --rkxf-w-exp: 88%; --rkxf-h: 58px; --rkxf-bot: 20px; } }
@media (min-width: 1280px) and (max-width: 1535px) { :root { --rkxf-w-def: 65%; --rkxf-w-exp: 85%; --rkxf-h: 58px; --rkxf-bot: 20px; } }
@media (min-width: 1536px) and (max-width: 1919px) { :root { --rkxf-w-def: 62%; --rkxf-w-exp: 82%; --rkxf-h: 60px; --rkxf-bot: 22px; } }
@media (min-width: 1920px) and (max-width: 2559px) {
    :root { --rkxf-w-def: 58%; --rkxf-w-exp: 78%; --rkxf-h: 64px; --rkxf-bot: 24px; }
    .rkx-foot-cta { height: 38px; font-size: 14px; padding: 0 16px; }
    .rkx-foot-logo { height: 26px; }
}
@media (min-width: 2560px) and (max-width: 3839px) {
    :root { --rkxf-w-def: 55%; --rkxf-w-exp: 75%; --rkxf-h: 76px; --rkxf-bot: 32px; }
    .rkx-foot-logo { height: 32px; }
    .rkx-foot-cta { height: 46px; font-size: 16px; padding: 0 22px; }
    .rkx-foot-item { font-size: 16px; padding: 9px 16px; }
    .rkx-foot-grid { padding: 36px 40px; }
    .rkx-pane-link { font-size: 17px; padding: 14px 20px 14px 0; }
}
@media (min-width: 3840px) {
    :root { --rkxf-w-def: 52%; --rkxf-w-exp: 72%; --rkxf-h: 92px; --rkxf-bot: 40px; }
    .rkx-foot-logo { height: 40px; }
    .rkx-foot-cta { height: 56px; font-size: 19px; padding: 0 28px; }
    .rkx-foot-item { font-size: 19px; padding: 12px 20px; }
    .rkx-foot-grid { padding: 50px 56px; }
    .rkx-pane-link { font-size: 21px; padding: 16px 24px 16px 0; }
}

@media (max-width: 1023px) {
    .rkx-foot-item { display: none !important; }
    .rkx-foot-panel { display: none !important; }
    .rkx-foot-explore { display: inline-flex; }
    .rkx-foot-right .rkx-foot-social { display: none; }
}

@media (max-width: 639px) {
    body { padding-bottom: 90px; }
    .rkx-foot-pill {
        padding: 0 10px;
        gap: 6px;
        backdrop-filter: blur(12px) saturate(1.3);
        -webkit-backdrop-filter: blur(12px) saturate(1.3);
    }
    .rkx-foot-copy { display: none; }
    .rkx-foot-cta { margin-left: 0; padding: 0 10px; font-size: 12px; }
    .rkx-foot-explore { padding: 9px 12px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .rkx-footer-wrap, .rkx-foot-cta::before, .rkx-pane-link::before,
    .rkx-foot-social::before, .rkx-drawer-social::before,
    .rkx-foot-panel .rkx-pane.rkx-pane-cta-v2 .rkx-pane-cta-eyebrow::before {
        transition: none !important;
        animation: none !important;
    }
}



/* ===== POPPINS TYPOGRAPHY — footer pane labels + drawer titles + CTA titles ===== */
.rkx-pane-label,
.rkx-drawer-section-label,
.rkx-drawer-title,
.rkx-drawer-cta-title,
.rkx-pane-cta-eyebrow,
.rkx-pane-cta-title {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== HEADER/FOOTER TOKEN CONSOLIDATION =====
   Aliases every footer (--rkxf-*) variable to its header (--rkx-*) counterpart at :root.
   Single source of truth — change a header token, the footer follows. */
:root {
    --rkxf-w-def:        var(--rkx-w-def)        !important;
    --rkxf-w-exp:        var(--rkx-w-exp)        !important;
    --rkxf-h:            var(--rkx-h)            !important;
    --rkxf-bot:          var(--rkx-top)          !important;
    --rkxf-bg:           var(--rkx-bg)           !important;
    --rkxf-bg-menu:      var(--rkx-bg-menu)      !important;
    --rkxf-border:       var(--rkx-border)       !important;
    --rkxf-text:         var(--rkx-text)         !important;
    --rkxf-muted:        var(--rkx-muted)        !important;
    --rkxf-dim:          var(--rkx-dim)          !important;
    --rkxf-ghost-b:      var(--rkx-ghost-b)      !important;
    --rkxf-ghost-bg:     var(--rkx-ghost-bg)     !important;
    --rkxf-accent:       var(--rkx-accent)       !important;
    --rkxf-accent-h:     var(--rkx-accent-h)     !important;
    --rkxf-accent-glow:  var(--rkx-accent-glow)  !important;
    --rkxf-accent-b:     var(--rkx-accent-b)     !important;
    --rkxf-accent-tx:    var(--rkx-accent-tx)    !important;
    --rkxf-radius:       var(--rkx-radius)       !important;
    --rkxf-font:         var(--rkx-font)         !important;
    --rkxf-ease:         var(--rkx-ease)         !important;
    --rkxf-fast:         var(--rkx-fast)         !important;
}

/* ===== FOOTER WRAP — drop max-width cap header doesn't have + blur fallback ===== */
.rkx-footer-wrap {
    max-width: none !important;
    will-change: width, opacity !important;
    backdrop-filter: blur(22px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.5) !important;
    border-radius: var(--rkx-radius, 1px) !important;
}

/* ===== FOOTER PILL — exactly match header pill bg ===== */
.rkx-foot-pill {
    background: var(--rkx-bg) !important;
}

/* ===== FOOTER PANEL — works standalone after JS re-parents it out of the wrap =====
   The JS in this snippet moves #rkxFootPanel to be a sibling of .rkx-footer-wrap so
   its backdrop-filter can sample page content (the wrap's transform was isolating
   it). Without that, the panel had no working blur. Re-positioned as fixed; width
   tracks the wrap's CSS variables. */
.rkx-foot-panel,
.rkx-foot-panel *,
.rkx-foot-panel *::before,
.rkx-foot-panel *::after {
    box-sizing: border-box;
}
.rkx-foot-panel {
    position: fixed !important;
    bottom: calc(var(--rkxf-bot) + var(--rkxf-h) - 1px) !important;
    left: 50% !important;
    right: auto !important;
    width: var(--rkxf-w-def) !important;
    max-width: none !important;
    z-index: 997 !important;
    background: var(--rkx-bg-menu) !important;
    backdrop-filter: blur(28px) saturate(1.8) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.8) !important;
    border: 1px solid var(--rkx-border) !important;
}
.rkx-foot-panel.is-open {
    width: var(--rkxf-w-exp) !important;
}

/* ===== Z-INDEX LIFT — keep backdrop overlay from blurring pill from in front ===== */
body.rkx-drawer-active .rkx-footer-wrap {
    z-index: 1000 !important;
}

/* ===== FOOTER DRAWER (mobile/tab) — full viewport height above the pill =====
   Production drawer is a full-width bottom sheet. Repositioned: above the footer
   pill, centered, full available viewport height, bg + blur match header menu. */
@media (max-width: 1023px) {
    .rkx-drawer {
        bottom: calc(var(--rkxf-bot) + var(--rkxf-h) + 8px) !important;
        top: 8px !important;
        left: 50% !important;
        right: auto !important;
        width: var(--rkxf-w-exp) !important;
        max-width: calc(100vw - 16px) !important;
        max-height: none !important;
        height: auto !important;
        background: var(--rkx-bg-menu, rgba(0, 0, 0, 0.52)) !important;
        backdrop-filter: blur(28px) saturate(1.8) !important;
        -webkit-backdrop-filter: blur(28px) saturate(1.8) !important;
        border-radius: 1px !important;
        border: 1px solid var(--rkx-border, rgba(255, 255, 255, 0.08)) !important;
        /* Hide via opacity/visibility (JS uses autoAlpha) — translateY(100%) is
           insufficient with the new tall positioning */
        transform: none;
        opacity: 0;
        visibility: hidden;
        overflow: hidden auto !important;
    }
    .rkx-drawer-handle { display: none !important; }
    .rkx-drawer-head { padding: 12px 18px !important; }
}

/* ===== DRAWER SECTION ACCORDIONS — match header accordion style =====
   Company, Resources, Legal use <details>/<summary>. Connect stays static. */
.rkx-drawer-section {
    border-bottom: 1px solid var(--rkxf-border) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}
.rkx-drawer-section:last-of-type {
    border-bottom: none !important;
    margin-bottom: 12px !important;
}
.rkx-drawer-section-label {
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 0 !important;
    margin: 0 !important;
    font-family: 'Poppins', 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--rkxf-dim) !important;
    background: none !important;
    border: none !important;
    user-select: none;
    list-style: none;
    transition: color 220ms cubic-bezier(0.4,0,0.2,1);
    outline-offset: 4px;
}
.rkx-drawer-section-label::-webkit-details-marker { display: none !important; }
.rkx-drawer-section-label::marker { content: '' !important; }
.rkx-drawer-section-label::after {
    content: '' !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    flex: 0 0 auto !important;
    background: none !important;
    border: none !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.34s cubic-bezier(0.4,0,0.2,1);
}
.rkx-drawer-section[open] > .rkx-drawer-section-label::after {
    transform: rotate(-135deg) translateY(-1px);
}
.rkx-drawer-section[open] > .rkx-drawer-section-label,
.rkx-drawer-section-label:hover {
    color: var(--rkxf-muted) !important;
}
.rkx-drawer-section-label:focus-visible {
    outline: 2px solid var(--rkxf-accent);
}
.rkx-drawer-section-body {
    padding-bottom: 12px;
}
.rkx-drawer-section-body .rkx-drawer-link:last-child {
    margin-bottom: 0 !important;
}

/* ===== DRAWER SOCIALS — smaller on mobile/tab ===== */
@media (max-width: 1023px) {
    .rkx-drawer-socials { gap: 6px !important; padding-top: 6px !important; }
    .rkx-drawer-social  { height: 34px !important; }
    .rkx-drawer-social svg { width: 14px !important; height: 14px !important; }
}

/* ===== DRAWER COMPANY CONTACT — phone (placeholder) + UK address ===== */
.rkx-drawer-contact {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    border-top: 1px solid var(--rkxf-border);
    padding-top: 8px;
}
.rkx-drawer-contact-row {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--rkxf-muted);
    text-decoration: none;
    font-family: var(--rkxf-font, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid var(--rkxf-border);
    transition:
        color 220ms cubic-bezier(0.4, 0, 0.2, 1),
        padding-left 220ms cubic-bezier(0.4, 0, 0.2, 1);
    outline-offset: 4px;
}
.rkx-drawer-contact-row:last-child { border-bottom: none; }
.rkx-drawer-contact-row:not(.rkx-drawer-contact-row--static):hover {
    color: var(--rkxf-text, #fff);
    padding-left: 6px;
}
.rkx-drawer-contact-row:focus-visible { outline: 2px solid var(--rkxf-accent); }
.rkx-drawer-contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--rkxf-dim);
    transition: color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.rkx-drawer-contact-row:not(.rkx-drawer-contact-row--static):hover .rkx-drawer-contact-icon {
    color: var(--rkxf-accent-tx, #818cf8);
}
.rkx-drawer-contact-row--static { cursor: default; }
.rkx-drawer-contact-label { color: inherit; font-weight: 500; }
.rkx-drawer-contact-value {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    color: var(--rkxf-dim);
    letter-spacing: 0.01em;
    text-align: right;
    transition: color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.rkx-drawer-contact-row:not(.rkx-drawer-contact-row--static):hover .rkx-drawer-contact-value {
    color: var(--rkxf-muted);
}
@media (max-width: 1023px) {
    .rkx-drawer-contact-row { padding: 8px 0; font-size: 12px; gap: 8px; }
    .rkx-drawer-contact-icon { width: 14px; height: 14px; }
    .rkx-drawer-contact-value { font-size: 10px; }
}

/* ===== DESKTOP CTA PANE CONTACT ROWS — Company Number + UK Office ===== */
.rkx-pane-contact {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.rkx-pane-contact-row {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-family: var(--rkxf-font, 'Inter', sans-serif);
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition:
        color 220ms cubic-bezier(0.4, 0, 0.2, 1),
        padding-left 220ms cubic-bezier(0.4, 0, 0.2, 1);
    outline-offset: 4px;
}
.rkx-pane-contact-row:last-child { border-bottom: none; }
.rkx-pane-contact-row:not(.rkx-pane-contact-row--static):hover {
    color: #fff;
    padding-left: 6px;
}
.rkx-pane-contact-row:focus-visible { outline: 2px solid var(--rkxf-accent); }
.rkx-pane-contact-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.55);
    transition: color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.rkx-pane-contact-row:not(.rkx-pane-contact-row--static):hover .rkx-pane-contact-icon {
    color: var(--rkxf-accent-tx, #818cf8);
}
.rkx-pane-contact-row--static { cursor: default; }
.rkx-pane-contact-label { color: inherit; font-weight: 500; }
.rkx-pane-contact-value {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.01em;
    text-align: right;
    transition: color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.rkx-pane-contact-row:not(.rkx-pane-contact-row--static):hover .rkx-pane-contact-value {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== BOOK A CALL BUTTON — hover effect (shine sweep + lift + glow) ===== */
.rkx-drawer .rkx-drawer-cta-btn {
    position: relative !important;
    overflow: hidden !important;
    transition:
        background 280ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),
        transform 220ms cubic-bezier(0.4, 0, 0.2, 1),
        gap 220ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform, box-shadow !important;
}
.rkx-drawer .rkx-drawer-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}
.rkx-drawer .rkx-drawer-cta-btn > * {
    position: relative;
    z-index: 2;
}
.rkx-drawer .rkx-drawer-cta-btn:hover {
    background: var(--rkxf-accent-h, #2d35e0) !important;
    box-shadow:
        0 0 24px rgba(29, 36, 202, 0.45),
        0 8px 22px -6px rgba(29, 36, 202, 0.55) !important;
    transform: translateY(-1px) !important;
    gap: 10px !important;
}
.rkx-drawer .rkx-drawer-cta-btn:hover::before { left: 100%; }
.rkx-drawer .rkx-drawer-cta-btn:active {
    transform: translateY(0) !important;
    transition-duration: 60ms !important;
}
.rkx-drawer .rkx-drawer-cta-btn:focus-visible {
    outline: 2px solid var(--rkxf-accent);
    outline-offset: 3px;
}

/* ===== HIDE FOOTER PANEL + DRAWER SCROLLBARS ===== */
.rkx-drawer,
.rkx-drawer-body,
.rkx-foot-panel {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.rkx-drawer::-webkit-scrollbar,
.rkx-drawer-body::-webkit-scrollbar,
.rkx-foot-panel::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
