/* HBGO v2 — motion & premium layer */
.hb-sh{display:inline-flex;align-items:center;gap:10px;padding:7px 16px 7px 14px;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 38%,transparent);background:color-mix(in srgb,var(--accent) 10%,transparent);box-shadow:0 0 24px -6px var(--glow1);margin-bottom:24px}
.hb-sh i{display:none}
.hb-sh b{font-size:12px}.hb-sh span{color:var(--accent);font-size:14px}
.hb-sh::before{content:"";width:16px;height:16px;flex:none;background:var(--accent2);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E") center/contain no-repeat}
.hb-h2 .hb-acc,.hb-h2 .hb-acc2,.hb-ph h1 .hb-acc{background-image:linear-gradient(90deg,currentColor,currentColor);background-size:100% 3px;background-repeat:no-repeat;background-position:0 100%;padding-bottom:6px}
.hbw{display:inline-block;will-change:opacity,filter,transform}
html.hbgsap .rv{opacity:1;transform:none;transition:none}
.hb-panel,.hb-board,.hb-case,.hb-cta,.hb-stage,.hb-ctc-r{box-shadow:0 0 0 1px var(--line2),0 40px 120px -30px var(--glow1)}
.hb-tilt{transform-style:preserve-3d;transition:transform .25s ease-out}
/* method stepper */
.mt-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mt-step{position:relative;overflow:hidden;text-align:start;padding:22px 20px 26px;border-radius:22px;border:1px solid var(--line2);background:var(--glass);color:var(--fg);display:flex;flex-direction:column;gap:10px;transition:border-color .3s,background .3s,transform .3s}
.mt-step:hover{transform:translateY(-4px)}
.mt-step .n{font-family:'JetBrains Mono',monospace;font-size:13px;color:var(--muted)}
.mt-step .t{font-size:22px;font-weight:900}
.mt-step .s{font-size:14px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mt-step .pg{position:absolute;inset-inline:20px;bottom:12px;height:3px;border-radius:2px;background:var(--line)}
.mt-step .pg i{display:block;height:100%;width:0;border-radius:2px;background:linear-gradient(270deg,var(--accent),var(--accent2))}
.mt-step.on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--glass));box-shadow:0 0 0 1px var(--accent),0 20px 50px -20px var(--glow1)}
.mt-step.on .n{color:var(--accent2t)}
.mt-detail{margin-top:22px;position:relative;overflow:hidden;padding:clamp(24px,4vw,44px);border-radius:30px;border:1px solid var(--line2);background:var(--surface2);display:flex;flex-wrap:wrap;gap:24px 40px;align-items:center}
.mt-detail .big{font-size:clamp(70px,9vw,120px);font-weight:900;line-height:1;color:color-mix(in srgb,var(--accent) 30%,transparent);font-family:'Cairo'}
.mt-detail .tx{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:10px}
.mt-detail h3{font-size:clamp(26px,3vw,38px)}
.mt-detail p{color:var(--muted);font-size:18px}
.mt-detail .get{padding:14px 18px;border-radius:16px;background:var(--chip);color:var(--accent);font-weight:800}
@media (max-width:860px){.mt-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* industries */
.hb-ind{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.ind{position:relative;overflow:hidden;border-radius:26px;border:1px solid var(--line2);background:var(--glass);display:flex;flex-direction:column;transition:border-color .3s,box-shadow .3s}
.ind:hover{border-color:var(--accent);box-shadow:0 30px 70px -30px var(--glow1)}
.ind .im{aspect-ratio:16/11;margin:10px 10px 0;border-radius:18px;overflow:hidden;background:#0A0F1E}
.ind .im img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.ind:hover .im img{transform:scale(1.07)}
.ind .bd{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.ind .ic{width:46px;height:46px;margin-top:-42px;position:relative;border-radius:14px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#04122E;display:grid;place-items:center;box-shadow:0 10px 24px var(--glow1)}
.ind h3{font-size:21px}
.ind p{color:var(--muted);font-size:15px}
.ind .ex{margin-top:auto;padding-top:10px;font-size:13px;font-weight:700;color:var(--accent2t)}
/* testimonials */
.hb-tst{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;align-items:center}
.tst{position:relative;padding:30px 28px;border-radius:26px;border:1px solid var(--line2);background:var(--glass);display:flex;flex-direction:column;gap:18px}
.tst:nth-child(2){transform:translateY(-18px);border-color:color-mix(in srgb,var(--accent) 45%,var(--line2))}
.tst .q{position:absolute;top:14px;left:22px;font-size:90px;line-height:1;font-weight:900;color:color-mix(in srgb,var(--accent) 22%,transparent);font-family:Georgia,serif}
.tst .st{color:#F5B301;letter-spacing:3px;font-size:18px}
.tst blockquote{margin:0;font-size:19px;font-weight:700;line-height:1.8}
.tst .who{display:flex;align-items:center;gap:12px;padding-top:16px;border-top:1px solid var(--line2)}
.tst .av{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#04122E;display:grid;place-items:center;font-weight:900}
.tst .who b{display:block}.tst .who small{color:var(--muted)}
/* home articles slider */
.hb-ar{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(300px,1fr);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;scrollbar-width:none}
.hb-ar::-webkit-scrollbar{display:none}
.arc{scroll-snap-align:start;border-radius:24px;overflow:hidden;border:1px solid var(--line2);background:var(--glass);display:flex;flex-direction:column;color:var(--fg)}
.arc .im{aspect-ratio:16/9;overflow:hidden;background:#0A0F1E}
.arc .im img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.arc:hover .im img{transform:scale(1.06)}
.arc .bd{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.arc .tg{align-self:flex-start;font-size:12px;font-weight:800;padding:4px 12px;border-radius:999px;background:var(--chip);color:var(--accent)}
.arc h3{font-size:21px;line-height:1.5}
.arc p{color:var(--muted);font-size:15px}
.arc .more{margin-top:auto;color:var(--accent);font-weight:800;font-size:14px}
.hb-ar-nav{display:flex;gap:10px}
.hb-ar-nav button{width:48px;height:48px;border-radius:50%;border:1px solid var(--line2);background:var(--surface);color:var(--fg);display:grid;place-items:center}
.hb-ar-nav button:hover{background:var(--accent);color:var(--onaccent);border-color:var(--accent)}
@media (prefers-reduced-motion:reduce){.hbw{opacity:1!important;filter:none!important;transform:none!important}}

.hb-sh b{display:none}

.hb-burger{display:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--surface);padding:0;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.hb-burger span{width:18px;height:2px;border-radius:2px;background:var(--fg);transition:transform .3s,opacity .3s}
.hb-mm-open .hb-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hb-mm-open .hb-burger span:nth-child(2){opacity:0}
.hb-mm-open .hb-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (max-width:1080px){.hb-burger{display:flex}}
.hb-mm{position:fixed;inset:0;z-index:49;padding:100px 24px 120px;background:var(--navbg);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);display:flex;flex-direction:column;gap:24px;overflow:auto;animation:hb-in .35s ease both}
.hb-mm[hidden]{display:none}
.hb-mm nav{display:flex;flex-direction:column}
.hb-mm nav a{display:flex;align-items:baseline;gap:16px;padding:16px 4px;border-bottom:1px solid var(--line2);font-size:clamp(24px,6vw,34px);font-weight:900;color:var(--fg)!important}
.hb-mm nav a span{font-family:'JetBrains Mono',monospace;font-size:13px;color:var(--accent)}
.hb-mm nav a[aria-current]{color:var(--accent)!important}
.hb-mm .hb-btn{align-self:stretch}

/* Lenis compatibility */
html.lenis,html.lenis body{height:auto}
html.lenis,html.lenis-smooth,.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}
.lenis.lenis-smooth iframe{pointer-events:none}

/* language switch + LTR (English) */
.hb-lang{height:44px;min-width:44px;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--fg)!important;display:grid;place-items:center;font-weight:800;font-size:14px}
.hb-lang:hover{border-color:var(--accent);color:var(--accent)!important}
.hb-lang-ft{color:var(--accent)!important;font-weight:800}
html:not([dir=rtl]) .hb-btn svg,html:not([dir=rtl]) .hb-link svg,html:not([dir=rtl]) .wk .go svg,html:not([dir=rtl]) .aarr svg,html:not([dir=rtl]) .svc-row .a svg,html:not([dir=rtl]) .hb-ar-nav svg{transform:scaleX(-1)}
html:not([dir=rtl]) .wk:hover .go,html:not([dir=rtl]) .art:hover .aarr{transform:translateX(6px)}
html:not([dir=rtl]) .art:hover .anum{transform:translateX(8px)}
html:not([dir=rtl]) .hb-th:hover{transform:translateX(4px)}
html:not([dir=rtl]) .hb-sp,html:not([dir=rtl]) .svc-row .bar2::after{transform-origin:left}
html:not([dir=rtl]) .svc-row.on .a{transform:rotate(180deg)}
html:not([dir=rtl]) .hb-jr-prog{right:auto;left:12.5%;background:linear-gradient(90deg,var(--accent),var(--accent2))}
html:not([dir=rtl]) .hb-sv-tabs button.on{box-shadow:inset 3px 0 0 var(--accent)}
html:not([dir=rtl]) .tst .q{left:auto;right:22px}
html:not([dir=rtl]) .hb-orbit-w,html:not([dir=rtl]) .hb-bio .pic{direction:ltr}
html:not([dir=rtl]) .hb-stage .nv.nx{left:auto;right:16px}html:not([dir=rtl]) .hb-stage .nv.pv{right:auto;left:16px}
html:not([dir=rtl]) .hb-stage .cnt{right:auto;left:22px}
html[lang^=en] .hb-h1,html[lang^=en] .hb-h2,html[lang^=en] .hb-quote{letter-spacing:-.01em}
html[lang^=en] body.hb{line-height:1.65}

html:not([dir=rtl]) .wk .y,html:not([dir=rtl]) .hb-cred>div span{direction:ltr}
.art[href*="why-advertising"]::before{background-image:url("/wp-content/uploads/2026/11/hb-g-art-ads.webp")}

/* v2.2 fixes: neutralise Astra button hover/focus colours */
.hb button{-webkit-tap-highlight-color:transparent}
.hb button.svc-row,.hb button.svc-row:is(:hover,:focus,:active),.hb button.node-b,.hb button.node-b:is(:hover,:focus,:active){background:transparent!important;color:var(--fg)!important;box-shadow:none!important;outline-offset:4px}
.hb .hb-ct-tabs button,.hb .hb-ct-tabs button:is(:hover,:focus,:active){background:transparent!important;color:var(--muted)!important}
.hb .hb-ct-tabs button.on,.hb .hb-ct-tabs button.on:is(:hover,:focus,:active){color:var(--accent)!important}
.hb .hb-sv-tabs button,.hb .hb-sv-tabs button:is(:hover,:focus,:active){background:transparent!important;color:var(--fg)!important}
.hb .hb-sv-tabs button.on,.hb .hb-sv-tabs button.on:is(:hover,:focus,:active){color:var(--accent)!important}
.hb button.mt-step,.hb button.mt-step:is(:hover,:focus,:active){background:var(--glass)!important;color:var(--fg)!important}
.hb button.mt-step.on,.hb button.mt-step.on:is(:hover,:focus,:active){background:color-mix(in srgb,var(--accent) 12%,var(--glass))!important}
.hb .hb-filt button,.hb .hb-filt button:is(:hover,:focus,:active),.hb .hb-ftab button,.hb .hb-ftab button:is(:hover,:focus,:active){background:var(--surface)!important;color:var(--fg)!important}
.hb .hb-filt button.on,.hb .hb-filt button.on:is(:hover,:focus,:active),.hb .hb-ftab button.on,.hb .hb-ftab button.on:is(:hover,:focus,:active){background:var(--accent)!important;color:var(--onaccent)!important}
.hb button.hb-th,.hb button.hb-th:is(:hover,:focus,:active){background:var(--glass)!important;color:var(--fg)!important}
.hb button.hb-th.on,.hb button.hb-th.on:is(:hover,:focus,:active){background:var(--chip)!important}
.hb button.hb-tgl,.hb button.hb-tgl:is(:hover,:focus,:active),.hb button.hb-burger,.hb button.hb-burger:is(:hover,:focus,:active),.hb .hb-ar-nav button,.hb .hb-ar-nav button:is(:focus,:active){background:var(--surface)!important;color:var(--fg)!important}
.hb .hb-ar-nav button:hover{background:var(--accent)!important;color:var(--onaccent)!important}
.hb .hb-stage button.nv,.hb .hb-stage button.nv:is(:hover,:focus,:active){background:var(--glass)!important;color:var(--fg)!important}
.hb .hb-stage button.zoom,.hb .hb-stage button.zoom:is(:hover,:focus,:active){background:transparent!important}
.hb button.hb-lb-x,.hb button.hb-lb-x:is(:hover,:focus){background:#fff!important;color:#0F172A!important}
/* accent underline: per word so it never drifts onto the next line */
.hb-h2 .hb-acc,.hb-h2 .hb-acc2,.hb-ph h1 .hb-acc{background:none!important;padding-bottom:0!important}
.hb-h2 :is(.hb-acc,.hb-acc2) .hbw,.hb-h2 :is(.hb-acc,.hb-acc2):not(:has(.hbw)){text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:.3em;text-decoration-skip-ink:none}
/* softer light palette */
html[data-theme=light]{--accent:#1E5BD8;--accent2:#0FA89B;--accent2t:#0B7A70;--chip:#EBF1FD;--line:#E2E8F1;--line2:#CCD7E6;--glow1:rgba(30,91,216,.13);--glow2:rgba(15,168,155,.12);--ctabg:#1D4FB8;--ctabtnfg:#163E96;--surface2:#F0F4FA}
