@charset "utf-8";

/*
   Zajednička WebGL osnova za početnu stranu i sve WebGL podstranice.
   Ovde su i osnovni stilovi koji su ranije dolazili iz starog globalnog CSS-a.
*/

html {
    scroll-behavior: smooth;
}

:where(body.rvt-webgl-page, body.rvt-webgl-page *, body.rvt-webgl-page *::before, body.rvt-webgl-page *::after) {
    box-sizing: border-box;
}

:where(body.rvt-webgl-page, body.rvt-webgl-page *) {
    margin: 0;
    padding: 0;
}

body.rvt-webgl-page {
    --rvt-shell-bg: #01040b;
    --rvt-shell-panel: rgba(3, 10, 24, 0.82);
    --rvt-shell-panel-strong: rgba(3, 11, 28, 0.96);
    --rvt-shell-line: rgba(101, 192, 255, 0.22);
    --rvt-shell-line-strong: rgba(113, 218, 255, 0.72);
    --rvt-shell-cyan: #67dcff;
    --rvt-shell-blue: #397dff;
    --rvt-shell-text: #f4f9ff;
    --rvt-shell-muted: rgba(204, 225, 247, 0.72);
    /* Jedan izvor veličina za početnu i sve WebGL podstranice. */
    --rvt-webgl-type-kicker: clamp(10px, 0.75vw, 12px);
    --rvt-webgl-type-hero-title: clamp(44px, 4.5vw, 78px);
    --rvt-webgl-type-hero-copy: clamp(17px, 1.25vw, 21px);
    --rvt-webgl-type-section-title: clamp(40px, 4vw, 68px);
    --rvt-webgl-type-cta-title: clamp(42px, 4.4vw, 72px);
    --rvt-webgl-type-section-copy: clamp(17px, 1.2vw, 20px);
    --rvt-webgl-type-action: 17px;
    /* Ista kartična tipografija kao na početnoj strani. */
    --rvt-webgl-type-card-title: 25px;
    --rvt-webgl-type-card-copy: 16px;
    --rvt-webgl-type-link: 13px;
    /* FAQ je usklađen sa većim karticama na početnoj strani. */
    --rvt-webgl-type-faq-title: 26px;
    --rvt-webgl-type-faq-copy: 16px;
    --rvt-webgl-type-micro: 10px;
    min-height: 100vh;
    margin: 0;
    font-family: "Rajdhani", sans-serif;
    background: var(--rvt-shell-bg) !important;
    color: var(--rvt-shell-text);
    overflow-x: clip;
}

@media (min-width: 1024px) and (max-height: 900px) {
    body.rvt-webgl-page {
        --rvt-webgl-type-hero-title: clamp(40px, 4vw, 66px);
        --rvt-webgl-type-hero-copy: clamp(15px, 1.1vw, 18px);
        --rvt-webgl-type-section-title: clamp(34px, 3.6vw, 57px);
        --rvt-webgl-type-cta-title: clamp(34px, 3.6vw, 57px);
        --rvt-webgl-type-section-copy: clamp(15px, 1.05vw, 18px);
        --rvt-webgl-type-card-title: 22px;
        --rvt-webgl-type-card-copy: 15px;
        --rvt-webgl-type-faq-title: 23px;
        --rvt-webgl-type-faq-copy: 15px;
    }
}

@media (min-width: 1024px) and (max-height: 720px) {
    body.rvt-webgl-page {
        --rvt-webgl-type-hero-title: clamp(36px, 3.6vw, 54px);
        --rvt-webgl-type-hero-copy: 14px;
        --rvt-webgl-type-section-title: clamp(31px, 3.2vw, 47px);
        --rvt-webgl-type-cta-title: clamp(31px, 3.2vw, 47px);
        --rvt-webgl-type-section-copy: 14px;
        --rvt-webgl-type-action: 15px;
        --rvt-webgl-type-card-title: 19px;
        --rvt-webgl-type-card-copy: 13.5px;
        --rvt-webgl-type-link: 11px;
        --rvt-webgl-type-faq-title: 20px;
        --rvt-webgl-type-faq-copy: 13.5px;
    }
}

@media (max-width: 1023px), (pointer: coarse) {
    body.rvt-webgl-page {
        --rvt-webgl-type-hero-title: clamp(43px, 8.2vw, 64px);
        --rvt-webgl-type-section-title: clamp(38px, 7vw, 55px);
        --rvt-webgl-type-cta-title: clamp(38px, 7vw, 55px);
        --rvt-webgl-type-card-title: 23px;
        --rvt-webgl-type-card-copy: 16px;
        --rvt-webgl-type-faq-title: clamp(22px, 3.2vw, 25px);
        --rvt-webgl-type-faq-copy: clamp(16px, 2.25vw, 17px);
    }
}

@media (max-width: 620px) {
    body.rvt-webgl-page {
        --rvt-webgl-type-kicker: 9px;
        --rvt-webgl-type-hero-title: clamp(40px, 12vw, 53px);
        --rvt-webgl-type-hero-copy: 17px;
        --rvt-webgl-type-section-title: clamp(36px, 10.5vw, 48px);
        --rvt-webgl-type-cta-title: clamp(36px, 10.5vw, 48px);
        --rvt-webgl-type-card-title: 21px;
        --rvt-webgl-type-card-copy: 15px;
        --rvt-webgl-type-faq-title: 22px;
        --rvt-webgl-type-faq-copy: 16px;
    }
}

body.rvt-webgl-page::before,
body.rvt-webgl-page::after {
    content: none !important;
    display: none !important;
}

body.rvt-webgl-page.rvt-shell-menu-open {
    overflow: hidden;
}

body.rvt-webgl-page #main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: #01040b;
}

body.rvt-webgl-page :where(.rvt-shell-header, .rvt-shell-footer),
body.rvt-webgl-page :where(.rvt-shell-header, .rvt-shell-footer) * {
    box-sizing: border-box;
}

body.rvt-webgl-page :where(.rvt-shell-header, .rvt-shell-footer) :where(a) {
    color: inherit;
    text-decoration: none;
}

body.rvt-webgl-page :where(.rvt-shell-header, .rvt-shell-footer) :where(ul) {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.rvt-webgl-page :where(.rvt-shell-header, .rvt-shell-footer) :where(button) {
    font: inherit;
}

/* =========================
   WEBGL HEADER
   ========================= */

.rvt-shell-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1200;
    padding: 16px clamp(14px, 2vw, 30px) 0;
    pointer-events: none;
}

.rvt-shell-header__bar {
    position: relative;
    width: min(1440px, 100%);
    min-height: 74px;
    margin: 0 auto;
    padding: 9px 10px 9px 12px;
    display: grid;
    grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(10px, 1.4vw, 22px);
    border: 1px solid rgba(104, 191, 255, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 46%),
        linear-gradient(110deg, rgba(12, 44, 93, 0.62), rgba(2, 8, 20, 0.88) 32%, rgba(2, 7, 18, 0.92) 72%, rgba(9, 32, 70, 0.64));
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.08),
        inset 0 -1px rgba(63, 148, 255, 0.08),
        0 18px 55px rgba(0, 0, 0, 0.34),
        0 0 38px rgba(46, 137, 255, 0.075);
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    pointer-events: auto;
    transition: min-height 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.rvt-shell-header__bar::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(127, 205, 255, 0.08);
    border-radius: 17px;
    pointer-events: none;
}

.rvt-shell-header__beam,
.rvt-shell-header__edge {
    position: absolute;
    pointer-events: none;
}

.rvt-shell-header__beam {
    top: -1px;
    left: 50%;
    width: min(330px, 32vw);
    height: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(101, 218, 255, 0.98), transparent);
    box-shadow: 0 0 22px rgba(80, 181, 255, 0.52);
}

.rvt-shell-header__edge {
    inset: auto 8% -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 125, 255, 0.44), rgba(105, 222, 255, 0.62), rgba(58, 125, 255, 0.44), transparent);
    opacity: 0.8;
}

.rvt-shell-header.is-scrolled .rvt-shell-header__bar {
    min-height: 68px;
    border-color: rgba(108, 197, 255, 0.27);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 42%),
        rgba(2, 8, 20, 0.94);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.075),
        0 22px 58px rgba(0, 0, 0, 0.52),
        0 0 32px rgba(49, 139, 255, 0.1);
}

.rvt-shell-brand {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    justify-self: start;
    border-radius: 15px;
    outline: none;
}

.rvt-shell-brand__mark {
    position: relative;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
}

.rvt-shell-brand__mark::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 197, 255, 0.22), transparent 68%);
    filter: blur(7px);
    opacity: 0;
    transition: opacity 180ms ease;
}

.rvt-shell-brand:hover .rvt-shell-brand__mark::before,
.rvt-shell-brand:focus-visible .rvt-shell-brand__mark::before {
    opacity: 1;
}

.rvt-shell-brand__mark img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.32));
}

.rvt-shell-brand__prism {
    width: 27px;
    height: 27px;
    transform: rotate(45deg);
    border: 1px solid rgba(183, 238, 255, 0.82);
    background: linear-gradient(135deg, #397dff, #66dcff);
    box-shadow: 0 0 18px rgba(75, 174, 255, 0.54);
}

.rvt-shell-brand__copy {
    min-width: 0;
    display: grid;
    gap: 3px;
    line-height: 1;
}

.rvt-shell-brand__copy strong {
    overflow: hidden;
    color: #f7fbff;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(0.94rem, 0.72rem + 0.42vw, 1.22rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(85, 185, 255, 0.16);
}

.rvt-shell-brand__copy strong span {
    margin-left: 0.35em;
    color: rgba(199, 228, 255, 0.78);
    font-weight: 700;
}

.rvt-shell-brand__copy small {
    color: rgba(132, 185, 231, 0.64);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rvt-shell-menu {
    position: relative;
    z-index: 3;
    min-width: 0;
    justify-self: center;
}

.rvt-shell-menu__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.rvt-shell-menu__item {
    position: relative;
}

.rvt-shell-menu__item--mobile-demo {
    display: none;
}

.rvt-shell-menu__link {
    position: relative;
    min-height: 44px;
    padding: 0 clamp(10px, 1.05vw, 17px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 13px;
    background: transparent;
    color: rgba(215, 233, 251, 0.74);
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(0.73rem, 0.66rem + 0.12vw, 0.83rem);
    font-weight: 700;
    letter-spacing: 0.095em;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rvt-shell-menu__link::before {
    content: "";
    position: absolute;
    inset: auto 24% 5px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #66dfff, transparent);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 180ms ease, transform 180ms ease;
}

.rvt-shell-menu__link:hover,
.rvt-shell-menu__link:focus-visible,
.rvt-shell-menu__link.is-active {
    color: #f5fbff;
    border-color: rgba(103, 196, 255, 0.17);
    background: rgba(42, 111, 205, 0.09);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 0 20px rgba(54, 143, 255, 0.055);
}

.rvt-shell-menu__link:hover::before,
.rvt-shell-menu__link:focus-visible::before,
.rvt-shell-menu__link.is-active::before {
    opacity: 1;
    transform: scaleX(1);
}

.rvt-shell-services-trigger {
    display: inline-flex;
    align-items: stretch;
    gap: 2px;
}

.rvt-shell-menu__services-link {
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
}

.rvt-shell-menu__services-toggle {
    position: relative;
    width: 34px;
    min-height: 44px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 9px 13px 13px 9px;
    background: transparent;
    color: rgba(215, 233, 251, 0.74);
    cursor: pointer;
    outline: none;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.rvt-shell-menu__services-toggle:hover,
.rvt-shell-menu__services-toggle:focus-visible,
.rvt-shell-menu__item--services.is-open .rvt-shell-menu__services-toggle {
    color: #f5fbff;
    border-color: rgba(103, 196, 255, 0.22);
    background: rgba(42, 111, 205, 0.12);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 0 18px rgba(54, 143, 255, 0.06);
}

.rvt-shell-menu__services-toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.rvt-shell-menu__item--services.is-open .rvt-shell-menu__services-toggle svg {
    transform: rotate(180deg);
}

.rvt-shell-menu__item--services::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -36px;
    width: calc(100% + 72px);
    height: 20px;
}

.rvt-shell-services {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    width: min(780px, calc(100vw - 48px));
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.7fr);
    gap: 14px;
    border: 1px solid rgba(108, 199, 255, 0.23);
    border-radius: 24px;
    background:
        radial-gradient(circle at 14% 0%, rgba(72, 170, 255, 0.15), transparent 32%),
        radial-gradient(circle at 88% 8%, rgba(101, 223, 255, 0.075), transparent 28%),
        linear-gradient(145deg, rgba(5, 18, 42, 0.985), rgba(1, 7, 18, 0.99));
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.075),
        0 34px 80px rgba(0, 0, 0, 0.66),
        0 0 44px rgba(52, 145, 255, 0.1);
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px) scale(0.985);
    transform-origin: 50% 0;
    transition: opacity 170ms ease, visibility 170ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rvt-shell-services::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 210px;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(102, 221, 255, 0.92), transparent);
    box-shadow: 0 0 18px rgba(76, 181, 255, 0.42);
}

.rvt-shell-menu__item--services:hover .rvt-shell-services,
.rvt-shell-menu__item--services:focus-within .rvt-shell-services,
.rvt-shell-menu__item--services.is-open .rvt-shell-services {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}

.rvt-shell-services__heading {
    min-width: 0;
    padding: 19px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(104, 188, 255, 0.15);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%),
        linear-gradient(145deg, rgba(21, 69, 143, 0.28), rgba(2, 10, 25, 0.52));
}

.rvt-shell-services__heading > span {
    color: #68ddff;
    font-family: "Orbitron", sans-serif;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rvt-shell-services__heading strong {
    margin-top: 9px;
    color: #f5faff;
    font-size: 1.22rem;
    line-height: 1.1;
}

.rvt-shell-services__heading p {
    margin: 10px 0 0;
    color: rgba(198, 219, 242, 0.7);
    font-size: 0.83rem;
    line-height: 1.48;
}

.rvt-shell-services__grid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.rvt-shell-service {
    min-width: 0;
    min-height: 88px;
    padding: 13px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(106, 189, 255, 0.12);
    border-radius: 16px;
    background: rgba(10, 31, 65, 0.34);
    outline: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.rvt-shell-service:hover,
.rvt-shell-service:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(106, 211, 255, 0.42);
    background: rgba(20, 61, 122, 0.44);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 20px rgba(54, 148, 255, 0.08);
}

.rvt-shell-service__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(110, 204, 255, 0.19);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(49, 124, 234, 0.28), rgba(5, 20, 46, 0.66));
    color: #56b6ff;
    font-size: 1.08rem;
    filter: drop-shadow(0 0 8px rgba(53, 151, 255, 0.44));
}

.rvt-webgl-icon {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rvt-shell-service__icon .rvt-webgl-icon {
    width: 25px;
    height: 25px;
}

.rvt-shell-service__copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.rvt-shell-service__copy strong {
    overflow: hidden;
    color: #edf7ff;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rvt-shell-service__copy small {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(187, 211, 237, 0.62);
    font-size: 0.71rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rvt-shell-service__arrow {
    color: rgba(111, 216, 255, 0.66);
    font-size: 0.94rem;
    transition: transform 180ms ease, color 180ms ease;
}

.rvt-shell-service:hover .rvt-shell-service__arrow,
.rvt-shell-service:focus-visible .rvt-shell-service__arrow {
    color: #8ce8ff;
    transform: translate(2px, -2px);
}

.rvt-shell-header__cta {
    position: relative;
    z-index: 2;
    min-height: 50px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    border: 1px solid rgba(110, 207, 255, 0.43);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
        linear-gradient(135deg, rgba(39, 112, 236, 0.8), rgba(14, 54, 126, 0.9));
    color: #f5fbff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    outline: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 10px 28px rgba(12, 70, 170, 0.2), 0 0 18px rgba(74, 176, 255, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.rvt-shell-header__cta::before {
    content: "";
    position: absolute;
    top: -80%;
    left: -60%;
    width: 34%;
    height: 250%;
    transform: rotate(22deg);
    background: linear-gradient(90deg, transparent, rgba(229, 248, 255, 0.3), transparent);
    transition: left 480ms ease;
}

.rvt-shell-header__cta:hover,
.rvt-shell-header__cta:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(137, 231, 255, 0.82);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%),
        linear-gradient(135deg, rgba(49, 137, 255, 0.9), rgba(15, 66, 151, 0.94));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.16), 0 14px 32px rgba(11, 75, 181, 0.3), 0 0 26px rgba(86, 195, 255, 0.16);
}

.rvt-shell-header__cta:hover::before,
.rvt-shell-header__cta:focus-visible::before {
    left: 132%;
}

.rvt-shell-header__cta-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #7be4ff;
    box-shadow: 0 0 0 4px rgba(92, 204, 255, 0.08), 0 0 13px rgba(92, 204, 255, 0.62);
}

.rvt-shell-header__cta svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rvt-shell-menu-toggle {
    position: relative;
    z-index: 5;
    width: 48px;
    height: 48px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(107, 197, 255, 0.23);
    border-radius: 14px;
    background: rgba(15, 48, 99, 0.4);
    color: #fff;
    cursor: pointer;
    outline: none;
}

.rvt-shell-menu-toggle span {
    position: absolute;
    width: 21px;
    height: 1.5px;
    border-radius: 999px;
    background: #e8f7ff;
    box-shadow: 0 0 8px rgba(103, 219, 255, 0.24);
    transition: transform 180ms ease, opacity 180ms ease;
}

.rvt-shell-menu-toggle span:nth-child(1) { transform: translateY(-7px); }
.rvt-shell-menu-toggle span:nth-child(2) { transform: translateY(0); }
.rvt-shell-menu-toggle span:nth-child(3) { transform: translateY(7px); }

.rvt-shell-menu-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.rvt-shell-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.rvt-shell-menu-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

/* =========================
   WEBGL FOOTER
   ========================= */

.rvt-shell-footer {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    padding: clamp(76px, 8vw, 126px) clamp(16px, 3vw, 42px) clamp(28px, 4vw, 52px);
    overflow: hidden;
    color: var(--rvt-shell-text);
    background:
        radial-gradient(ellipse at 50% -6%, rgba(31, 112, 218, 0.18), transparent 42%),
        linear-gradient(180deg, #01040b 0%, #020712 46%, #01030a 100%);
}

.rvt-shell-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1120px, 88vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(61, 132, 255, 0.42), rgba(103, 220, 255, 0.84), rgba(61, 132, 255, 0.42), transparent);
    box-shadow: 0 0 26px rgba(64, 153, 255, 0.26);
}

.rvt-shell-footer__aurora {
    position: absolute;
    top: -150px;
    left: 50%;
    width: min(920px, 90vw);
    height: 340px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(57, 127, 255, 0.15), rgba(89, 218, 255, 0.045) 44%, transparent 72%);
    filter: blur(26px);
    pointer-events: none;
}

.rvt-shell-footer__panel {
    position: relative;
    width: min(1380px, 100%);
    margin: 0 auto;
    padding: clamp(24px, 3vw, 44px);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(104, 190, 255, 0.17);
    border-radius: clamp(24px, 3vw, 36px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 20%),
        radial-gradient(circle at 8% 0%, rgba(45, 132, 245, 0.1), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(91, 218, 255, 0.055), transparent 25%),
        rgba(2, 8, 20, 0.76);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.055),
        inset 0 0 0 1px rgba(114, 208, 255, 0.025),
        0 40px 90px rgba(0, 0, 0, 0.34),
        0 0 56px rgba(43, 132, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.rvt-shell-footer__panel::before {
    content: "";
    position: absolute;
    inset: 9px;
    z-index: -1;
    border: 1px solid rgba(111, 202, 255, 0.055);
    border-radius: calc(clamp(24px, 3vw, 36px) - 8px);
    pointer-events: none;
}

.rvt-shell-footer__beam,
.rvt-shell-footer__frame {
    position: absolute;
    pointer-events: none;
}

.rvt-shell-footer__beam {
    top: -1px;
    left: 50%;
    width: min(380px, 38vw);
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #68deff, transparent);
    box-shadow: 0 0 24px rgba(80, 186, 255, 0.48);
}

.rvt-shell-footer__frame {
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(107, 214, 255, 0.34), transparent 16%) top left / 140px 1px no-repeat,
        linear-gradient(180deg, rgba(107, 214, 255, 0.34), transparent 16%) top left / 1px 140px no-repeat,
        linear-gradient(270deg, rgba(107, 214, 255, 0.24), transparent 16%) bottom right / 140px 1px no-repeat,
        linear-gradient(0deg, rgba(107, 214, 255, 0.24), transparent 16%) bottom right / 1px 140px no-repeat;
}

.rvt-shell-footer__top {
    position: relative;
    z-index: 2;
    padding-bottom: clamp(20px, 2.4vw, 30px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(105, 190, 255, 0.1);
}

.rvt-shell-footer__brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    outline: none;
}

.rvt-shell-footer__mark {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: grid;
    place-items: center;
}

.rvt-shell-footer__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.32));
}

.rvt-shell-footer__prism {
    width: 30px;
    height: 30px;
    transform: rotate(45deg);
    border: 1px solid rgba(190, 241, 255, 0.82);
    background: linear-gradient(135deg, #397dff, #67dcff);
    box-shadow: 0 0 22px rgba(77, 181, 255, 0.48);
}

.rvt-shell-footer__brand-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.rvt-shell-footer__brand-copy strong {
    color: #f6fbff;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1rem, 0.8rem + 0.55vw, 1.42rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.rvt-shell-footer__brand-copy strong span {
    margin-left: 0.35em;
    color: rgba(202, 228, 250, 0.74);
}

.rvt-shell-footer__brand-copy small {
    color: rgba(132, 185, 231, 0.62);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.rvt-shell-footer__status {
    min-height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(101, 201, 255, 0.17);
    border-radius: 999px;
    background: rgba(7, 29, 62, 0.38);
    color: rgba(204, 228, 248, 0.74);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rvt-shell-footer__status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #65e2ff;
    box-shadow: 0 0 0 4px rgba(83, 205, 255, 0.075), 0 0 13px rgba(83, 205, 255, 0.58);
}

.rvt-shell-footer__content {
    position: relative;
    z-index: 2;
    padding: clamp(34px, 4vw, 60px) 0;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(170px, 0.62fr) minmax(190px, 0.7fr);
    gap: clamp(32px, 5vw, 76px);
}

.rvt-shell-footer__intro {
    min-width: 0;
}

.rvt-shell-footer__eyebrow,
.rvt-shell-footer__nav-title {
    color: #67dcff;
    font-family: "Orbitron", sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.rvt-shell-footer__intro h2 {
    max-width: 820px;
    margin: 15px 0 0;
    color: #f4f9ff;
    font-size: clamp(1.8rem, 1.25rem + 1.65vw, 3.25rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.rvt-shell-footer__intro p {
    max-width: 710px;
    margin: 18px 0 0;
    color: rgba(197, 219, 242, 0.72);
    font-size: clamp(0.98rem, 0.9rem + 0.18vw, 1.12rem);
    line-height: 1.65;
}

.rvt-shell-footer__actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.rvt-shell-footer__button {
    position: relative;
    min-height: 50px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(104, 198, 255, 0.25);
    border-radius: 14px;
    color: #f5fbff;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    outline: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.rvt-shell-footer__button:hover,
.rvt-shell-footer__button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(126, 226, 255, 0.7);
}

.rvt-shell-footer__button--primary {
    background: linear-gradient(135deg, rgba(40, 119, 241, 0.82), rgba(12, 51, 119, 0.9));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.11), 0 13px 30px rgba(17, 77, 177, 0.2);
}

.rvt-shell-footer__button--primary:hover,
.rvt-shell-footer__button--primary:focus-visible {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), 0 16px 35px rgba(17, 87, 199, 0.3), 0 0 22px rgba(83, 186, 255, 0.11);
}

.rvt-shell-footer__button--secondary {
    background: rgba(5, 19, 43, 0.62);
    color: rgba(217, 235, 252, 0.82);
}

.rvt-shell-footer__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rvt-shell-footer__nav {
    min-width: 0;
    padding-top: 4px;
}

.rvt-shell-footer__nav ul {
    margin-top: 17px;
    display: grid;
    gap: 5px;
}

.rvt-shell-footer__nav a {
    min-height: 38px;
    padding: 7px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(104, 185, 244, 0.075);
    color: rgba(194, 217, 240, 0.72);
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    transition: color 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.rvt-shell-footer__nav a i {
    color: rgba(104, 210, 255, 0.46);
    font-style: normal;
    transition: transform 170ms ease, color 170ms ease;
}

.rvt-shell-footer__nav a:hover,
.rvt-shell-footer__nav a:focus-visible {
    color: #edf8ff;
    border-color: rgba(104, 211, 255, 0.26);
    transform: translateX(3px);
}

.rvt-shell-footer__nav a:hover i,
.rvt-shell-footer__nav a:focus-visible i {
    color: #78e0ff;
    transform: translate(2px, -2px);
}

.rvt-shell-footer__bottom {
    position: relative;
    z-index: 2;
    min-height: 54px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(105, 190, 255, 0.1);
    color: rgba(154, 188, 220, 0.6);
    font-size: 0.76rem;
    letter-spacing: 0.035em;
}

.rvt-shell-footer__bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 17px;
}

.rvt-shell-footer__bottom-links a {
    color: rgba(181, 210, 237, 0.68);
    outline: none;
    transition: color 170ms ease;
}

.rvt-shell-footer__bottom-links a:hover,
.rvt-shell-footer__bottom-links a:focus-visible {
    color: #70ddff;
}

/* Isti višeslojni 3D ram kao aktivna kontakt-forma, samo na desktopu sa mišem. */
@media (min-width: 1025px) and (pointer: fine) {
    .rvt-shell-services__heading,
    .rvt-shell-service {
        position: relative;
        overflow: hidden;
        isolation: isolate;
        border-top-width: 1px;
        border-left-width: 1px;
        border-right-width: 3px;
        border-bottom-width: 3px;
        outline: 1px solid rgba(162, 220, 255, 0.3);
        outline-offset: -6px;
    }

    .rvt-shell-services__heading::before,
    .rvt-shell-service::before,
    .rvt-shell-footer__panel::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background:
            linear-gradient(90deg, rgba(222, 246, 255, 0.34), transparent 74%) top left / 68% 3px no-repeat,
            linear-gradient(180deg, rgba(174, 226, 255, 0.27), transparent 74%) top left / 3px 68% no-repeat,
            linear-gradient(270deg, rgba(0, 5, 18, 0.88), transparent 74%) bottom right / 68% 3px no-repeat,
            linear-gradient(0deg, rgba(0, 5, 18, 0.84), transparent 74%) bottom right / 3px 68% no-repeat;
        box-shadow:
            inset 3px 3px 0 rgba(222, 244, 255, 0.23),
            inset -3px -3px 0 rgba(0, 7, 22, 0.84),
            inset 0 0 0 8px rgba(92, 177, 244, 0.1);
        pointer-events: none;
    }

    .rvt-shell-services__heading::before,
    .rvt-shell-service::before {
        z-index: 2;
    }

    .rvt-shell-services__heading > *,
    .rvt-shell-service > * {
        position: relative;
        z-index: 3;
    }

    .rvt-shell-footer__panel {
        --rvt-footer-rx: 0deg;
        --rvt-footer-ry: 0deg;
        --rvt-footer-shift-x: 0px;
        --rvt-footer-shift-y: 0px;
        border-top-width: 1px;
        border-left-width: 1px;
        border-right-width: 4px;
        border-bottom-width: 4px;
        outline: 1px solid rgba(162, 220, 255, 0.36);
        outline-offset: -8px;
        transform:
            perspective(2400px)
            rotateX(var(--rvt-footer-rx))
            rotateY(var(--rvt-footer-ry))
            translate3d(var(--rvt-footer-shift-x), var(--rvt-footer-shift-y), 0);
        transform-style: preserve-3d;
        will-change: transform;
        transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .rvt-shell-footer__panel::after {
        z-index: 3;
    }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1220px) {
    .rvt-shell-header__bar {
        grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
        gap: 8px;
    }

    .rvt-shell-brand__mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .rvt-shell-brand__copy small {
        display: none;
    }

    .rvt-shell-menu__link {
        padding-inline: 10px;
        letter-spacing: 0.075em;
    }

    .rvt-shell-header__cta {
        padding-inline: 14px;
    }
}

@media (max-width: 1024px) {
    .rvt-shell-header {
        padding: 10px 12px 0;
    }

    .rvt-shell-header__bar {
        min-height: 64px;
        padding: 7px 8px 7px 9px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        border-radius: 18px;
    }

    .rvt-shell-header__bar::before {
        inset: 4px;
        border-radius: 14px;
    }

    .rvt-shell-header__beam {
        width: min(220px, 48vw);
    }

    .rvt-shell-brand {
        min-width: 0;
    }

    .rvt-shell-brand__mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .rvt-shell-brand__copy strong {
        font-size: 0.95rem;
    }

    .rvt-shell-brand__copy small {
        display: block;
        font-size: 0.56rem;
    }

    .rvt-shell-menu-toggle {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
    }

    .rvt-shell-header__cta {
        display: none;
    }

    .rvt-shell-menu {
        position: fixed;
        top: 84px;
        left: 12px;
        right: 12px;
        z-index: 1199;
        max-height: calc(100svh - 98px);
        padding: 12px;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 1px solid rgba(105, 198, 255, 0.22);
        border-radius: 20px;
        background:
            radial-gradient(circle at 50% 0%, rgba(45, 138, 255, 0.12), transparent 34%),
            rgba(2, 8, 20, 0.98);
        box-shadow: 0 30px 75px rgba(0, 0, 0, 0.66), 0 0 34px rgba(49, 145, 255, 0.08);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(0.985);
        transition: opacity 170ms ease, visibility 170ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .rvt-shell-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .rvt-shell-menu__list {
        display: grid;
        gap: 5px;
    }

    .rvt-shell-menu__item--mobile-demo {
        display: block;
    }

    .rvt-shell-menu__link {
        width: 100%;
        min-height: 48px;
        padding: 0 14px;
        justify-content: space-between;
        border-color: rgba(105, 190, 255, 0.09);
        border-radius: 13px;
        background: rgba(13, 39, 80, 0.22);
        font-size: 0.79rem;
    }

    .rvt-shell-menu__link::before {
        inset: auto 14px 5px;
    }

    .rvt-shell-services-trigger {
        width: 100%;
        gap: 5px;
    }

    .rvt-shell-menu__services-link {
        width: auto;
        flex: 1 1 auto;
        justify-content: flex-start;
        border-radius: 13px;
    }

    .rvt-shell-menu__services-toggle {
        width: 48px;
        min-height: 48px;
        flex: 0 0 48px;
        border-color: rgba(105, 190, 255, 0.09);
        border-radius: 13px;
        background: rgba(13, 39, 80, 0.22);
    }

    .rvt-shell-menu__item--services::after {
        display: none;
    }

    .rvt-shell-services {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-height: 0;
        margin-top: 0;
        padding: 0;
        display: block;
        overflow: hidden;
        border: 0;
        border-radius: 15px;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transform: none;
        transition: max-height 260ms ease, margin-top 200ms ease, padding 200ms ease;
    }

    .rvt-shell-services::before,
    .rvt-shell-services__heading {
        display: none;
    }

    .rvt-shell-menu__item--services.is-open .rvt-shell-services {
        /*
           Desktop otvaranje koristi translateX(-50%) da centrirani panel
           izađe ispod stavke "Usluge". U hamburger meniju panel je već
           element pune širine, pa bi taj desktop transform gurnuo kartice
           ulevo i odsekao njihov levi deo.
        */
        left: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        max-height: 620px;
        margin-top: 6px;
        padding: 7px;
        pointer-events: auto;
        border: 1px solid rgba(102, 189, 255, 0.1);
        background: rgba(2, 11, 27, 0.7);
        transform: none;
    }

    .rvt-shell-services__grid {
        min-width: 0;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .rvt-shell-service {
        width: 100%;
        max-width: 100%;
        min-height: 72px;
        padding: 10px;
        grid-template-columns: 38px minmax(0, 1fr) auto;
        border-radius: 13px;
    }

    .rvt-shell-service__icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .rvt-shell-footer__content {
        grid-template-columns: minmax(0, 1fr) repeat(2, minmax(170px, 0.52fr));
        gap: 34px;
    }
}

@media (max-width: 760px) {
    .rvt-shell-brand__copy small {
        display: none;
    }

    .rvt-shell-footer {
        padding: 64px 14px 24px;
    }

    .rvt-shell-footer__panel {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .rvt-shell-footer__top {
        align-items: flex-start;
    }

    .rvt-shell-footer__mark {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .rvt-shell-footer__status {
        display: none;
    }

    .rvt-shell-footer__content {
        padding: 34px 0;
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .rvt-shell-footer__intro h2 {
        font-size: clamp(1.72rem, 8vw, 2.5rem);
    }

    .rvt-shell-footer__nav {
        padding-top: 0;
    }

    .rvt-shell-footer__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rvt-shell-footer__button {
        width: 100%;
    }

    .rvt-shell-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .rvt-shell-footer__bottom-links {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .rvt-shell-header {
        padding-inline: 8px;
    }

    .rvt-shell-header__bar {
        padding-left: 7px;
    }

    .rvt-shell-brand {
        gap: 7px;
    }

    .rvt-shell-brand__mark {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .rvt-shell-brand__copy strong {
        max-width: 150px;
        font-size: 0.82rem;
        letter-spacing: 0.12em;
    }

    .rvt-shell-menu-toggle {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .rvt-shell-menu {
        top: 76px;
        left: 8px;
        right: 8px;
        max-height: calc(100svh - 88px);
    }

    .rvt-shell-footer__brand-copy strong {
        font-size: 0.95rem;
        letter-spacing: 0.12em;
    }

    .rvt-shell-footer__brand-copy small {
        font-size: 0.58rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rvt-shell-header *,
    .rvt-shell-footer * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
