/* ============================================================
   QB — Almasa Header  v2.0 · QB Studio

   FIXES from v1:
   ✅ Nav bg = WHITE (not transparent/grey)
   ✅ Scrolled state on .qbhd-nav directly (not via Elementor wrapper)
   ✅ Placeholder gap = 0 when unsticky (JS sets height:0)
   ✅ Hamburger breakpoint corrected
   ✅ Top bar = real warp starfield canvas
   ✅ Nav canvas = soft animated particles
   ✅ Mobile overlay: full-screen, visible, cinematic
   ✅ Search overlay: space bg + blobs + enhanced form
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700;800&family=Catamaran:wght@400;500;600&display=swap');

/* ── Root ─────────────────────────────────────────────────── */
.qbhd-wrap {
    --qbhd-teal:   #7ED0DC;
    --qbhd-navy:   #060F25;
    --qbhd-space:  #020818;
    --qbhd-purple: #5F2DEE;
    --qbhd-ac:     #7ED0DC;
    position: relative;
    width: 100%;
    z-index: 9999;
    font-family: 'Space Grotesk', sans-serif;
    box-sizing: border-box;
}
.qbhd-wrap *, .qbhd-wrap *::before, .qbhd-wrap *::after { box-sizing: border-box; }

/* Sticky state — applied by JS on .qbhd-wrap itself */
.qbhd-wrap.qbhd-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    margin: 0 !important;
}
.qbhd-wrap.qbhd-sticky-entering {
    animation: qbhdFadeInDown .3s ease forwards;
}
@keyframes qbhdFadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══ TOP BAR ══════════════════════════════════════════════════ */
.qbhd-topbar {
    position: relative;
    background: var(--qbhd-navy);
    overflow: hidden;
    height: 44px;
    /* max-height transition avoids layout reflow lag that height:0 causes */
    max-height: 60px;
    opacity: 1;
    transition: max-height .3s ease, opacity .2s ease;
    will-change: max-height, opacity;
}
.qbhd-topbar.qbhd-top-hidden {
    max-height: 0 !important;
    opacity: 0;
    pointer-events: none;
}

/* Warp starfield canvas inside topbar */
.qbhd-tb-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0; display: block;
}

.qbhd-tb-inner {
    position: relative; z-index: 2;
    max-width: 1240px; margin: 0 auto; padding: 0 40px;
    height: 44px; display: flex; align-items: center; justify-content: space-between;
}

/* Bottom border of topbar */
.qbhd-topbar::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126,208,220,.45) 30%, rgba(95,45,238,.3) 70%, transparent);
}

.qbhd-tb-left { display: flex; align-items: center; gap: 24px; }
.qbhd-tb-item {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: Catamaran, sans-serif; font-size: .78rem; font-weight: 600;
    color: rgba(200,225,255,.72); text-decoration: none;
    transition: color .25s;
}
.qbhd-tb-item:hover { color: var(--qbhd-ac); }
.qbhd-tb-ico { display: inline-flex; color: var(--qbhd-ac); flex-shrink: 0; }
.qbhd-tb-ico svg { display: block; }

.qbhd-tb-right { display: flex; align-items: center; gap: 6px; }
.qbhd-tb-soc {
    width: 28px; height: 28px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(200,225,255,.55); text-decoration: none;
    background: rgba(255,255,255,.04); border: 1px solid rgba(126,208,220,.12);
    transition: background .22s, color .22s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.qbhd-tb-soc svg { display: block; }
.qbhd-tb-soc:hover { background: var(--qbhd-ac); color: var(--qbhd-navy); transform: scale(1.12) translateY(-1px); }
.qbhd-soc-facebook:hover  { background:#1877f2; color:#fff; }
.qbhd-soc-instagram:hover { background:linear-gradient(45deg,#f09433,#dc2743,#bc1888); border-color:#dc2743; color:#fff; }
.qbhd-soc-linkedin:hover  { background:#0077b5; color:#fff; }
.qbhd-soc-twitter:hover   { background:#000; color:#fff; }
.qbhd-soc-tiktok:hover    { background:#010101; color:#fff; }
.qbhd-soc-youtube:hover   { background:#ff0000; color:#fff; }

/* ══ MAIN NAV ══════════════════════════════════════════════════
   WHITE background (user request)
   Transparent at top when [data-transparent] enabled
   Gains glass blur + shadow on scroll (.qbhd-scrolled on .qbhd-nav)
   ============================================================ */
.qbhd-nav {
    position: relative;
    height: 76px;
    will-change: box-shadow;
}

/* Glass layers */
.qbhd-nav-glass {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}

/* THE NAV BLUR LAYER — white by default */
.qbhd-nav-blur-layer {
    position: absolute; inset: 0;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background .45s ease, backdrop-filter .45s ease, box-shadow .45s ease;
}

/* Transparent at top (JS adds/removes .qbhd-at-top on .qbhd-nav) */
.qbhd-nav.qbhd-at-top .qbhd-nav-blur-layer {
    background: rgba(2, 8, 24, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Scrolled state — applied directly on .qbhd-nav by JS */
.qbhd-nav.qbhd-scrolled .qbhd-nav-blur-layer {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 2px 32px rgba(6,15,37,.1), 0 1px 0 rgba(126,208,220,.2);
}

/* Animated bottom line — visible when scrolled */
.qbhd-nav-bottom-line {
    position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--qbhd-ac) 25%, rgba(95,45,238,.6) 75%, transparent);
    opacity: 0; transform: scaleX(0); transform-origin: left;
    transition: opacity .4s ease, transform .6s cubic-bezier(.77,0,.18,1);
}
.qbhd-nav.qbhd-scrolled .qbhd-nav-bottom-line { opacity: 1; transform: scaleX(1); }

/* Soft ambient canvas inside nav */
.qbhd-nav-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0; display: block; opacity: .6;
}
/* Hide canvas when scrolled (white bg → particles invisible) */
.qbhd-nav.qbhd-scrolled .qbhd-nav-canvas { opacity: 0; }
.qbhd-nav:not(.qbhd-at-top) .qbhd-nav-canvas { opacity: 0; }

/* Nav inner */
.qbhd-nav-inner {
    position: relative; z-index: 2;
    max-width: 1240px; margin: 0 auto; padding: 0 40px;
    height: 76px; display: flex; align-items: center;
    justify-content: space-between; gap: 20px;
}

/* ── Logo ── */
.qbhd-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; flex-shrink: 0; transition: opacity .3s;
}
.qbhd-logo:hover { opacity: .85; }
.qbhd-logo-img { height: 46px; width: auto; object-fit: contain; display: block; }

.qbhd-logo-gem { flex-shrink: 0; filter: drop-shadow(0 2px 10px rgba(126,208,220,.4)); animation: qbhdLogoFloat 5s ease-in-out infinite; }
@keyframes qbhdLogoFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-4px);} }

.qbhd-logo-text { display: flex; flex-direction: column; }
.qbhd-logo-main {
    font-size: 1.2rem; font-weight: 800; letter-spacing: .1em; line-height: 1;
    color: var(--qbhd-navy); transition: color .4s;
}
/* When transparent (at top, dark bg) — white text */
.qbhd-nav.qbhd-at-top .qbhd-logo-main { color: #ffffff; }
.qbhd-logo-sub {
    font-size: .58rem; font-weight: 700; letter-spacing: .4em; text-transform: uppercase;
    color: var(--qbhd-ac); margin-top: 2px;
}

/* ── Nav links ── */
.qbhd-nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.qbhd-nav-link {
    position: relative;
    font-size: .86rem; font-weight: 600; color: var(--qbhd-navy);
    text-decoration: none; padding: 8px 14px; border-radius: 8px;
    letter-spacing: .02em; white-space: nowrap;
    transition: color .25s, background .25s;
}
/* When transparent (dark bg) — white links */
.qbhd-nav.qbhd-at-top .qbhd-nav-link { color: rgba(255,255,255,.88); }
.qbhd-nav-link::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; border-radius: 1px;
    background: linear-gradient(90deg, var(--qbhd-ac), var(--qbhd-purple));
    transition: width .3s cubic-bezier(.77,0,.18,1);
}
.qbhd-nav-link:hover { background: rgba(126,208,220,.08); }
.qbhd-nav.qbhd-at-top .qbhd-nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.qbhd-nav-link:hover::after, .qbhd-nav-link.qbhd-active::after { width: calc(100% - 24px); }
.qbhd-nav-link.qbhd-active { color: var(--qbhd-ac) !important; }
.qbhd-nav-link.qbhd-hl { color: var(--qbhd-ac); }

/* ── Right side ── */
.qbhd-nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Search btn */
.qbhd-search-btn {
    width: 38px; height: 38px; border-radius: 9px; border: none;
    background: rgba(6,15,37,.06); color: rgba(6,15,37,.6);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; outline: none;
    transition: background .25s, color .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.qbhd-nav.qbhd-at-top .qbhd-search-btn { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.qbhd-search-btn:hover { background: rgba(126,208,220,.15); color: var(--qbhd-ac); transform: scale(1.08); }
.qbhd-search-btn svg { display: block; }

/* CTA */
.qbhd-cta {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center;
    font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--qbhd-navy); background: var(--qbhd-ac);
    padding: 10px 22px; border-radius: 8px; text-decoration: none; white-space: nowrap;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.qbhd-cta-shine {
    position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.3) 50%, transparent 75%);
    transform: translateX(-100%); transition: transform .5s ease;
}
.qbhd-cta:hover .qbhd-cta-shine { transform: translateX(100%); }
.qbhd-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(126,208,220,.45); }

/* Hamburger — ALWAYS rendered, shown via CSS at mobile */
.qbhd-ham {
    display: none; /* shown at ≤900px */
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 42px; height: 42px; border-radius: 9px; border: none; cursor: pointer; outline: none;
    background: rgba(6,15,37,.06);
    transition: background .25s;
    flex-shrink: 0;
}
.qbhd-nav.qbhd-at-top .qbhd-ham { background: rgba(255,255,255,.1); }
.qbhd-ham:hover { background: rgba(126,208,220,.15); }
.qbhd-ham-l {
    display: block; width: 20px; height: 2px;
    background: var(--qbhd-navy); border-radius: 2px;
    transition: transform .35s cubic-bezier(.77,0,.18,1), opacity .25s, width .3s;
}
.qbhd-nav.qbhd-at-top .qbhd-ham-l { background: #fff; }
.qbhd-ham.qbhd-open .qbhd-hl1 { transform: translateY(7px) rotate(45deg); }
.qbhd-ham.qbhd-open .qbhd-hl2 { opacity: 0; width: 0; }
.qbhd-ham.qbhd-open .qbhd-hl3 { transform: translateY(-7px) rotate(-45deg); }

/* ══ SEARCH OVERLAY ═══════════════════════════════════════════
   Full-screen cinematic search — space bg + blob orbs
   ============================================================ */
.qbhd-search-ov {
    position: fixed; inset: 0; z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    /* Hidden state */
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
}
.qbhd-search-ov.qbhd-open { opacity: 1; pointer-events: all; visibility: visible; }

/* Canvas */
.qbhd-search-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

/* Bg layers */
.qbhd-search-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.qbhd-search-blob {
    position: absolute; border-radius: 50%; filter: blur(90px);
    animation: qbhdBlobDrift 22s ease-in-out infinite;
}
.qbhd-sblob1 { width: 600px; height: 550px; top: -200px; left: -100px; background: radial-gradient(circle, rgba(126,208,220,.14) 0%, transparent 65%); animation-duration: 20s; }
.qbhd-sblob2 { width: 520px; height: 480px; bottom: -160px; right: -100px; background: radial-gradient(circle, rgba(95,45,238,.11) 0%, transparent 65%); animation-duration: 27s; animation-direction: reverse; }
@keyframes qbhdBlobDrift { 0%,100%{transform:translate(0,0);} 50%{transform:translate(50px,-40px) scale(1.08);} }
.qbhd-search-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(126,208,220,.08) 1px, transparent 1px);
    background-size: 44px 44px; opacity: .4;
}

/* Dark overlay base */
.qbhd-search-ov::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background: rgba(2,8,24,.94);
}

/* Content */
.qbhd-search-content {
    position: relative; z-index: 2;
    width: 100%; max-width: 720px; padding: 0 32px;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    animation: qbhdSearchIn .4s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes qbhdSearchIn {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.qbhd-search-ov:not(.qbhd-open) .qbhd-search-content { animation: none; }

.qbhd-search-gem-icon {
    width: 28px; height: 28px; color: var(--qbhd-ac);
    animation: qbhdGemSpin 6s linear infinite;
    filter: drop-shadow(0 0 10px rgba(126,208,220,.7));
}
.qbhd-search-gem-icon svg { width: 100%; height: 100%; display: block; }
@keyframes qbhdGemSpin { to { transform: rotate(360deg); } }

.qbhd-search-label {
    font-family: 'Space Grotesk', sans-serif; font-size: .75rem; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase; color: var(--qbhd-ac); margin: 0;
}

.qbhd-search-form {
    width: 100%; display: flex; align-items: center;
    border: none; border-bottom: 2px solid rgba(126,208,220,.4);
    transition: border-color .3s;
}
.qbhd-search-form:focus-within { border-color: var(--qbhd-ac); }

.qbhd-search-inp {
    flex: 1; background: none; border: none; outline: none;
    font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.2rem,4vw,1.8rem); font-weight: 600;
    color: #ffffff; padding: 16px 0; letter-spacing: -.02em;
}
.qbhd-search-inp::placeholder { color: rgba(200,225,255,.3); }

.qbhd-search-go {
    background: none; border: none; color: var(--qbhd-ac); cursor: pointer; outline: none;
    display: flex; padding: 10px;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.qbhd-search-go:hover { transform: scale(1.2); }
.qbhd-search-go svg { width: 24px; height: 24px; display: block; }

.qbhd-search-hint {
    font-family: Catamaran, sans-serif; font-size: .78rem;
    color: rgba(200,225,255,.4); margin: 0;
}

.qbhd-search-close {
    position: absolute; top: 28px; right: 28px; z-index: 3;
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(126,208,220,.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(200,225,255,.7); cursor: pointer; outline: none;
    transition: background .25s, color .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.qbhd-search-close:hover { background: rgba(126,208,220,.15); color: #fff; transform: rotate(90deg); }
.qbhd-search-close svg { display: block; }

/* ══ MOBILE OVERLAY ════════════════════════════════════════════
   Full-screen cinematic menu.
   VISIBILITY: controlled entirely via JS inline style on clip-path
   (CSS clip-path causes browser cache/interpolation issues)
   ============================================================ */
.qbhd-mob-ov {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: var(--qbhd-space);
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    /* clip-path set by JS: circle(0% ...) closed, circle(200% ...) open */
    pointer-events: none;
    /* visibility:hidden prevents FOUC flash before JS sets clip-path */
    visibility: hidden;
}
/* JS adds .qbhd-mob-ready after setting initial clip-path */
.qbhd-mob-ov.qbhd-mob-ready,
.qbhd-mob-ov.qbhd-mob-open {
    visibility: visible;
}
.qbhd-mob-ov.qbhd-mob-open {
    pointer-events: all;
}

/* Canvas */
.qbhd-mob-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0; display: block;
}

/* Bg */
.qbhd-mob-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.qbhd-mob-blob {
    position: absolute; border-radius: 50%; filter: blur(80px);
    animation: qbhdBlobDrift 20s ease-in-out infinite;
}
.qbhd-mblob1 { width: 450px; height: 450px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(126,208,220,.16) 0%, transparent 65%); animation-duration: 18s; }
.qbhd-mblob2 { width: 380px; height: 380px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(95,45,238,.13) 0%, transparent 65%); animation-duration: 24s; animation-direction: reverse; }
.qbhd-mob-dotgrid { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(126,208,220,.07) 1px, transparent 1px); background-size: 36px 36px; opacity: .4; }
.qbhd-mob-topline { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--qbhd-ac) 30%, rgba(95,45,238,.5) 70%, transparent); }

/* Mob header row */
.qbhd-mob-head {
    position: relative; z-index: 3;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 28px 16px;
    border-bottom: 1px solid rgba(126,208,220,.1);
    flex-shrink: 0;
}
.qbhd-mob-logo-link { text-decoration: none; }
.qbhd-mob-logo-img { height: 40px; width: auto; object-fit: contain; }
.qbhd-mob-logo-text {
    font-size: 1.35rem; font-weight: 800; color: #fff;
    letter-spacing: .1em; font-family: 'Space Grotesk', sans-serif;
}
.qbhd-mob-close-btn {
    width: 44px; height: 44px; border-radius: 11px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(126,208,220,.18);
    display: flex; align-items: center; justify-content: center;
    color: rgba(200,225,255,.8); cursor: pointer; outline: none;
    transition: background .25s, color .25s, transform .4s cubic-bezier(.34,1.56,.64,1);
}
.qbhd-mob-close-btn:hover { background: rgba(126,208,220,.15); color: #fff; transform: rotate(90deg); }
.qbhd-mob-close-btn svg { display: block; }

/* Mob nav */
.qbhd-mob-nav {
    position: relative; z-index: 3;
    flex: 1; padding: 20px 24px;
    display: flex; flex-direction: column; gap: 6px;
    overflow-y: auto;
}

/* Each mob link — slides in from right on open */
.qbhd-mob-link {
    display: flex; align-items: center; gap: 16px;
    text-decoration: none; padding: 15px 20px; border-radius: 14px;
    border: 1px solid rgba(126,208,220,.08);
    background: rgba(255,255,255,.03);
    /* Hidden state — JS reveals with transition */
    opacity: 0; transform: translateX(50px);
    transition: background .25s, border-color .25s, transform .35s cubic-bezier(.34,1.56,.64,1), opacity .35s ease;
}
.qbhd-mob-link.qbhd-mob-in { opacity: 1; transform: translateX(0); }
.qbhd-mob-link:hover {
    background: rgba(126,208,220,.08); border-color: rgba(126,208,220,.25);
    transform: translateX(8px);
}
.qbhd-mob-link.qbhd-mob-active { background: rgba(126,208,220,.1); border-color: rgba(126,208,220,.3); }
.qbhd-mob-link.qbhd-mob-active:hover { transform: translateX(4px); }

.qbhd-mob-num {
    font-family: 'Space Grotesk', sans-serif; font-size: .62rem; font-weight: 700;
    letter-spacing: .08em; color: var(--qbhd-ac); opacity: .7; width: 22px; flex-shrink: 0;
}
.qbhd-mob-text {
    font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700;
    color: #fff; flex: 1; letter-spacing: -.01em;
    transition: color .25s;
}
.qbhd-mob-link.qbhd-mob-active .qbhd-mob-text { color: var(--qbhd-ac); }
.qbhd-mob-arr {
    display: flex; width: 16px; height: 16px; color: var(--qbhd-ac);
    opacity: 0; transform: translateX(-6px);
    transition: opacity .25s, transform .25s;
}
.qbhd-mob-arr svg { width: 100%; height: 100%; }
.qbhd-mob-link:hover .qbhd-mob-arr { opacity: 1; transform: translateX(0); }

/* Mob footer */
.qbhd-mob-foot {
    position: relative; z-index: 3;
    padding: 18px 24px 32px;
    border-top: 1px solid rgba(126,208,220,.1);
    display: flex; flex-direction: column; gap: 10px;
    flex-shrink: 0;
}
.qbhd-mob-contact {
    display: flex; align-items: center; gap: 10px;
    font-family: Catamaran, sans-serif; font-size: .88rem;
    color: rgba(200,225,255,.65); text-decoration: none;
    transition: color .25s;
}
.qbhd-mob-contact:hover { color: var(--qbhd-ac); }
.qbhd-mob-ci { display: flex; color: var(--qbhd-ac); flex-shrink: 0; }
.qbhd-mob-ci svg { display: block; }
.qbhd-mob-socs { display: flex; gap: 8px; flex-wrap: wrap; }
.qbhd-mob-soc {
    width: 36px; height: 36px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.05); border: 1px solid rgba(126,208,220,.15);
    color: rgba(200,225,255,.6); text-decoration: none;
    transition: background .25s, color .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.qbhd-mob-soc svg { display: block; }
.qbhd-mob-soc:hover { background: var(--qbhd-ac); color: var(--qbhd-navy); transform: scale(1.12) translateY(-2px); }
.qbhd-mob-cta {
    display: flex; align-items: center; justify-content: center;
    background: var(--qbhd-ac); color: var(--qbhd-navy);
    font-family: 'Space Grotesk', sans-serif; font-size: .88rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
    padding: 14px; border-radius: 10px; margin-top: 6px;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.qbhd-mob-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(126,208,220,.4); }

/* ══ REDUCED MOTION ══════════════════════════════════════════ */
@media (prefers-reduced-motion:reduce) {
    .qbhd-mob-ov { transition: none !important; }
    .qbhd-mob-link { opacity:1 !important; transform:none !important; transition:none !important; }
    .qbhd-logo-gem, .qbhd-search-gem-icon { animation: none !important; }
    .qbhd-mob-blob { animation: none !important; }
    .qbhd-wrap.qbhd-sticky { animation: none !important; }
}

/* ══ RESPONSIVE ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .qbhd-nav-inner, .qbhd-tb-inner { padding: 0 24px; }
    .qbhd-nav-link { padding: 8px 10px; font-size: .82rem; }
}
@media (max-width: 900px) {
    /* Show hamburger, hide desktop elements */
    .qbhd-ham   { display: flex !important; }
    .qbhd-nav-links { display: none !important; }
    .qbhd-cta   { display: none !important; }
    .qbhd-search-btn { display: none !important; }
}
@media (max-width: 640px) {
    .qbhd-topbar { height: 38px; max-height: 50px; }
    .qbhd-topbar.qbhd-top-hidden { max-height: 0 !important; }
    .qbhd-tb-inner { height: 38px; }
    .qbhd-tb-left { display: none; }
    .qbhd-nav { height: 64px; }
    .qbhd-nav-inner { height: 64px; padding: 0 16px; }
    .qbhd-mob-head { padding: 16px 18px 14px; }
    .qbhd-mob-nav { padding: 14px 18px; gap: 4px; }
    .qbhd-mob-foot { padding: 14px 18px 28px; }
    .qbhd-mob-link { padding: 13px 16px; border-radius: 12px; }
    .qbhd-mob-text { font-size: 1.1rem; }
}
