/* ==========================================================================
   Hilogic Technologies — "Bitcoin DeFi" Design System
   True Void backgrounds, Bitcoin Orange / Digital Gold energy.
   Class names are kept stable from the prior design system for
   site-wide HTML compatibility; only token values and component
   treatments change.
   ========================================================================== */

:root {
    /* ---- Canonical palette (spec names) ---- */
    --hl-void: #030304;
    /* True Void — page background */
    --hl-matter: #0f1115;
    /* Dark Matter — elevated surfaces */
    --hl-fg: #ffffff;
    /* Pure Light — primary text */
    --hl-muted: #94a3b8;
    /* Stardust — secondary text */
    --hl-line: #1e293b;
    /* Dim Boundary */
    --hl-primary: #f7931a;
    /* Bitcoin Orange */
    --hl-secondary: #ea580c;
    /* Burnt Orange */
    --hl-tertiary: #ffd600;
    /* Digital Gold */
    /* ---- Legacy variable names, remapped so existing markup (inline
     styles, utility classes) resolves to the new palette automatically ---- */
    --hl-navy: var(--hl-fg);
    --hl-navy-deep: var(--hl-matter);
    --hl-navy-soft: #171a21;
    --hl-red: #d7263d;
    /* logotype-only accent, unchanged */
    --hl-amber: var(--hl-primary);
    --hl-blue: var(--hl-tertiary);
    --hl-green: #2e9e58;
    /* logotype-only accent, unchanged */
    --hl-ink: #e7e9ee;
    --hl-slate: var(--hl-muted);
    --hl-slate-light: #64748b;
    --hl-border: rgba(255, 255, 255, 0.10);
    --hl-surface: var(--hl-matter);
    --hl-surface-alt: var(--hl-void);
    --hl-icon-bg: rgba(247, 147, 26, 0.14);
    --hl-container-max: 1440px;
    --hl-content-max: 1280px;
    --hl-space-1: 8px;
    --hl-space-2: 16px;
    --hl-space-3: 24px;
    --hl-space-4: 32px;
    --hl-space-5: 48px;
    --hl-space-6: 64px;
    --hl-space-7: 96px;
    --hl-radius-sm: 10px;
    --hl-radius-md: 16px;
    --hl-radius-lg: 24px;
    --hl-radius-pill: 999px;
    /* ---- Glows replace flat shadows ---- */
    --hl-glow-sm: 0 0 20px -8px rgba(234, 88, 12, 0.45);
    --hl-glow-md: 0 0 30px -6px rgba(247, 147, 26, 0.35);
    --hl-glow-lg: 0 0 50px -10px rgba(247, 147, 26, 0.22);
    --hl-glow-gold: 0 0 24px rgba(255, 214, 0, 0.25);
    --hl-shadow-sm: var(--hl-glow-sm);
    --hl-shadow-md: var(--hl-glow-md);
    --hl-shadow-lg: var(--hl-glow-lg);
    --hl-font-heading: "Space Grotesk", "Inter", -apple-system, sans-serif;
    --hl-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --hl-font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}


/* ---- Base ---- */

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: var(--hl-font);
    color: var(--hl-ink);
    background-color: var(--hl-void);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--hl-font-heading);
    font-weight: 700;
    color: var(--hl-fg);
    letter-spacing: -0.01em;
}

a {
    color: var(--hl-tertiary);
    text-decoration: none;
}

a:hover {
    color: var(--hl-primary);
}

.hl-container {
    max-width: var(--hl-container-max);
    margin: 0 auto;
    padding-left: var(--hl-space-4);
    padding-right: var(--hl-space-4);
}

.hl-content {
    max-width: var(--hl-content-max);
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--hl-font-mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hl-primary);
    margin-bottom: var(--hl-space-2);
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--hl-primary);
    box-shadow: 0 0 8px rgba(247, 147, 26, 0.8);
    display: inline-block;
}

.section {
    padding: var(--hl-space-6) 0;
    position: relative;
}

.section-sm {
    padding: var(--hl-space-5) 0;
}

.bg-surface-alt {
    background-color: var(--hl-matter);
}


/* bg-navy: elevated dark panel variant */

.bg-navy {
    background-color: var(--hl-matter);
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
    color: var(--hl-fg);
}

.bg-navy .text-muted-invert {
    color: var(--hl-muted) !important;
}

.section-title {
    font-family: var(--hl-font-heading);
    font-size: clamp(1.7rem, 2.2vw, 2.3rem);
    margin-bottom: var(--hl-space-2);
    font-weight: 700;
}

.section-lead {
    color: var(--hl-muted);
    font-size: 1.05rem;
    max-width: 680px;
}

#about-hilogic .section-lead {
    max-width: 880px;
    line-height: 1.5;
}

.gradient-text {
    background: linear-gradient(90deg, var(--hl-primary), var(--hl-tertiary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* ---- Buttons: bold, pill-shaped, luminous ---- */

.btn-hl-primary {
    background: linear-gradient(to right, var(--hl-secondary), var(--hl-primary));
    border: 1px solid transparent;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.86rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--hl-radius-pill);
    box-shadow: var(--hl-glow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-block;
}

.btn-hl-primary:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: var(--hl-glow-md);
}

.btn-hl-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: var(--hl-fg);
    font-weight: 600;
    padding: 0.8rem 1.7rem;
    border-radius: var(--hl-radius-pill);
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-hl-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: var(--hl-fg);
}

.hl-cta-banner .btn-hl-secondary {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.btn-hl-amber {
    background: linear-gradient(to right, var(--hl-primary), var(--hl-tertiary));
    border: 1px solid transparent;
    color: var(--hl-navy-deep);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.86rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--hl-radius-pill);
    box-shadow: var(--hl-glow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-block;
}

.btn-hl-amber:hover {
    color: var(--hl-navy-deep);
    transform: scale(1.05);
    box-shadow: 0 0 40px -6px rgba(255, 214, 0, 0.55);
}


/* ==========================================================================
   Header — dark glass, always on
   ========================================================================== */

.hl-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    padding: 16px 0;
    background: rgba(15, 17, 21, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(247, 147, 26, 0.14);
    transition: box-shadow 0.25s ease, background 0.25s ease, padding 0.25s ease;
}

.hl-header.is-solid,
body:not(.has-hero) .hl-header {
    background: rgba(15, 17, 21, 0.95);
    box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.6);
    padding: 12px 0;
}

.hl-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Baloo 2", var(--hl-font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--hl-fg) !important;
}

.hl-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.hl-logo .mark-hil {
    color: var(--hl-fg);
}

.hl-logo .mark-o {
    color: var(--hl-red);
}

.hl-logo .mark-g {
    color: var(--hl-primary);
}

.hl-logo .mark-i-dot {
    color: var(--hl-tertiary);
}

.hl-logo .mark-c {
    color: var(--hl-green);
}

.hl-logo .sub {
    display: block;
    font-family: var(--hl-font-mono);
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    color: var(--hl-muted);
    margin-top: 1px;
}

.hl-nav .nav-link {
    font-family: var(--hl-font-mono);
    color: var(--hl-muted) !important;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.8rem !important;
}

.hl-nav .nav-link:hover,
.hl-nav .nav-link.active {
    color: var(--hl-primary) !important;
}

.hl-nav .nav-link.active {
    font-weight: 600;
}

#hlNav .nav-link.hl-cta-header {
    background: var(--hl-tertiary);
    color: var(--hl-navy-deep) !important;
    font-family: var(--hl-font-mono);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.78rem;
    padding: 10px 22px !important;
    border-radius: var(--hl-radius-pill);
    margin-left: 14px;
    box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.35), 0 0 18px rgba(255, 214, 0, 0.4);
    transition: box-shadow 0.25s ease, transform 0.15s ease, background 0.25s ease;
}

#hlNav .nav-link.hl-cta-header:hover {
    color: var(--hl-navy-deep) !important;
    background: #fff2a8;
    transform: scale(1.045);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.4), 0 0 26px rgba(255, 214, 0, 0.6);
}

#hlNav .nav-link.hl-cta-header:active {
    transform: scale(0.96);
}

.navbar-toggler {
    box-shadow: none !important;
}

.dropdown-menu {
    background: var(--hl-matter);
    border: 1px solid var(--hl-border);
    border-radius: var(--hl-radius-md);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
    padding: 8px;
    margin-top: 0;
}

.dropdown-item {
    border-radius: var(--hl-radius-sm);
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
    color: var(--hl-ink);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(247, 147, 26, 0.12);
    color: var(--hl-primary);
}

.dropdown-item.active,
.dropdown-item:active {
    background: rgba(247, 147, 26, 0.18) !important;
    color: var(--hl-primary) !important;
    font-weight: 600;
}

.dropdown-toggle::after {
    vertical-align: 0.15em;
}

/* ---- "Jump to Another Service" hero switcher: bounded height so it reads
   as a contained card instead of an overflowing list, plus a clearer
   active-state indicator and accessible focus styling. ---- */
.hl-service-switcher .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hl-service-switcher-menu {
    min-width: 300px;
    max-height: min(58vh, 400px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(247, 147, 26, 0.4) transparent;
}

.hl-service-switcher-menu::-webkit-scrollbar {
    width: 6px;
}

.hl-service-switcher-menu::-webkit-scrollbar-thumb {
    background: rgba(247, 147, 26, 0.4);
    border-radius: 999px;
}

.hl-service-switcher-menu .dropdown-header {
    font-family: var(--hl-font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hl-muted);
    padding: 8px 12px 6px;
}

.hl-service-switcher-menu .dropdown-item {
    border-left: 3px solid transparent;
    border-radius: 0 var(--hl-radius-sm) var(--hl-radius-sm) 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.hl-service-switcher-menu .dropdown-item:hover,
.hl-service-switcher-menu .dropdown-item:focus-visible {
    padding-left: 14px;
}

.hl-service-switcher-menu .dropdown-item.active {
    border-left-color: var(--hl-primary);
}

.hl-service-switcher-menu .dropdown-item i {
    font-size: 0.75rem;
    color: var(--hl-primary);
    flex: none;
}

.hl-service-switcher-menu .dropdown-item:focus-visible {
    outline: 2px solid var(--hl-primary);
    outline-offset: -2px;
}

.hl-service-switcher .dropdown-toggle:focus-visible {
    outline: 2px solid var(--hl-primary);
    outline-offset: 2px;
}


/* Hover-to-open nav dropdowns (Services / Industries / Case Studies): the
   toggle link itself remains a normal anchor so clicking it navigates. */

@media (min-width: 1200px) {
    .hl-nav .nav-item.dropdown {
        position: relative;
    }
    .hl-nav .nav-item.dropdown>.dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        pointer-events: none;
        transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
    }
    .hl-nav .nav-item.dropdown:hover>.dropdown-menu,
    .hl-nav .nav-item.dropdown:focus-within>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}


/* ==========================================================================
   Hero — textured void, luminous headline
   ========================================================================== */

.hl-hero {
    position: relative;
    background: var(--hl-void);
    color: var(--hl-ink);
    padding-top: 168px;
    padding-bottom: 96px;
    overflow: hidden;
}

.hl-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background-size: 48px 48px;
    background-image: linear-gradient(to right, rgba(30, 41, 59, 0.5) 1px, transparent 1px), linear-gradient(to bottom, rgba(30, 41, 59, 0.5) 1px, transparent 1px);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    pointer-events: none;
}

.hl-hero::after {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 55%;
    height: 70%;
    z-index: 2;
    background: var(--hl-primary);
    opacity: 0.12;
    filter: blur(120px);
    pointer-events: none;
}

.hl-hero-page {
    padding-top: 140px;
    padding-bottom: 56px;
    background: var(--hl-matter);
    border-bottom: 1px solid var(--hl-border);
}

.hl-hero .hl-container {
    position: relative;
    z-index: 3;
}

/* ---- Hero background video (homepage only) ---- */
.hl-hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hl-hero-video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hl-hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 65% 80% at 50% 45%, rgba(3, 3, 4, 0.5), transparent 70%),
        rgba(3, 3, 4, 0.62);
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .hl-hero-video-overlay {
        background:
            radial-gradient(ellipse 90% 80% at 50% 45%, rgba(3, 3, 4, 0.55), transparent 75%),
            rgba(3, 3, 4, 0.68);
    }
}

.hl-hero .eyebrow,
.hl-hero h1,
.hl-hero .lead,
.hl-hero .hl-stat-mini .num,
.hl-hero .hl-stat-mini .label {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65), 0 1px 4px rgba(0, 0, 0, 0.85);
}

/* text-shadow renders poorly on background-clip:text gradients (muddies
   the fill), so give the gradient headline its own drop-shadow instead. */
.hl-hero h1 .gradient-text {
    text-shadow: none;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.75)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}

.hl-hero .btn-hl-secondary {
    background: rgba(3, 3, 4, 0.4);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hl-hero h1 {
    color: var(--hl-fg);
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    line-height: 1.16;
    font-weight: 700;
}

.hl-hero .lead {
    color: #d6dbe5;
    font-size: 1.1rem;
    max-width: 580px;
}

.hl-hero-graphic {
    display: none;
}

.hl-stat-mini {
    display: flex;
    gap: var(--hl-space-5);
    margin-top: var(--hl-space-5);
    flex-wrap: wrap;
}

.hl-stat-mini .num {
    font-family: var(--hl-font-mono);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--hl-fg);
}

.hl-stat-mini .label {
    font-size: 0.78rem;
    color: var(--hl-muted);
}


/* ==========================================================================
   Impact / Stats Bar
   ========================================================================== */

.hl-impact-bar {
    background: var(--hl-matter);
    border-top: 1px solid var(--hl-border);
    border-bottom: 1px solid var(--hl-border);
    padding: var(--hl-space-5) 0;
}

.hl-impact-item {
    text-align: center;
}

.hl-impact-item .value {
    font-family: var(--hl-font-mono);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 700;
    color: var(--hl-fg);
}

.hl-impact-item .value .suffix {
    color: var(--hl-primary);
}

.hl-impact-item .label {
    font-size: 0.8rem;
    color: var(--hl-muted);
    margin-top: 4px;
}


/* ==========================================================================
   Cards (Blocks)
   ========================================================================== */

.hl-card {
    background: var(--hl-matter);
    border: 1px solid var(--hl-border);
    border-radius: var(--hl-radius-md);
    padding: var(--hl-space-4);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hl-card:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 147, 26, 0.5);
    box-shadow: 0 0 30px -10px rgba(247, 147, 26, 0.25);
}

.hl-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--hl-radius-sm);
    background: var(--hl-icon-bg) !important;
    border: 1px solid rgba(247, 147, 26, 0.35);
    color: var(--hl-primary) !important;
    margin-bottom: var(--hl-space-2);
    transition: box-shadow 0.3s ease;
}

.hl-card:hover .hl-icon {
    box-shadow: 0 0 18px rgba(247, 147, 26, 0.35);
}

.hl-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

.hl-icon i {
    font-size: 1.3rem;
    line-height: 1;
}

.hl-card-title {
    font-family: var(--hl-font-heading);
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--hl-fg);
}

.hl-card-text {
    color: var(--hl-muted);
    font-size: 0.93rem;
    margin-bottom: 0;
}

.hl-card-link {
    color: var(--hl-tertiary);
    font-size: 0.87rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--hl-space-2);
}

.hl-card-link:hover {
    color: var(--hl-primary);
}

.hl-card-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.hl-card-link i {
    font-size: 0.82rem;
    transition: transform 0.2s ease;
}

.hl-card:hover .hl-card-link svg,
.hl-card:hover .hl-card-link i {
    transform: translateX(3px);
}

.hl-tag {
    display: inline-block;
    font-family: var(--hl-font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hl-tertiary);
    background: rgba(255, 214, 0, 0.10);
    border: 1px solid rgba(255, 214, 0, 0.25);
    border-radius: var(--hl-radius-pill);
    padding: 4px 12px;
    margin-bottom: 10px;
}


/* ==========================================================================
   Case Study / Blog / Job cards
   ========================================================================== */

.hl-media-card {
    border-radius: var(--hl-radius-md);
    overflow: hidden;
    border: 1px solid var(--hl-border);
    height: 100%;
    transition: box-shadow .3s ease, border-color .3s ease;
    background: var(--hl-matter);
}

.hl-media-card:hover {
    border-color: rgba(247, 147, 26, 0.4);
    box-shadow: 0 0 30px -10px rgba(247, 147, 26, 0.25);
}

.hl-media-thumb {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.hl-media-card:hover .hl-media-thumb {
    transform: scale(1.04);
}

.hl-media-thumb svg {
    width: 56px;
    height: 56px;
    opacity: 0.9;
}

.hl-media-thumb i {
    font-size: 2.75rem;
    opacity: 0.9;
}

.hl-media-body {
    padding: var(--hl-space-3);
    background: var(--hl-matter);
}

.thumb-navy {
    background: linear-gradient(135deg, #171a21, var(--hl-matter));
}

.thumb-blue {
    background: linear-gradient(135deg, #7c2d12, var(--hl-secondary));
}

.thumb-green {
    background: linear-gradient(135deg, #92720a, var(--hl-tertiary));
    color: var(--hl-navy-deep);
}

.thumb-amber {
    background: linear-gradient(135deg, var(--hl-secondary), var(--hl-primary));
}

.thumb-red {
    background: linear-gradient(135deg, #5c1420, var(--hl-red));
}


/* ==========================================================================
   Testimonials — glass cards
   ========================================================================== */

.hl-quote-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border: 1px solid var(--hl-border);
    border-radius: var(--hl-radius-md);
    padding: var(--hl-space-4);
    height: 100%;
}

.hl-quote-mark {
    font-size: 2.4rem;
    color: var(--hl-primary);
    line-height: 1;
    font-family: Georgia, serif;
}

.hl-quote-text {
    color: var(--hl-ink);
    font-size: 0.96rem;
}

.hl-quote-author {
    font-family: var(--hl-font-heading);
    font-weight: 700;
    color: var(--hl-fg);
    margin-top: var(--hl-space-2);
}

.hl-quote-role {
    font-family: var(--hl-font-mono);
    font-size: 0.78rem;
    color: var(--hl-muted);
}


/* ==========================================================================
   CTA Banner
   ========================================================================== */

.hl-cta-banner {
    position: relative;
    background: var(--hl-matter);
    border: 1px solid rgba(247, 147, 26, 0.25);
    border-radius: var(--hl-radius-lg);
    padding: var(--hl-space-6) var(--hl-space-6);
    color: #fff;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 0 60px -20px rgba(247, 147, 26, 0.25);
}

.hl-cta-banner::before {
    content: "";
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    background: var(--hl-primary);
    opacity: 0.14;
    filter: blur(100px);
    pointer-events: none;
}

.hl-cta-banner h2 {
    color: #fff;
    position: relative;
}

.hl-cta-banner p,
.hl-cta-banner div {
    position: relative;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.hl-footer {
    background: var(--hl-void);
    color: rgba(255, 255, 255, 0.64);
    border-top: 1px solid var(--hl-border);
}

.hl-footer h6 {
    font-family: var(--hl-font-mono);
    color: var(--hl-primary);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--hl-space-2);
    font-weight: 500;
}

.hl-footer a {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.93rem;
}

.hl-footer a:hover {
    color: var(--hl-primary);
}

.hl-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hl-footer li {
    margin-bottom: 8px;
}

/* ---- "Our Locations" pills (replaces the old Contact Info block) ---- */
.hl-locations-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hl-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--hl-radius-pill);
    border: 1px solid var(--hl-border);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.hl-location-pill i {
    color: var(--hl-primary);
    font-size: 0.76rem;
}

.hl-location-pill:hover {
    border-color: rgba(247, 147, 26, 0.4);
    color: var(--hl-primary);
    background: rgba(247, 147, 26, 0.08);
}

.hl-location-pill:focus-visible {
    outline: 2px solid var(--hl-primary);
    outline-offset: 2px;
    color: var(--hl-primary);
}

@media (max-width: 575.98px) {
    .hl-locations-row {
        gap: 8px;
    }
    .hl-location-pill {
        font-size: 0.78rem;
        padding: 6px 12px;
    }
}

.hl-footer-bottom {
    border-top: 1px solid var(--hl-border);
    padding: var(--hl-space-3) 0;
    font-size: 0.69rem;
    font-family: var(--hl-font-mono);
}

/* Keep the copyright/legal line's links at the same size as the rest of
   that line — do not inherit the larger .hl-footer a size above. */
.hl-footer-bottom a {
    font-size: 0.69rem;
}

/* ==========================================================================
   Footer — Contact Info (compact, matches the plain-list style of the
   other footer columns — no card box, minimal spacing)
   ========================================================================== */
.hl-footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hl-space-3);
}

.hl-footer-contact-title {
    font-family: var(--hl-font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--hl-fg);
    margin-bottom: 8px;
}

.hl-footer-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 5px;
}

.hl-footer-contact-line i {
    flex: none;
    width: 12px;
    margin-top: 3px;
    font-size: 0.68rem;
    color: var(--hl-primary);
}

.hl-footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--hl-tertiary);
    font-family: var(--hl-font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 2px;
    transition: color 0.2s ease;
}

.hl-footer-contact-link i {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.hl-footer-contact-link:hover {
    color: var(--hl-primary);
}

.hl-footer-contact-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 991.98px) {
    .hl-footer-contact-grid {
        grid-template-columns: 1fr;
        gap: var(--hl-space-2);
    }
}

.hl-social {
    display: flex;
    gap: 10px;
}

.hl-social a {
    width: 34px;
    height: 34px;
    border-radius: var(--hl-radius-sm);
    background: rgba(247, 147, 26, 0.10);
    border: 1px solid rgba(247, 147, 26, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hl-primary);
    transition: box-shadow 0.25s ease;
}

.hl-social a:hover {
    box-shadow: 0 0 16px rgba(247, 147, 26, 0.4);
    color: var(--hl-tertiary);
}

.hl-social svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

.hl-social i {
    font-size: 0.95rem;
}

.hl-footer .hl-social a {
    background: rgba(247, 147, 26, 0.10);
}

.hl-footer .hl-social a:hover {
    background: rgba(247, 147, 26, 0.18);
}


/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.hl-breadcrumb {
    font-family: var(--hl-font-mono);
    font-size: 0.8rem;
}

.hl-breadcrumb a {
    color: var(--hl-muted);
}

.hl-breadcrumb a:hover {
    color: var(--hl-primary);
}

.hl-breadcrumb .current {
    color: var(--hl-fg);
    font-weight: 500;
}


/* ==========================================================================
   Forms — terminal-style inputs
   ========================================================================== */

.hl-form .form-control,
.hl-form .form-select {
    color-scheme: dark;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--hl-radius-sm) var(--hl-radius-sm) 0 0;
    color: var(--hl-fg);
    padding: 0.75rem 1rem;
}

.hl-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

.hl-form .form-control:focus,
.hl-form .form-select:focus {
    background: rgba(0, 0, 0, 0.55);
    border-bottom-color: var(--hl-primary);
    box-shadow: 0 10px 24px -12px rgba(247, 147, 26, 0.4);
    color: var(--hl-fg);
    outline: none;
}

.hl-form .form-select option {
    background: var(--hl-matter) !important;
    color: var(--hl-fg) !important;
}

.hl-form label {
    font-family: var(--hl-font-mono);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: var(--hl-muted);
    margin-bottom: 6px;
}


/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   Filter chips (blog)
   ========================================================================== */

.hl-chip {
    display: inline-block;
    font-family: var(--hl-font-mono);
    padding: 7px 16px;
    border-radius: var(--hl-radius-pill);
    border: 1px solid var(--hl-border);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--hl-muted);
    background: transparent;
    transition: all 0.25s ease;
}

.hl-chip:hover {
    border-color: var(--hl-primary);
    color: var(--hl-primary);
}

.hl-chip.active {
    background: linear-gradient(to right, var(--hl-secondary), var(--hl-primary));
    border-color: transparent;
    color: #fff;
}


/* ==========================================================================
   Utilities
   ========================================================================== */

.text-blue {
    color: var(--hl-tertiary) !important;
}

.text-green {
    color: var(--hl-green) !important;
}

.text-amber {
    color: var(--hl-primary) !important;
}

.text-red {
    color: var(--hl-red) !important;
}

.rounded-hl {
    border-radius: var(--hl-radius-md) !important;
}


/* Pulsing "live" indicator dot, available for status badges */

.hl-pulse-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hl-primary);
}

.hl-pulse-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--hl-primary);
    animation: hl-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hl-ping {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    75%,
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

@media (max-width: 1199.98px) {
    .hl-nav .nav-link {
        color: var(--hl-ink) !important;
        padding: 0.6rem 0 !important;
    }
}

@media (max-width: 991.98px) {
    .hl-hero {
        padding-top: 140px;
        padding-bottom: 64px;
    }
    .hl-header.is-solid,
    body:not(.has-hero) .hl-header,
    .hl-header {
        background: rgba(15, 17, 21, 0.97);
    }
}


/* ==========================================================================
   Floating WhatsApp button + chat popup
   ========================================================================== */

.hl-whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hl-secondary), var(--hl-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 14px 24px -6px rgba(0, 0, 0, 0.4), 0 8px 26px rgba(247, 147, 26, 0.5);
    z-index: 1050;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hl-whatsapp-fab::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(247, 147, 26, 0.55);
    animation: hl-wa-aura 2.8s ease-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes hl-wa-aura {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    70% {
        opacity: 0.12;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

.hl-whatsapp-fab:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 16px 30px -6px rgba(0, 0, 0, 0.45), 0 10px 34px rgba(247, 147, 26, 0.7);
}

@media (max-width: 575.98px) {
    .hl-whatsapp-fab {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 16px;
        right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hl-whatsapp-fab,
    .hl-whatsapp-fab::after {
        transition: none;
        animation: none;
    }
}

.hl-wa-popup {
    position: fixed;
    bottom: 98px;
    right: 24px;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: var(--hl-matter);
    border: 1px solid var(--hl-border);
    border-radius: var(--hl-radius-lg);
    box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.7);
    z-index: 1049;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    overflow: hidden;
}

.hl-wa-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.hl-wa-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, var(--hl-secondary), var(--hl-primary));
    color: #fff;
}

.hl-wa-popup-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.hl-wa-popup-title {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.hl-wa-popup-name {
    font-family: var(--hl-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.hl-wa-popup-status {
    font-size: 0.74rem;
    opacity: 0.92;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hl-wa-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ddc70;
    display: inline-block;
    box-shadow: 0 0 6px #3ddc70;
    flex-shrink: 0;
}

.hl-wa-popup-close {
    background: none;
    border: none;
    color: #fff;
    opacity: 0.85;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.hl-wa-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.hl-wa-popup-body {
    padding: 18px 16px 6px;
    background: var(--hl-matter);
}

.hl-wa-bubble {
    background: var(--hl-void);
    border: 1px solid var(--hl-border);
    border-radius: var(--hl-radius-md) var(--hl-radius-md) var(--hl-radius-md) 4px;
    padding: 12px 14px;
    color: var(--hl-ink);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hl-wa-popup-footer {
    padding: 14px 16px 18px;
}

.hl-wa-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25D366;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: var(--hl-radius-pill);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.55);
}

.hl-wa-start-btn i {
    font-size: 1.05rem;
}

.hl-wa-start-btn:hover {
    transform: scale(1.03);
    background: #20bd5a;
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.7);
}

.hl-wa-start-btn:active {
    transform: scale(0.98);
}

@media (max-width: 420px) {
    .hl-wa-popup {
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
        bottom: 88px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hl-wa-popup {
        transition: none;
    }
}


/* ==========================================================================
   Trusted Global Organizations — infinite logo marquee
   ========================================================================== */

.hl-trusted {
    position: relative;
    background: var(--hl-matter);
    border-top: 1px solid var(--hl-border);
    border-bottom: 1px solid var(--hl-border);
    padding: var(--hl-space-6) 0;
    overflow: hidden;
}

.hl-marquee {
    position: relative;
    overflow: hidden;
    margin-top: var(--hl-space-5);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.hl-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: var(--hl-space-6);
    animation: hl-marquee-scroll 38s linear infinite;
}

.hl-marquee:hover .hl-marquee-track,
.hl-marquee:focus-within .hl-marquee-track {
    animation-play-state: paused;
}

.hl-marquee-track img {
    height: 40px;
    width: auto;
    display: block;
    filter: grayscale(1) opacity(0.55);
    transition: filter 0.35s ease, transform 0.35s ease;
    will-change: transform;
}

.hl-marquee-track img:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

@keyframes hl-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .hl-marquee-track {
        gap: var(--hl-space-4);
        animation-duration: 22s;
    }
    .hl-marquee-track img {
        height: 28px;
    }
}


/* ==========================================================================
   Premium 3D technology accents — lightweight, GPU-transform only
   ========================================================================== */

@keyframes hl-orb-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-14px, 16px) scale(1.06);
    }
}

.hl-hero::after {
    animation: hl-orb-float 11s ease-in-out infinite;
}

.hl-cta-banner::before {
    animation: hl-orb-float 13s ease-in-out infinite;
}

.hl-cube-scene {
    position: absolute;
    perspective: 900px;
    pointer-events: none;
    z-index: 2;
}

.hl-cube-3d {
    position: relative;
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    animation: hl-cube-spin 16s linear infinite;
    opacity: 0.4;
}

.hl-cube-3d .face {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(247, 147, 26, 0.55);
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.10), rgba(255, 214, 0, 0.04));
    border-radius: 4px;
}

.hl-cube-3d .face-front {
    transform: translateZ(30px);
}

.hl-cube-3d .face-back {
    transform: rotateY(180deg) translateZ(30px);
}

.hl-cube-3d .face-right {
    transform: rotateY(90deg) translateZ(30px);
}

.hl-cube-3d .face-left {
    transform: rotateY(-90deg) translateZ(30px);
}

.hl-cube-3d .face-top {
    transform: rotateX(90deg) translateZ(30px);
}

.hl-cube-3d .face-bottom {
    transform: rotateX(-90deg) translateZ(30px);
}

@keyframes hl-cube-spin {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }
    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.hl-network-motif {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

.hl-network-motif circle {
    animation: hl-node-pulse 3.4s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.hl-network-motif circle:nth-of-type(2n) {
    animation-delay: 0.7s;
}

.hl-network-motif circle:nth-of-type(3n) {
    animation-delay: 1.4s;
}

.hl-network-motif line {
    stroke-dasharray: 5 5;
    animation: hl-line-flow 4s linear infinite;
}

@keyframes hl-node-pulse {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.4);
    }
}

@keyframes hl-line-flow {
    to {
        stroke-dashoffset: -20;
    }
}

@media (max-width: 991.98px) {
    .hl-cube-scene,
    .hl-network-motif {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hl-cube-3d,
    .hl-hero::after,
    .hl-cta-banner::before {
        animation: none !important;
    }
}

/* ==========================================================================
   Page-hero motif library — one distinct, lightweight 3D/AI accent per
   page category (Home and Contact Us are intentionally excluded).
   All shapes are decorative (aria-hidden), GPU-transform/opacity only,
   hidden below 992px, and frozen under prefers-reduced-motion via the
   global rule above.
   ========================================================================== */
@keyframes hl-float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes hl-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes hl-orbit-counter {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes hl-pulse-glow {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.12); }
}

@keyframes hl-drift {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    50% { transform: translate(10px, -14px); opacity: 1; }
}

.hl-hero-page .hl-motif {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

/* ---- Services (generic): floating glass cards, subtle depth ---- */
.hl-motif .hl-float-card {
    position: absolute;
    border-radius: var(--hl-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.55);
}
.hl-motif .hl-float-card::before {
    content: "";
    position: absolute;
    top: 10px; left: 10px; right: 10px;
    height: 5px;
    border-radius: 3px;
    background: rgba(247, 147, 26, 0.5);
}
.hl-motif .fc-1 { width: 76px; height: 54px; top: 10%; right: 7%; animation: hl-float-y 6s ease-in-out infinite; }
.hl-motif .fc-2 { width: 56px; height: 42px; top: 44%; right: 21%; opacity: 0.8; animation: hl-float-y 7.4s ease-in-out infinite 0.6s; }
.hl-motif .fc-3 { width: 64px; height: 46px; top: 70%; right: 3%; opacity: 0.62; animation: hl-float-y 6.8s ease-in-out infinite 1.2s; }

/* ---- AI Solutions: rotating mesh rings + pulsing core ---- */
.hl-motif .hl-mesh-ring { position: absolute; top: 12%; right: 10%; width: 180px; height: 180px; }
.hl-motif .hl-mesh-ring .ring1 { position: absolute; inset: 0; border: 1.5px dashed rgba(255, 214, 0, 0.42); border-radius: 50%; animation: hl-orbit 16s linear infinite; }
.hl-motif .hl-mesh-ring .ring2 { position: absolute; inset: 18%; border: 1px dashed rgba(247, 147, 26, 0.38); border-radius: 50%; animation: hl-orbit-counter 11s linear infinite; }
.hl-motif .hl-mesh-ring .core { position: absolute; inset: 42%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 0, 0.55), transparent 72%); animation: hl-pulse-glow 2.6s ease-in-out infinite; }
.hl-motif .hl-mesh-ring .node { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--hl-tertiary); box-shadow: 0 0 10px var(--hl-tertiary); animation: hl-pulse-glow 2.2s ease-in-out infinite; }
.hl-motif .hl-mesh-ring .n1 { top: -3px; left: 50%; }
.hl-motif .hl-mesh-ring .n2 { top: 50%; right: -3px; animation-delay: 0.5s; }
.hl-motif .hl-mesh-ring .n3 { bottom: -3px; left: 30%; animation-delay: 1s; }

/* ---- ERP: stacked dashboard panels + flowing data-stream lines ---- */
.hl-motif .hl-dash-panel { position: absolute; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); }
.hl-motif .hl-dash-panel span { position: absolute; left: 9px; height: 4px; border-radius: 2px; background: rgba(247, 147, 26, 0.5); }
.hl-motif .dp-1 { width: 78px; height: 56px; top: 10%; right: 8%; animation: hl-float-y 6.2s ease-in-out infinite; }
.hl-motif .dp-1 span:nth-child(1) { right: 9px; bottom: 12px; }
.hl-motif .dp-1 span:nth-child(2) { width: 60%; bottom: 20px; }
.hl-motif .dp-2 { width: 58px; height: 68px; top: 50%; right: 24%; opacity: 0.78; animation: hl-float-y 7.2s ease-in-out infinite 0.5s; }
.hl-motif .dp-2 span { width: 70%; bottom: 12px; }
.hl-motif .hl-dash-lines { position: absolute; inset: 0; overflow: visible; }
.hl-motif .hl-dash-lines line { stroke: rgba(255, 214, 0, 0.45); stroke-width: 1.2; stroke-dasharray: 4 5; animation: hl-line-flow 3s linear infinite; }

/* ---- Industries: slow-rotating orbit ring with fixed sector icons ---- */
.hl-motif .hl-orbit-scene { position: absolute; top: 14%; right: 9%; width: 160px; height: 160px; }
.hl-motif .hl-orbit-scene .orbit-path { position: absolute; inset: 0; border: 1px dashed rgba(247, 147, 26, 0.32); border-radius: 50%; animation: hl-orbit 22s linear infinite; }
.hl-motif .hl-orbit-scene .orbit-path2 { position: absolute; inset: 20%; border: 1px dashed rgba(255, 214, 0, 0.28); border-radius: 50%; animation: hl-orbit-counter 16s linear infinite; }
.hl-motif .hl-orbit-scene .orbit-icon { position: absolute; width: 26px; height: 26px; border-radius: 8px; background: var(--hl-icon-bg); border: 1px solid rgba(247, 147, 26, 0.35); color: var(--hl-primary); display: flex; align-items: center; justify-content: center; font-size: 11px; animation: hl-float-y 5s ease-in-out infinite; }
.hl-motif .oi-1 { top: -13px; left: calc(50% - 13px); }
.hl-motif .oi-2 { top: calc(50% - 13px); right: -13px; animation-delay: 0.5s; }
.hl-motif .oi-3 { bottom: -13px; left: 22%; animation-delay: 1s; }

/* ---- Technologies: floating glass chips with LED dot ---- */
.hl-motif .hl-chip { position: absolute; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hl-motif .hl-chip::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; top: 5px; right: 5px; background: var(--hl-tertiary); box-shadow: 0 0 6px var(--hl-tertiary); animation: hl-pulse-glow 2s ease-in-out infinite; }
.hl-motif .c-1 { width: 54px; height: 36px; top: 12%; right: 8%; animation: hl-float-y 5.6s ease-in-out infinite; }
.hl-motif .c-2 { width: 42px; height: 42px; top: 48%; right: 23%; opacity: 0.75; animation: hl-float-y 6.6s ease-in-out infinite 0.4s; }
.hl-motif .c-3 { width: 48px; height: 32px; top: 72%; right: 4%; opacity: 0.6; animation: hl-float-y 6s ease-in-out infinite 0.9s; }

/* ---- Case Studies: floating result cards with outcome icons ---- */
.hl-motif .hl-rcard { position: absolute; border-radius: var(--hl-radius-sm); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(46, 158, 88, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #2e9e58; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.hl-motif .rc-1 { width: 46px; height: 46px; top: 12%; right: 8%; animation: hl-float-y 6s ease-in-out infinite; }
.hl-motif .rc-2 { width: 60px; height: 40px; top: 50%; right: 24%; opacity: 0.78; animation: hl-float-y 7s ease-in-out infinite 0.5s; }
.hl-motif .rc-3 { width: 42px; height: 42px; top: 75%; right: 4%; opacity: 0.62; animation: hl-float-y 6.5s ease-in-out infinite 1s; }

/* ---- Blogs: drifting knowledge particles + article cards ---- */
.hl-motif .hl-pdot { position: absolute; border-radius: 50%; background: var(--hl-tertiary); box-shadow: 0 0 10px var(--hl-tertiary); animation: hl-drift 5s ease-in-out infinite; }
.hl-motif .pd-1 { width: 6px; height: 6px; top: 16%; right: 14%; }
.hl-motif .pd-2 { width: 4px; height: 4px; top: 34%; right: 30%; animation-delay: 0.8s; }
.hl-motif .pd-3 { width: 5px; height: 5px; top: 62%; right: 10%; animation-delay: 1.6s; }
.hl-motif .hl-pcard { position: absolute; width: 58px; height: 40px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); animation: hl-float-y 6.5s ease-in-out infinite; }
.hl-motif .hl-pcard span { position: absolute; left: 8px; right: 8px; height: 3px; border-radius: 2px; background: rgba(255, 214, 0, 0.4); }
.hl-motif .hl-pcard span:nth-child(1) { top: 10px; }
.hl-motif .hl-pcard span:nth-child(2) { top: 18px; right: 20px; }
.hl-motif .pc-1 { top: 42%; right: 6%; }

/* ---- Careers: floating profile badges ---- */
.hl-motif .hl-pf { position: absolute; border-radius: 50%; background: var(--hl-icon-bg); border: 1px solid rgba(247, 147, 26, 0.35); color: var(--hl-primary); display: flex; align-items: center; justify-content: center; }
.hl-motif .pf-1 { width: 44px; height: 44px; top: 12%; right: 9%; font-size: 16px; animation: hl-float-y 6s ease-in-out infinite; }
.hl-motif .pf-2 { width: 34px; height: 34px; top: 46%; right: 25%; font-size: 13px; opacity: 0.78; animation: hl-float-y 7s ease-in-out infinite 0.5s; }
.hl-motif .pf-3 { width: 38px; height: 38px; top: 73%; right: 5%; font-size: 14px; opacity: 0.62; animation: hl-float-y 6.5s ease-in-out infinite 1s; }

/* ---- About Us: wide connected network (reuses .hl-network-motif) ---- */
.hl-motif .hl-network-motif.about-net { position: absolute; top: 8%; right: 4%; width: 240px; height: 150px; opacity: 0.6; }

/* ---- Legal pages: single subtle glowing shield ---- */
.hl-motif .hl-shield-glow { position: absolute; top: 16%; right: 8%; font-size: 84px; color: var(--hl-primary); filter: blur(1.5px); animation: hl-shield-pulse 4.5s ease-in-out infinite; }

@keyframes hl-shield-pulse {
    0%, 100% { opacity: 0.06; }
    50% { opacity: 0.16; }
}

@media (max-width: 991.98px) {
    .hl-hero-page .hl-motif {
        display: none;
    }
}


/* ==========================================================================
   UI/UX polish — glass surfaces, media frames, micro-interactions
   ========================================================================== */

.hl-glass {
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.hl-media-frame {
    position: relative;
    border-radius: var(--hl-radius-lg);
    overflow: hidden;
    border: 1px solid var(--hl-border);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.hl-media-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hl-media-frame:hover img {
    transform: scale(1.045);
}

.hl-media-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(3, 3, 4, 0.55) 100%);
    pointer-events: none;
}

.btn-hl-primary,
.btn-hl-amber,
.btn-hl-secondary,
#hlNav .nav-link.hl-cta-header {
    position: relative;
    overflow: hidden;
}

.btn-hl-primary::before,
.btn-hl-amber::before,
#hlNav .nav-link.hl-cta-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn-hl-primary:hover::before,
.btn-hl-amber:hover::before,
#hlNav .nav-link.hl-cta-header:hover::before {
    left: 130%;
}

.hl-card,
.hl-media-card,
.hl-quote-card {
    will-change: transform;
}