[data-theme="c"] {
    --vx-bg: #010205;
    --vx-bg-alt: #101625;
    --vx-bg-dark: #000505;
    --vx-text: #fefcfd;
    --vx-text-body: #bfcde0;
    --vx-text-muted: #8f9fb8;
    --vx-text-card: #bfcde0;
    --vx-text-dark: #fefcfd;
    --vx-text-on-dark: #bfcde0;
    --vx-text-subtle: #bfcde0;
    --vx-text-stat: #8f9fb8;
    --vx-text-footer: #bfcde0;
    --vx-text-foot2: #8f9fb8;
    --vx-text-foot3: #5d5d81;
    --vx-accent: #7081b0;
    --vx-accent-dark: #bfcde0;
    --vx-accent-text: #bfcde0;
    --vx-accent-hero: #7081b0;
    --vx-border: rgba(191, 205, 224, 0.15);
    --vx-border-alt: rgba(191, 205, 224, 0.22);
    --vx-border-dark: rgba(255, 255, 255, 0.05);
    --vx-border-nav: rgba(191, 205, 224, 0.2);
    --vx-border-mob: rgba(255, 255, 255, 0.08);
    --vx-header-bg: rgba(5, 8, 16, 0.72);
    --vx-header-bg-s: rgba(5, 8, 16, 0.86);
    --vx-header-bdr: rgba(255, 255, 255, 0.05);
    --vx-btn-bg: #bfcde0;
    --vx-btn-text: #000505;
    --vx-btn-hover: #5d5d81;
    --vx-card-bg: #101625;
    --vx-card-hover: #1b233a;
    --vx-services-gap: #3b3355;
    --vx-nav-text: #bfcde0;
    --vx-nav-active: #fefcfd;
    --vx-stat-box-bg: #101625;
    --vx-stat-box-txt: #fefcfd;
    --vx-stat-num: #7081b0;
    --vx-hero-overlay: linear-gradient(180deg, rgba(5, 8, 16, 0.1) 0%, rgba(5, 8, 16, 0.4) 100%);
    --vx-img-border: rgba(191, 205, 224, 0.2);
    --vx-location-txt: #fefcfd;
    --vx-label-txt: #8f9fb8;
    --vx-footer-bg: #000505;
    --vx-footer-bdr: rgba(255, 255, 255, 0.05);
    --vx-select-bg: #bfcde0;
    --vx-select-color: #000505;
    --vx-burger-line: #fefcfd;
    --vx-lang-sep: rgba(255, 255, 255, 0.2);
    --vx-lang-muted: #bfcde0;
    --vx-mob-menu-bg: #050810;
    --vx-mob-menu-txt: #fefcfd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--vx-bg);
    color: var(--vx-text);
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6
}

::selection {
    background: var(--vx-accent);
    color: var(--vx-bg)
}

input,
textarea,
button {
    font-family: inherit
}

a {
    color: inherit
}

/* ---- Hover states (replacing runtime style-hover) ---- */
.vx-btn-dark {
    transition: background .3s ease
}

.vx-btn-dark:hover {
    background: var(--vx-btn-hover) !important
}

.vx-link-arrow {
    transition: color .25s ease, border-color .25s ease
}

.vx-link-arrow:hover {
    color: var(--vx-accent) !important;
    border-color: var(--vx-accent) !important
}

.vx-lang-btn {
    transition: border-color .25s ease, color .25s ease
}

.vx-lang-btn:hover {
    border-color: var(--vx-accent) !important;
    color: var(--vx-accent) !important
}

.vx-card {
    transition: background .4s ease
}

.vx-card:hover {
    background: var(--vx-card-hover) !important
}

/* ---- Hero background overlay ---- */
.vx-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 8, 16, 0.95) 0%, rgba(5, 8, 16, 0.8) 40%, rgba(5, 8, 16, 0.15) 100%);
    pointer-events: none;
    z-index: 1
}

@media (max-width: 900px) {
    .vx-hero-overlay {
        background: linear-gradient(180deg, rgba(5, 8, 16, 0.95) 0%, rgba(5, 8, 16, 0.85) 60%, rgba(5, 8, 16, 0.5) 100%)
    }
}

/* ---- Cases (stacked rows) ---- */

/* Keep the big metric visually stable whether it wraps to one or two lines. */
.vx-case-metric {
    display: block
}

.vx-icon-link,
.vx-email,
.vx-footer-link {
    transition: color .25s ease
}

.vx-icon-link:hover,
.vx-email:hover,
.vx-footer-link:hover {
    color: var(--vx-accent) !important
}

.vx-member-link {
    transition: color .25s ease
}

.vx-member-link:hover h3 {
    color: var(--vx-accent)
}

/* ---- Mobile menu (checkbox hack) ---- */
.vx-menu-toggle-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none
}

.vx-mobile-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .4s ease, visibility .4s ease
}

#vx-menu-toggle:checked~.vx-mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.vx-burger-toggle {
    display: none;
    border: none;
    background: none
}

.vx-burger-toggle .vx-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--vx-burger-line);
    transition: transform .3s ease, opacity .3s ease
}

#vx-menu-toggle:checked~#vx-header .vx-line-top {
    transform: translateY(6.5px) rotate(45deg)
}

#vx-menu-toggle:checked~#vx-header .vx-line-mid {
    opacity: 0
}

#vx-menu-toggle:checked~#vx-header .vx-line-bot {
    transform: translateY(-6.5px) rotate(-45deg)
}

.vx-burger {
    display: none
}

.vx-burger-wrap {
    display: none
}

.vx-member-photo img {
    filter: grayscale(100%);
    transition: filter .4s ease
}

.vx-member-photo:hover img {
    filter: grayscale(0%)
}

@media (max-width:1100px) {
    .vx-services {
        grid-template-columns: 1fr !important
    }
}

@media (max-width:900px) {
    .vx-desktop-nav {
        display: none !important
    }

    .vx-burger {
        display: flex !important
    }

    .vx-burger-wrap {
        display: flex !important
    }

    .vx-hero-grid {
        grid-template-columns: 1fr !important
    }

    .vx-two-col {
        grid-template-columns: 1fr !important
    }

    .vx-services {
        grid-template-columns: 1fr !important
    }

    .vx-stats {
        grid-template-columns: repeat(2, 1fr) !important
    }

    .vx-cases .vx-case-row {
        grid-template-columns: 1fr !important;
        gap: 26px !important
    }

    .vx-cases .vx-case-row>div:last-child>div:first-child {
        grid-template-columns: 1fr !important
    }

    .vx-team {
        grid-template-columns: repeat(2, 1fr) !important
    }

    .vx-footer-grid {
        grid-template-columns: 1fr 1fr !important
    }
}

/* ---- Chat assistant ---- */
.vx-chat-launcher,
.vx-chat-panel,
.vx-chat-launcher * {
    box-sizing: border-box
}

.vx-chat-launcher {
    position: fixed;
    right: clamp(20px, 5vw, 48px);
    bottom: clamp(20px, 5vw, 40px);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid var(--vx-border-alt);
    background: var(--vx-bg-alt);
    color: var(--vx-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .6);
    transition: transform .25s ease, background .3s ease, opacity .25s ease, visibility .25s ease
}

.vx-chat-launcher:hover {
    transform: translateY(-2px);
    background: var(--vx-card-hover)
}

.vx-chat-launcher-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.vx-chat-panel {
    position: fixed;
    right: clamp(20px, 5vw, 48px);
    bottom: clamp(20px, 5vw, 40px);
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 580px;
    max-height: calc(100vh - clamp(40px, 10vw, 120px));
    background: var(--vx-bg);
    border: 1px solid var(--vx-border);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
    z-index: 100;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.98);
    transform-origin: bottom right;
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
    overflow: hidden
}

.vx-chat-open {
    opacity: 1;
    visibility: visible;
    transform: none
}

.vx-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 14px 16px;
    background: var(--vx-bg-alt);
    border-bottom: 1px solid var(--vx-border);
    flex: 0 0 auto
}

.vx-chat-head-t {
    display: flex;
    align-items: center;
    gap: 11px
}

.vx-chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--vx-btn-bg);
    color: var(--vx-btn-text);
    font-family: 'Playfair Display';
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto
}

.vx-chat-title {
    font-family: 'Playfair Display';
    font-weight: 600;
    font-size: 16px;
    color: var(--vx-text)
}

.vx-chat-sub {
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--vx-text-muted)
}

.vx-chat-x {
    background: none;
    border: none;
    color: var(--vx-text-muted);
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color .2s ease, background .2s ease
}

.vx-chat-x:hover {
    color: var(--vx-text);
    background: var(--vx-card-hover)
}

.vx-chat-x::before,
.vx-chat-x::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 1.4px;
    background: currentColor;
    transform: rotate(45deg)
}

.vx-chat-x::after {
    transform: rotate(-45deg)
}

.vx-chat-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin
}

.vx-chat-msg {
    display: flex;
    width: 100%
}

.vx-chat-user {
    justify-content: flex-end
}

.vx-chat-bubble {
    max-width: 82%;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-wrap: break-word
}

.vx-chat-bot .vx-chat-bubble {
    background: var(--vx-card-bg);
    color: var(--vx-text-body);
    border-bottom-left-radius: 4px
}

.vx-chat-user .vx-chat-bubble {
    background: var(--vx-btn-bg);
    color: var(--vx-btn-text);
    border-bottom-right-radius: 4px
}

.vx-chat-typing {
    color: var(--vx-text-muted)
}

.vx-chat-typing::after {
    content: '•••';
    letter-spacing: 2px;
    animation: vx-chat-dots 1.2s steps(3, end) infinite
}

@keyframes vx-chat-dots {
    0%, 20% {
        opacity: .2
    }
    50%, 80% {
        opacity: 1
    }
    100% {
        opacity: .2
    }
}

.vx-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px
}

.vx-chat-sug-h {
    width: 100%;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--vx-text-muted);
    margin-bottom: 2px
}

.vx-chat-sug {
    background: var(--vx-bg-alt);
    border: 1px solid var(--vx-border);
    color: var(--vx-text-body);
    font-size: 12.5px;
    padding: 7px 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease
}

.vx-chat-sug:hover {
    border-color: var(--vx-accent);
    color: var(--vx-nav-active)
}

.vx-chat-foot {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid var(--vx-border);
    background: var(--vx-bg)
}

.vx-chat-input {
    flex: 1 1 auto;
    resize: none;
    border: 1px solid var(--vx-border);
    background: var(--vx-bg-alt);
    color: var(--vx-text);
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 12px;
    border-radius: 16px;
    max-height: 120px;
    outline: none;
    transition: border-color .2s ease
}

.vx-chat-input:focus {
    border-color: var(--vx-accent)
}

.vx-chat-send {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--vx-btn-bg);
    color: var(--vx-btn-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, opacity .2s ease
}

.vx-chat-send:hover {
    background: var(--vx-accent)
}

.vx-chat-send:disabled {
    opacity: .5
}

.vx-chat-disclaimer {
    flex: 0 0 auto;
    font-size: 10px;
    letter-spacing: .04em;
    color: var(--vx-text-foot3);
    text-align: center;
    padding: 0 12px 10px
}

@media (max-width:560px) {
    .vx-values {
        grid-template-columns: 1fr !important
    }

    .vx-team {
        grid-template-columns: repeat(2, 1fr) !important
    }

    .vx-footer-grid {
        grid-template-columns: 1fr !important
    }

    .vx-chat-panel {
        right: 0;
        bottom: 0;
        max-width: 100vw;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border: none
    }
    .vx-chat-launcher {
        bottom: 88px
    }
}
