/* ==========================================================================
   FILA ENERGY — design system
   Boje: navy iz sajta/logotipa, sunce (zlatno → narančasto) iz logotipa,
   cyan/plava iz panela i valova na logotipu.
   ========================================================================== */

:root {
    /* Brand */
    --navy-950: #020816;
    --navy-900: #051127;
    --navy-850: #081a38;
    --navy-800: #0A2E5C;
    --navy-700: #1E4D8B;
    --sun-300: #FFD68A;
    --sun-400: #FFBE4D;
    --sun-500: #F7A531;
    --sun-600: #EE7B22;
    --gold: #C5A572;
    --gold-light: #E8D5B7;
    --cyan-400: #4FD1E6;
    --sky-500: #3B8FE0;

    /* Text & surfaces */
    --text: #EEF3FB;
    --text-muted: rgba(226, 235, 250, 0.7);
    --text-subtle: rgba(226, 235, 250, 0.46);
    --ink: #1a1105;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);

    /* Gradients */
    --grad-sun: linear-gradient(135deg, #FFD68A 0%, #F7A531 48%, #EE7B22 100%);
    --grad-energy: linear-gradient(135deg, #4FD1E6 0%, #3B8FE0 55%, #1E4D8B 100%);
    --grad-brand: linear-gradient(90deg, #FFD68A, #F7A531 30%, #4FD1E6 70%, #3B8FE0);
    --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));

    /* Type */
    --font-display: 'Sora', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Shape & motion */
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --container: 1240px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --header-h: 88px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--navy-950);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Fini "film grain" preko cijele stranice */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

ul {
    list-style: none;
}

::selection {
    background: var(--sun-500);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--sun-400);
    outline-offset: 3px;
    border-radius: 8px;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 300;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: var(--sun-500);
    color: var(--ink);
    font-weight: 600;
    transform: translateY(-200%);
    transition: transform 0.3s var(--ease-out);
}

.skip-link:focus {
    transform: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: clamp(5rem, 10vw, 8.5rem);
}

.section-tight {
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.section-alt {
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(30, 77, 139, 0.28), transparent 70%),
        var(--navy-900);
    border-block: 1px solid var(--line);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #fff;
}

.display {
    font-size: clamp(2.6rem, 5.9vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.h2 {
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    letter-spacing: -0.035em;
}

.h3 {
    font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.lead {
    font-size: clamp(1.05rem, 1.35vw, 1.22rem);
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 62ch;
}

.muted {
    color: var(--text-muted);
}

.text-grad {
    background: var(--grad-sun);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-grad-energy {
    background: linear-gradient(135deg, #8BE6F3, var(--cyan-400) 40%, var(--sky-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.42rem 0.95rem 0.42rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(247, 165, 49, 0.28);
    background: rgba(247, 165, 49, 0.08);
    color: var(--sun-300);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.4;
}

.eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--sun-500);
    box-shadow: 0 0 0 4px rgba(247, 165, 49, 0.18), 0 0 14px var(--sun-500);
    animation: pulse-dot 2.4s ease-in-out infinite;
}

.eyebrow.cool {
    border-color: rgba(79, 209, 230, 0.3);
    background: rgba(79, 209, 230, 0.08);
    color: #9BE9F5;
}

.eyebrow.cool::before {
    background: var(--cyan-400);
    box-shadow: 0 0 0 4px rgba(79, 209, 230, 0.18), 0 0 14px var(--cyan-400);
}

.section-head {
    max-width: 780px;
    margin: 0 auto clamp(3rem, 6vw, 4.5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.section-head .lead {
    margin-inline: auto;
}

.section-head.left {
    margin-inline: 0;
    text-align: left;
    align-items: flex-start;
}

.section-head.left .lead {
    margin-inline: 0;
}

.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head-row .section-head {
    margin: 0;
}

.center {
    text-align: center;
}

.mt-cta {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.95rem 1.55rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.97rem;
    line-height: 1.2;
    white-space: nowrap;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
        background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn i {
    font-size: 0.9em;
    transition: transform 0.45s var(--ease-out);
}

.btn:hover i.fa-arrow-right,
.btn:hover i.fa-arrow-up-right {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--grad-sun);
    color: var(--ink);
    box-shadow: 0 12px 32px -10px rgba(247, 165, 49, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.8s var(--ease-out);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -12px rgba(247, 165, 49, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover::after {
    transform: translateX(120%);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-strong);
    color: #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.1rem 1.95rem;
    font-size: 1.03rem;
}

.btn-sm {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
}

.btn[disabled] {
    opacity: 0.7;
    pointer-events: none;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--sun-300);
    transition: gap 0.3s var(--ease-out), color 0.3s;
}

.link-arrow:hover {
    gap: 0.8rem;
    color: #fff;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.progress-bar {
    position: fixed;
    inset: 0 0 auto;
    height: 2px;
    z-index: 120;
    transform-origin: left;
    transform: scaleX(var(--progress, 0));
    background: var(--grad-brand);
    box-shadow: 0 0 12px rgba(247, 165, 49, 0.6);
    pointer-events: none;
}

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 110;
    padding-block: 0.9rem;
    transition: padding 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.header.is-hidden {
    transform: translateY(-120%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.5rem 0.5rem 0.5rem 0.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out),
        box-shadow 0.5s var(--ease-out);
}

.header.is-scrolled {
    padding-block: 0.6rem;
}

.header.is-scrolled .header-inner {
    background: rgba(5, 17, 39, 0.72);
    border-color: var(--line);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.7);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 8px 22px rgba(0, 0, 0, 0.4);
    transition: transform 0.6s var(--ease-out);
}

.brand:hover img {
    transform: rotate(-12deg) scale(1.04);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    color: #fff;
}

.brand-name span {
    background: var(--grad-sun);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-sub {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-top: 0.2rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.nav a {
    position: relative;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav a[aria-current='page'] {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav a[aria-current='page']::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--sun-500);
    box-shadow: 0 0 8px var(--sun-500);
    transform: translateX(-50%);
}

.menu-toggle {
    display: none;
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-strong);
}

.menu-toggle span {
    position: absolute;
    left: 14px;
    right: 14px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.45s var(--ease-out), opacity 0.3s ease, top 0.45s var(--ease-out);
}

.menu-toggle span:nth-child(1) {
    top: 18px;
}

.menu-toggle span:nth-child(2) {
    top: 23px;
}

.menu-toggle span:nth-child(3) {
    top: 28px;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
    top: 23px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 105;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
    background:
        radial-gradient(ellipse 80% 50% at 100% 0%, rgba(247, 165, 49, 0.18), transparent 60%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(79, 209, 230, 0.14), transparent 60%),
        rgba(2, 8, 22, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease-out), visibility 0.45s;
    overflow-y: auto;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu nav a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 7vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
    transition-delay: calc(var(--i, 0) * 0.05s);
}

.mobile-menu nav a small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-subtle);
    letter-spacing: 0.1em;
}

.mobile-menu nav a[aria-current='page'] {
    color: var(--sun-400);
}

.mobile-menu.is-open nav a {
    opacity: 1;
    transform: none;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mobile-menu-footer a:hover {
    color: #fff;
}

.mobile-menu-footer .btn {
    margin-top: 1rem;
    align-self: flex-start;
}

@media (max-width: 1199px) {
    .nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 8.5rem;
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: -4% 0 -4%;
    z-index: -4;
    will-change: transform;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    animation: hero-zoom 22s var(--ease-out) both;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(2, 8, 22, 0.96) 0%, rgba(2, 8, 22, 0.84) 34%, rgba(2, 8, 22, 0.4) 68%, rgba(2, 8, 22, 0.55) 100%),
        linear-gradient(180deg, rgba(2, 8, 22, 0.6) 0%, transparent 28%, transparent 62%, var(--navy-950) 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 25% 45%, #000 15%, transparent 72%);
    mask-image: radial-gradient(ellipse 70% 65% at 25% 45%, #000 15%, transparent 72%);
}

.orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(50px);
}

.orb-sun {
    width: clamp(320px, 42vw, 620px);
    aspect-ratio: 1;
    top: -14%;
    right: -8%;
    background: radial-gradient(circle, rgba(247, 165, 49, 0.55), rgba(238, 123, 34, 0.16) 45%, transparent 70%);
    animation: drift 16s ease-in-out infinite;
}

.orb-cyan {
    width: clamp(360px, 48vw, 700px);
    aspect-ratio: 1;
    bottom: -38%;
    left: -14%;
    background: radial-gradient(circle, rgba(79, 209, 230, 0.26), rgba(59, 143, 224, 0.1) 45%, transparent 68%);
    animation: drift 20s ease-in-out infinite reverse;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
}

.hero-copy .lead {
    color: rgba(226, 235, 250, 0.78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.4rem;
}

.hero-brands {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.1rem 1.75rem;
    margin-top: 1.2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    width: 100%;
    max-width: 560px;
}

.hero-brands span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.hero-brands img {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.72;
    transition: opacity 0.3s;
}

.hero-brands img:hover {
    opacity: 1;
}

/* Hero intro animacija (bez JS-a elementi su normalno vidljivi) */
.hero-copy > * {
    animation: rise 1s var(--ease-out) both;
}

.hero-copy > :nth-child(1) { animation-delay: 0.1s; }
.hero-copy > :nth-child(2) { animation-delay: 0.2s; }
.hero-copy > :nth-child(3) { animation-delay: 0.55s; }
.hero-copy > :nth-child(4) { animation-delay: 0.7s; }
.hero-copy > :nth-child(5) { animation-delay: 0.85s; }

.js [data-split]:not(.is-split) {
    animation-delay: 1.2s !important;
}

.js [data-split].is-split {
    animation: none;
}

.w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.w-i {
    display: inline-block;
    transform: translateY(110%);
    animation: word-up 1.1s var(--ease-out) forwards;
    animation-delay: calc(0.2s + var(--wi, 0) * 0.055s);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.scroll-cue::after {
    content: '';
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, var(--sun-400), transparent);
    animation: scroll-line 2.2s var(--ease) infinite;
    transform-origin: top;
}

/* ---------- Energy flow kartica ---------- */

.hero-visual {
    position: relative;
    animation: rise 1.2s var(--ease-out) 0.5s both;
}

.flow-card {
    position: relative;
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.13);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.flow-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding: 0 0.2rem;
}

.flow-head strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.flow-head small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-subtle);
}

.live-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9BE9F5;
    background: rgba(79, 209, 230, 0.1);
    border: 1px solid rgba(79, 209, 230, 0.25);
}

.live-chip::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan-400);
    box-shadow: 0 0 10px var(--cyan-400);
    animation: pulse-dot 1.6s ease-in-out infinite;
}

.flow-list {
    position: relative;
    display: grid;
    gap: 12px;
}

.flow-list::before,
.flow-list::after {
    content: '';
    position: absolute;
    left: calc(0.8rem + 21px);
    width: 2px;
    border-radius: 2px;
    transform: translateX(-50%);
}

.flow-list::before {
    top: 28px;
    bottom: 28px;
    background: linear-gradient(180deg, var(--sun-400), var(--sun-600) 35%, var(--cyan-400) 70%, var(--sky-500));
    opacity: 0.45;
}

.flow-list::after {
    height: 70px;
    background: linear-gradient(180deg, transparent, #fff 50%, transparent);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    animation: flow-pulse 3s var(--ease) infinite;
}

.flow-node {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 0.7rem 0.8rem;
    border-radius: 16px;
    background: rgba(6, 18, 42, 0.82);
    border: 1px solid var(--line);
    transition: border-color 0.4s, transform 0.5s var(--ease-out), background-color 0.4s;
}

.flow-node:hover {
    border-color: rgba(247, 165, 49, 0.35);
    transform: translateX(4px);
    background: rgba(10, 28, 60, 0.9);
}

.flow-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
}

.flow-icon.sun {
    background: var(--grad-sun);
    color: var(--ink);
    box-shadow: 0 0 22px rgba(247, 165, 49, 0.55);
}

.flow-icon.panel {
    background: linear-gradient(135deg, #2a6fd6, #1E4D8B);
    color: #cfe6ff;
}

.flow-icon.inverter {
    background: linear-gradient(135deg, #16335f, #0A2E5C);
    color: var(--cyan-400);
    border: 1px solid rgba(79, 209, 230, 0.3);
}

.flow-icon.battery {
    background: var(--grad-energy);
    color: #fff;
    box-shadow: 0 0 22px rgba(79, 209, 230, 0.35);
}

.flow-icon.home {
    background: rgba(255, 255, 255, 0.08);
    color: var(--sun-300);
    border: 1px solid var(--line-strong);
}

.flow-text {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.flow-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
}

.flow-text span {
    font-size: 0.78rem;
    color: var(--text-subtle);
}

.flow-value {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sun-300);
    white-space: nowrap;
}

.flow-value.cool {
    color: #9BE9F5;
}

.flow-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.flow-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
    background: rgba(6, 18, 42, 0.82);
    border: 1px solid var(--line);
    font-size: 0.78rem;
    line-height: 1.3;
    color: var(--text-muted);
    transition: border-color 0.4s, transform 0.5s var(--ease-out);
}

.flow-stat:hover {
    border-color: rgba(247, 165, 49, 0.35);
    transform: translateY(-2px);
}

.flow-stat.cool:hover {
    border-color: rgba(79, 209, 230, 0.35);
}

.flow-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
}

.flow-stat i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    color: var(--ink);
    background: var(--grad-sun);
    box-shadow: 0 0 18px rgba(247, 165, 49, 0.35);
}

.flow-stat.cool i {
    color: #fff;
    background: var(--grad-energy);
    box-shadow: 0 0 18px rgba(79, 209, 230, 0.3);
}

/* ==========================================================================
   Page hero (podstranice)
   ========================================================================== */

.page-hero {
    position: relative;
    min-height: min(80vh, 760px);
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(4rem, 8vw, 6rem);
    overflow: hidden;
    isolation: isolate;
}

.page-hero .hero-overlay {
    background:
        linear-gradient(90deg, rgba(2, 8, 22, 0.94) 0%, rgba(2, 8, 22, 0.72) 45%, rgba(2, 8, 22, 0.35) 100%),
        linear-gradient(180deg, rgba(2, 8, 22, 0.55) 0%, transparent 35%, rgba(2, 8, 22, 0.4) 70%, var(--navy-950) 100%);
}

.page-hero .hero-grid {
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 70%, #000 10%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 80% at 20% 70%, #000 10%, transparent 70%);
}

.page-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
}

.page-hero-inner > * {
    animation: rise 1s var(--ease-out) both;
}

.page-hero-inner > :nth-child(1) { animation-delay: 0.05s; }
.page-hero-inner > :nth-child(2) { animation-delay: 0.15s; }
.page-hero-inner > :nth-child(3) { animation-delay: 0.25s; }
.page-hero-inner > :nth-child(4) { animation-delay: 0.4s; }
.page-hero-inner > :nth-child(5) { animation-delay: 0.55s; }

.page-hero h1 {
    max-width: 19ch;
}

.page-hero.has-ribbon {
    padding-bottom: calc(clamp(4rem, 8vw, 6rem) + 4rem);
}

.hero-stats {
    width: 100%;
    margin-top: 1.5rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.breadcrumbs a {
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs i {
    font-size: 0.6rem;
    opacity: 0.6;
}

.breadcrumbs span {
    color: var(--text-muted);
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats-ribbon {
    position: relative;
    z-index: 3;
    margin-top: -4.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(12, 30, 64, 0.82), rgba(6, 18, 42, 0.82));
    border: 1px solid var(--line-strong);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.stat {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.25rem, 2.5vw, 2rem);
    transition: background-color 0.4s;
}

.stat + .stat {
    border-left: 1px solid var(--line);
}

.stat:hover {
    background: rgba(255, 255, 255, 0.03);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 1.2rem;
    color: var(--sun-400);
    background: rgba(247, 165, 49, 0.1);
    border: 1px solid rgba(247, 165, 49, 0.22);
    font-size: 1.05rem;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    background: linear-gradient(180deg, #fff 30%, var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stats-grid.glass-cards {
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    gap: 1rem;
    overflow: visible;
}

.stats-grid.glass-cards .stat {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.stats-grid.glass-cards .stat:hover {
    border-color: rgba(247, 165, 49, 0.4);
}

.stats-grid.glass-cards .stat-num {
    background: var(--grad-sun);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2rem, 4vw, 3rem);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 42s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-right: clamp(1.5rem, 3vw, 3rem);
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
}

.marquee-item.fill {
    color: #fff;
    -webkit-text-stroke: 0;
}

.marquee-item.grad {
    -webkit-text-stroke: 0;
    background: var(--grad-sun);
    -webkit-background-clip: text;
    background-clip: text;
}

.marquee-star {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: var(--sun-500);
    text-shadow: 0 0 20px rgba(247, 165, 49, 0.7);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--grad-card);
    border: 1px solid var(--line);
    padding: clamp(1.6rem, 3vw, 2.4rem);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.55s var(--ease-out), border-color 0.4s ease, box-shadow 0.55s var(--ease-out),
        background-color 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(247, 165, 49, 0.28);
    box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(247, 165, 49, 0.06);
}

/* Spotlight koji prati miš (JS postavlja --mx / --my) */
.spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), rgba(247, 165, 49, 0.13), transparent 45%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.spotlight::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 206, 128, 0.75), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.spotlight:hover::before,
.spotlight:hover::after {
    opacity: 1;
}

.icon-tile {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.35rem;
    color: var(--ink);
    background: var(--grad-sun);
    box-shadow: 0 12px 26px -10px rgba(247, 165, 49, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.6s var(--ease-out);
}

.icon-tile.cool {
    background: var(--grad-energy);
    color: #fff;
    box-shadow: 0 12px 26px -10px rgba(59, 143, 224, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.icon-tile.glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-strong);
    color: var(--sun-400);
    box-shadow: none;
}

.card:hover .icon-tile {
    transform: rotate(-8deg) scale(1.06);
}

.check-list {
    display: flex;
    flex-direction: column;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.72rem 0;
    border-top: 1px solid var(--line);
    color: rgba(238, 243, 251, 0.86);
    font-size: 0.95rem;
    line-height: 1.55;
    transition: color 0.3s, padding-left 0.4s var(--ease-out);
}

.check-list li:first-child {
    border-top: 0;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 0.08rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.62rem;
    color: var(--sun-400);
    background: rgba(247, 165, 49, 0.12);
    border: 1px solid rgba(247, 165, 49, 0.28);
}

.check-list li:hover {
    color: #fff;
    padding-left: 0.3rem;
}

/* ---------- Bento usluge (početna) ---------- */

.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.bento > :nth-child(1) { grid-column: span 7; }
.bento > :nth-child(2) { grid-column: span 5; }
.bento > :nth-child(3) { grid-column: span 5; }
.bento > :nth-child(4) { grid-column: span 7; }

.service-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 300px;
}

.service-card .icon-tile {
    margin-bottom: auto;
}

.service-card h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin-top: 2rem;
}

.service-card p {
    color: var(--text-muted);
    max-width: 48ch;
}

.service-num {
    position: absolute;
    top: 1rem;
    right: 1.6rem;
    font-family: var(--font-display);
    font-size: clamp(4rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13);
    transition: -webkit-text-stroke-color 0.5s, transform 0.6s var(--ease-out);
    pointer-events: none;
}

.card:hover .service-num {
    -webkit-text-stroke-color: rgba(247, 165, 49, 0.55);
    transform: translateY(-4px);
}

.service-card .watermark {
    position: absolute;
    right: -1.5rem;
    bottom: -2rem;
    z-index: -1;
    font-size: 11rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.025);
    transition: color 0.6s, transform 0.8s var(--ease-out);
}

.card:hover .watermark {
    color: rgba(247, 165, 49, 0.06);
    transform: rotate(-8deg) scale(1.05);
}

/* ---------- Kartice usluga (podstranica) ---------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-full {
    display: flex;
    flex-direction: column;
}

.service-full .icon-tile {
    margin-bottom: 1.75rem;
}

.service-full h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.service-full > p {
    color: var(--text-muted);
    margin-bottom: 1.4rem;
    font-size: 0.97rem;
}

.service-full .check-list {
    margin-top: auto;
    padding-top: 0.4rem;
    border-top: 1px solid var(--line);
}

.service-full .check-list li:first-child {
    border-top: 0;
}

/* ---------- Proizvodi ---------- */

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.product {
    --angle: 0deg;
    position: relative;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 40%, rgba(247, 165, 49, 0.3));
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.product:hover {
    background: conic-gradient(from var(--angle), rgba(255, 255, 255, 0.08), var(--sun-400), var(--sun-600), var(--cyan-400), rgba(255, 255, 255, 0.08) 70%);
    animation: spin-angle 4s linear infinite;
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -40px rgba(247, 165, 49, 0.35);
}

.product-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: clamp(1.75rem, 3vw, 2.4rem);
    border-radius: calc(var(--radius-lg) - 1px);
    background:
        radial-gradient(ellipse 80% 50% at 100% 0%, var(--glow, rgba(247, 165, 49, 0.16)), transparent 60%),
        linear-gradient(180deg, #0c1f42, #06142d);
    overflow: hidden;
    isolation: isolate;
}

.product.cool {
    --glow: rgba(79, 209, 230, 0.16);
}

.product-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.product-cat {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sun-300);
}

.product.cool .product-cat {
    color: #9BE9F5;
}

.product h3 {
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    margin-top: 0.4rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line-strong);
}

.chip i {
    color: var(--sun-400);
    font-size: 0.75rem;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.product .check-list {
    margin-top: auto;
}

/* ---------- Ušteda / ROI ---------- */

.savings-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 4.5rem);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--line-strong);
    background:
        radial-gradient(ellipse 60% 70% at 100% 0%, rgba(247, 165, 49, 0.26), transparent 60%),
        radial-gradient(ellipse 60% 70% at 0% 100%, rgba(79, 209, 230, 0.16), transparent 60%),
        linear-gradient(135deg, #0d2754, #06142e);
    box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.9);
}

.savings-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
    mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
}

.savings-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.savings-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.big-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}

.big-stat {
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-strong);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 0.5s var(--ease-out), border-color 0.4s;
}

.big-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 165, 49, 0.4);
}

.big-stat .stat-num {
    font-size: clamp(2rem, 3.6vw, 3rem);
    background: var(--grad-sun);
    -webkit-background-clip: text;
    background-clip: text;
}

.big-stat .stat-label {
    font-size: 0.82rem;
}

.roi {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.roi-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.roi-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.roi-legend span::before {
    content: '';
    width: 22px;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--sky-500), var(--cyan-400));
}

.roi-legend span.sun::before {
    background: var(--grad-sun);
}

.roi-track {
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
}

.roi-fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sky-500) 0%, var(--cyan-400) 27%, var(--sun-300) 29%, var(--sun-500) 62%, var(--sun-600) 100%);
    box-shadow: 0 0 24px rgba(247, 165, 49, 0.35);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 2.2s var(--ease-out) 0.2s;
}

.no-js .roi-fill,
.roi.is-visible .roi-fill {
    transform: scaleX(1);
}

.no-js .roi-marker,
.roi.is-visible .roi-marker {
    opacity: 1;
}

.roi-marker {
    opacity: 0;
    transition: opacity 0.6s ease 1.2s;
    position: absolute;
    left: 28%;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--navy-800);
    box-shadow: 0 0 0 4px rgba(79, 209, 230, 0.35), 0 0 20px rgba(79, 209, 230, 0.8);
    transform: translate(-50%, -50%);
}

.roi-scale {
    position: relative;
    height: 3.4rem;
    margin-top: 0.8rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.roi-scale span {
    position: absolute;
    top: 0;
    line-height: 1.35;
}

.roi-scale strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: #fff;
}

.roi-scale .s0 {
    left: 0;
}

.roi-scale .s1 {
    left: 28%;
    transform: translateX(-50%);
    text-align: center;
}

.roi-scale .s2 {
    right: 0;
    text-align: right;
}

/* ---------- Projekti (istaknuti, početna) ---------- */

.projects-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(220px, 22vw, 290px);
    gap: 1.25rem;
}

.pcard {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--line);
    background: var(--navy-850);
}

.pcard:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.pcard:nth-child(2) {
    grid-column: span 2;
}

.pcard img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 1.4s var(--ease-out);
}

.pcard::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(2, 8, 22, 0.1) 20%, rgba(2, 8, 22, 0.35) 50%, rgba(2, 8, 22, 0.94) 100%);
    transition: opacity 0.5s;
}

.pcard:hover img {
    transform: scale(1.08);
}

.pcard-body {
    position: absolute;
    inset: auto 0 0;
    padding: clamp(1.25rem, 2.5vw, 1.9rem);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pcard h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.pcard:nth-child(1) h3 {
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}

.pcard-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pcard-meta i {
    color: var(--sun-400);
    margin-right: 0.35rem;
}

.tag {
    align-self: flex-start;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--grad-sun);
}

.tag.glass {
    color: #fff;
    background: rgba(2, 8, 22, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pcard-arrow {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: rotate(-45deg);
    transition: transform 0.5s var(--ease-out), background-color 0.4s, color 0.4s;
}

.pcard:hover .pcard-arrow {
    transform: rotate(0);
    background: var(--sun-500);
    color: var(--ink);
    border-color: transparent;
}

/* ---------- Partneri ---------- */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.partner {
    padding: 1rem 1rem 1.6rem;
    text-align: center;
}

.partner-plate {
    height: 150px;
    display: grid;
    place-items: center;
    padding: 1.5rem 2rem;
    border-radius: calc(var(--radius-lg) - 8px);
    background: linear-gradient(180deg, #fff, #eef3fb);
    box-shadow: inset 0 -1px 0 rgba(10, 46, 92, 0.08), 0 20px 40px -24px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.partner-plate img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s var(--ease-out);
}

.partner:hover .partner-plate img {
    transform: scale(1.07);
}

.partner h3 {
    font-size: 1.05rem;
    margin-top: 1.4rem;
}

.partner p {
    margin-top: 0.4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---------- Testimonials ---------- */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.quote-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.quote-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quote-mark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4.6rem;
    line-height: 0.7;
    height: 2rem;
    background: var(--grad-sun);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stars {
    color: var(--sun-400);
    letter-spacing: 0.15em;
    font-size: 0.95rem;
    text-shadow: 0 0 14px rgba(247, 165, 49, 0.5);
}

.quote-text {
    flex: 1;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(238, 243, 251, 0.86);
}

.author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    background: var(--grad-energy);
    box-shadow: 0 0 0 3px rgba(79, 209, 230, 0.15);
}

.author strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.author strong + span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-subtle);
}

/* ---------- Split / About ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}

.split-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
}

.split-copy p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.split-copy p strong {
    color: #fff;
    font-weight: 600;
}

.collage {
    position: relative;
    aspect-ratio: 1 / 1.02;
}

.collage img {
    position: absolute;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong);
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9);
}

.collage .c1 {
    top: 0;
    left: 0;
    width: 78%;
    height: 74%;
}

.collage .c2 {
    right: 0;
    bottom: 0;
    width: 56%;
    height: 52%;
    border: 6px solid var(--navy-950);
}

.collage-badge {
    position: absolute;
    left: -0.5rem;
    bottom: 9%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.25rem 1rem 1rem;
    border-radius: var(--radius);
    background: rgba(8, 22, 48, 0.8);
    border: 1px solid var(--line-strong);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9);
    animation: bob 7s ease-in-out infinite;
}

.collage-badge .stat-num {
    font-size: 2.2rem;
    background: var(--grad-sun);
    -webkit-background-clip: text;
    background-clip: text;
}

.collage-badge span:last-child {
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.collage-logo {
    position: absolute;
    top: -1.5rem;
    right: 6%;
    z-index: 2;
    width: clamp(84px, 10vw, 118px);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(2, 8, 22, 0.9), 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(247, 165, 49, 0.35);
    animation: bob 8s ease-in-out infinite reverse;
}

/* ---------- CTA panel ---------- */

.cta-panel {
    position: relative;
    border-radius: var(--radius-xl);
    padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, #0c2553, #07142e 70%);
    box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.9);
}

.cta-rays {
    position: absolute;
    left: 50%;
    bottom: -55%;
    z-index: -2;
    width: 180%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: repeating-conic-gradient(from 0deg, rgba(247, 165, 49, 0.1) 0deg 3deg, transparent 3deg 12deg);
    -webkit-mask-image: radial-gradient(circle, #000 5%, transparent 50%);
    mask-image: radial-gradient(circle, #000 5%, transparent 50%);
    animation: spin 80s linear infinite;
}

.cta-panel::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -38%;
    z-index: -1;
    width: min(760px, 120%);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 190, 77, 0.6), rgba(238, 123, 34, 0.25) 35%, transparent 65%);
    filter: blur(10px);
    animation: glow 6s ease-in-out infinite;
}

.cta-panel-inner {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

.cta-panel .lead {
    margin-inline: auto;
    color: rgba(226, 235, 250, 0.82);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 0.8rem;
}

/* ==========================================================================
   Usluge — proces (timeline)
   ========================================================================== */

.timeline {
    position: relative;
    max-width: 1040px;
    margin-inline: auto;
}

.timeline::before,
.timeline-progress {
    content: '';
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 50%;
    width: 2px;
    border-radius: 2px;
    transform: translateX(-50%);
}

.timeline::before {
    background: var(--line-strong);
}

.timeline-progress {
    background: linear-gradient(180deg, var(--sun-300), var(--sun-600) 50%, var(--cyan-400));
    box-shadow: 0 0 16px rgba(247, 165, 49, 0.6);
    transform: translateX(-50%) scaleY(var(--progress, 0));
    transform-origin: top;
}

.no-js .timeline-progress {
    --progress: 1;
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    align-items: center;
}

.step + .step {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.step-dot {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    background: var(--navy-900);
    border: 1px solid var(--line-strong);
    transition: background 0.6s var(--ease-out), color 0.4s, box-shadow 0.6s, border-color 0.4s, transform 0.6s var(--ease-out);
}

.step.is-active .step-dot,
.no-js .step-dot {
    color: var(--ink);
    background: var(--grad-sun);
    border-color: transparent;
    box-shadow: 0 0 0 8px rgba(247, 165, 49, 0.12), 0 0 36px rgba(247, 165, 49, 0.55);
    transform: scale(1.06);
}

.step-card {
    grid-column: 3;
    grid-row: 1;
}

.step:nth-child(even) .step-card {
    grid-column: 1;
    text-align: right;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.97rem;
}

.step-label {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sun-300);
}

/* ==========================================================================
   Projekti (podstranica)
   ========================================================================== */

.filters-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.filters {
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.filter-indicator {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    border-radius: 999px;
    background: var(--grad-sun);
    box-shadow: 0 10px 26px -8px rgba(247, 165, 49, 0.7);
    transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), height 0.55s var(--ease-out);
    pointer-events: none;
}

.filter-btn {
    position: relative;
    z-index: 1;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.4s;
}

.filter-btn:hover {
    color: #fff;
}

.filter-btn.active {
    color: var(--ink);
}

.no-indicator .filter-btn.active {
    background: var(--grad-sun);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 1.25rem;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: var(--grad-card);
    border: 1px solid var(--line);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: transform 0.55s var(--ease-out), border-color 0.4s, box-shadow 0.55s var(--ease-out),
        opacity 0.4s var(--ease-out);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(247, 165, 49, 0.3);
    box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.9);
}

.project-card.is-leaving {
    opacity: 0 !important;
    transform: scale(0.96);
}

.stretched::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
}

.stretched:focus-visible {
    outline: none;
}

.stretched:focus-visible::after {
    outline: 2px solid var(--sun-400);
    outline-offset: -2px;
}

.project-card.is-hidden {
    display: none;
}

.project-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy-850);
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.project-card:hover .project-media img {
    transform: scale(1.08);
}

.project-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(2, 8, 22, 0.75));
}

.project-media .tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
}

.project-power {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: rgba(2, 8, 22, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.project-power i {
    color: var(--sun-400);
}

.project-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.5rem;
}

.project-category {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sun-300);
}

.project-title {
    font-size: 1.3rem;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.project-location i {
    color: var(--sun-400);
}

.project-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.3rem;
}

.spec {
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.spec-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.spec-value {
    display: block;
    margin-top: 0.2rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.project-description {
    font-size: 0.93rem;
    color: var(--text-muted);
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.project-footer .link-arrow {
    font-size: 0.9rem;
}

/* ---------- Lightbox ---------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 3vw, 2rem);
    background: rgba(2, 8, 22, 0.86);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    width: min(1180px, 100%);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, #0c1f42, #06142d);
    border: 1px solid var(--line-strong);
    box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.95);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.6s var(--ease-out);
}

.modal.active .modal-content {
    transform: none;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(2, 8, 22, 0.6);
    border: 1px solid var(--line-strong);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 0.5s var(--ease-out), background-color 0.3s, color 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: var(--sun-500);
    color: var(--ink);
}

.modal-gallery {
    position: relative;
    min-height: min(68vh, 620px);
    background: #01050e;
    display: flex;
    flex-direction: column;
}

.modal-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    touch-action: pan-y;
}

.modal-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.35s ease;
}

.modal-image.is-loading {
    opacity: 0.25;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(2, 8, 22, 0.55);
    border: 1px solid var(--line-strong);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
    transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}

.gallery-nav:hover {
    background: var(--sun-500);
    color: var(--ink);
    transform: translateY(-50%) scale(1.06);
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--line);
}

.gallery-thumb {
    flex-shrink: 0;
    width: 84px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: opacity 0.3s, border-color 0.3s;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover {
    opacity: 0.85;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--sun-500);
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    overflow-y: auto;
}

.modal-title {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    padding-right: 3rem;
}

.modal-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.modal-location i {
    color: var(--sun-400);
}

.modal-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-block: 0.5rem;
}

.modal-specs .spec-value {
    font-size: 1.5rem;
    background: var(--grad-sun);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-description {
    color: var(--text-muted);
}

.modal-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-subtle);
}

.modal-details .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ==========================================================================
   O nama
   ========================================================================== */

.statement {
    max-width: 1000px;
    margin-inline: auto;
}

.statement-lead {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.8vw, 2.3rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #fff;
}

.statement-lead .hl {
    background: var(--grad-sun);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.statement-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
}

.statement-cols p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.statement-cols strong {
    color: var(--sun-300);
    font-weight: 600;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.mv-card {
    padding: clamp(2rem, 4vw, 3rem);
    min-height: 340px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mv-card .icon-tile {
    width: 68px;
    height: 68px;
    font-size: 1.6rem;
    border-radius: 20px;
}

.mv-card h3 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    margin-top: auto;
}

.mv-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.value-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-top: 0.6rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.why-card {
    display: flex;
    gap: 1.1rem;
    padding: clamp(1.4rem, 2.5vw, 1.8rem);
}

.why-card .icon-tile {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    border-radius: 14px;
}

.why-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* ==========================================================================
   Kontakt
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.form-card {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.form-card:hover {
    transform: none;
}

.form-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.form-card > p {
    color: var(--text-muted);
    margin: 0.5rem 0 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    font: inherit;
    font-size: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-strong);
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
    padding-right: 3rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FFBE4D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
}

.form-group select option {
    background: var(--navy-850);
    color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-subtle);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.24);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sun-500);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(247, 165, 49, 0.15);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    cursor: pointer;
}

.form-checkbox input {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 0.1rem;
    border-radius: 7px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    place-items: center;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.form-checkbox input::after {
    content: '';
    width: 6px;
    height: 11px;
    border: solid var(--ink);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    margin-top: -2px;
    transition: transform 0.3s var(--ease-out);
}

.form-checkbox input:checked {
    background: var(--grad-sun);
    border-color: transparent;
}

.form-checkbox input:checked::after {
    transform: rotate(45deg) scale(1);
}

.form-submit-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.form-submit-btn .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(26, 17, 5, 0.3);
    border-top-color: var(--ink);
    animation: spin-simple 0.8s linear infinite;
}

.form-submit-btn.is-loading .spinner {
    display: inline-block;
}

.form-submit-btn.is-loading i {
    display: none;
}

.form-status {
    display: none;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-status.is-success,
.form-status.is-error {
    display: flex;
    animation: rise 0.6s var(--ease-out) both;
}

.form-status.is-success {
    color: #c9f6ff;
    background: rgba(79, 209, 230, 0.1);
    border: 1px solid rgba(79, 209, 230, 0.35);
}

.form-status.is-error {
    color: #ffd7c2;
    background: rgba(238, 123, 34, 0.12);
    border: 1px solid rgba(238, 123, 34, 0.4);
}

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-aside .card:hover {
    transform: none;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.info-list {
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.info-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.info-item .icon-tile {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    border-radius: 12px;
}

.info-item h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 0.25rem;
}

.info-item p,
.info-item a {
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.6;
}

.info-item a {
    display: inline-block;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--sun-300);
}

.urgent-card {
    position: relative;
    padding: clamp(1.75rem, 3vw, 2.25rem);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    color: var(--ink);
    background: var(--grad-sun);
    box-shadow: 0 30px 60px -30px rgba(247, 165, 49, 0.7);
}

.urgent-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    z-index: -1;
    width: 260px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 65%);
}

.urgent-card h3 {
    color: var(--ink);
    font-size: 1.5rem;
}

.urgent-card p {
    margin: 0.5rem 0 1.4rem;
    color: rgba(26, 17, 5, 0.78);
}

.btn-dark {
    background: var(--navy-950);
    color: #fff;
    box-shadow: 0 14px 30px -12px rgba(2, 8, 22, 0.8);
}

.btn-dark:hover {
    transform: translateY(-2px);
    background: var(--navy-800);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-wrap {
    max-width: 920px;
    margin-inline: auto;
}

.faq-search {
    position: relative;
    margin-bottom: 2rem;
}

.faq-search i {
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sun-400);
    pointer-events: none;
}

.faq-search input {
    width: 100%;
    padding: 1.15rem 1.4rem 1.15rem 3.4rem;
    border-radius: 999px;
    font: inherit;
    font-size: 1.02rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-strong);
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.faq-search input::placeholder {
    color: var(--text-subtle);
}

.faq-search input:focus {
    outline: none;
    border-color: var(--sun-500);
    box-shadow: 0 0 0 4px rgba(247, 165, 49, 0.15);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    border-radius: var(--radius);
    background: var(--grad-card);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color 0.4s, background-color 0.4s, box-shadow 0.5s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.faq-item.open {
    border-color: rgba(247, 165, 49, 0.35);
    background: linear-gradient(180deg, rgba(247, 165, 49, 0.07), rgba(255, 255, 255, 0.015));
    box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.9);
}

.faq-item[hidden] {
    display: none;
}

.faq-q {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: normal;
}

.faq-q button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.35rem clamp(1.1rem, 3vw, 1.75rem);
    text-align: left;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    font-weight: 600;
    color: #fff;
}

.faq-num {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sun-400);
    font-variant-numeric: tabular-nums;
}

.faq-text {
    flex: 1;
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-strong);
    transition: background 0.4s, transform 0.5s var(--ease-out), border-color 0.4s;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.5s var(--ease-out), background 0.4s;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-icon {
    background: var(--grad-sun);
    border-color: transparent;
    transform: rotate(180deg);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
    background: var(--ink);
}

.faq-item.open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease-out);
}

.faq-item.open .faq-a,
.no-js .faq-a {
    grid-template-rows: 1fr;
}

.faq-a-inner {
    overflow: hidden;
}

.faq-a p {
    padding: 0 clamp(1.1rem, 3vw, 1.75rem) 1.6rem calc(clamp(1.1rem, 3vw, 1.75rem) + 1.1rem + 1.4rem);
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-empty {
    display: none;
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--text-muted);
}

.faq-empty.show {
    display: block;
}

.faq-empty i {
    display: block;
    font-size: 1.8rem;
    color: var(--sun-400);
    margin-bottom: 0.8rem;
}

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

.footer {
    position: relative;
    overflow: hidden;
    padding-top: clamp(4rem, 8vw, 6rem);
    border-top: 1px solid var(--line);
    background:
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(247, 165, 49, 0.08), transparent 60%),
        linear-gradient(180deg, var(--navy-950), #01040c);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.footer-brand p {
    margin-top: 1.25rem;
    max-width: 38ch;
    color: var(--text-muted);
    font-size: 0.97rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.footer-contact a,
.footer-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-contact i {
    width: 16px;
    color: var(--sun-400);
    font-size: 0.85rem;
}

.footer-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.4s var(--ease-out);
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    margin-right: 0;
    background: var(--sun-400);
    transition: width 0.4s var(--ease-out), margin-right 0.4s var(--ease-out);
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:hover::before {
    width: 12px;
    margin-right: 0.5rem;
}

.footer-wordmark {
    margin-top: clamp(3rem, 6vw, 5rem);
    font-family: var(--font-display);
    font-size: clamp(3rem, 13vw, 12.5rem);
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -0.06em;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.01) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.6rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.to-top i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    transition: background 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}

.to-top:hover {
    color: #fff;
}

.to-top:hover i {
    background: var(--sun-500);
    color: var(--ink);
    transform: translateY(-3px);
}

/* ---------- Plutajući kontakt ---------- */

.float-contact {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.3rem 0.85rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--grad-sun);
    box-shadow: 0 16px 36px -12px rgba(247, 165, 49, 0.75);
    transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.4s;
}

.float-contact .float-contact-icon {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(26, 17, 5, 0.14);
}

.float-contact .float-contact-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(26, 17, 5, 0.25);
    animation: ring 2.4s var(--ease-out) infinite;
}

.float-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -12px rgba(247, 165, 49, 0.9);
}

.float-contact.is-hidden {
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
}

/* ==========================================================================
   Reveal animacije (samo kad je JS aktivan)
   ========================================================================== */

.js [data-reveal] {
    opacity: 0;
    translate: 0 36px;
    transition: opacity 0.9s var(--ease-out), translate 0.9s var(--ease-out), scale 0.9s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.js [data-reveal='scale'] {
    translate: none;
    scale: 0.94;
}

.js [data-reveal='left'] {
    translate: -44px 0;
}

.js [data-reveal='right'] {
    translate: 44px 0;
}

.js [data-reveal].is-visible {
    opacity: 1;
    translate: none;
    scale: none;
}

/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes word-up {
    to {
        transform: none;
    }
}

@keyframes hero-zoom {
    from {
        transform: scale(1.14);
    }
    to {
        transform: scale(1.02);
    }
}

@keyframes drift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, 30px) scale(1.08);
    }
}

@keyframes bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.45;
    }
}

@keyframes ring {
    0% {
        transform: scale(0.85);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes flow-pulse {
    0% {
        top: 10px;
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    88% {
        opacity: 1;
    }
    100% {
        top: calc(100% - 80px);
        opacity: 0;
    }
}

@keyframes scroll-line {
    0% {
        transform: scaleY(0);
        opacity: 1;
    }
    60% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        opacity: 0;
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

@keyframes spin {
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

@keyframes spin-simple {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-angle {
    to {
        --angle: 360deg;
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.85;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.06);
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 520px;
        width: 100%;
        margin-top: 1.5rem;
    }

    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .products-grid > :last-child:nth-child(odd),
    .testimonials-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .services-grid,
    .values-grid,
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .savings-grid,
    .split,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .collage {
        max-width: 560px;
        width: 100%;
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .modal-content {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .modal-gallery {
        min-height: 0;
    }

    .modal-stage {
        flex: none;
        aspect-ratio: 16 / 10;
    }

    .modal-details {
        overflow: visible;
    }
}

@media (max-width: 860px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat:nth-child(3) {
        border-left: 0;
    }

    .stat:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .stats-grid.glass-cards .stat {
        border-top: 1px solid var(--line-strong);
        border-left: 1px solid var(--line-strong);
    }

    .bento > * {
        grid-column: 1 / -1 !important;
    }

    .service-card {
        min-height: 0;
    }

    .projects-bento {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 240px;
    }

    .pcard:nth-child(1) {
        grid-column: 1 / -1;
        grid-row: span 1;
    }

    .pcard:nth-child(2) {
        grid-column: 1 / -1;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
    }

    .mv-grid,
    .statement-cols {
        grid-template-columns: 1fr;
    }

    .mv-card {
        min-height: 0;
    }

    .section-head-row {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Timeline — linija lijevo */
    .timeline::before,
    .timeline-progress {
        left: 28px;
    }

    .step {
        grid-template-columns: 56px 1fr;
        gap: 1.25rem;
        align-items: start;
    }

    .step-dot {
        grid-column: 1;
        width: 56px;
        height: 56px;
        font-size: 1rem;
    }

    .step-card,
    .step:nth-child(even) .step-card {
        grid-column: 2;
        text-align: left;
    }
}

@media (max-width: 640px) {
    :root {
        --header-h: 76px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-sub {
        display: none;
    }

    .hero {
        padding-bottom: 7rem;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .hero-brands {
        gap: 1rem 1.4rem;
    }

    .hero-brands img {
        height: 18px;
    }

    .flow-card {
        padding: 1rem;
    }

    .flow-head {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .live-chip {
        white-space: nowrap;
    }

    .flow-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .scroll-cue {
        display: none;
    }

    .products-grid,
    .testimonials-grid,
    .services-grid,
    .values-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .big-stats {
        grid-template-columns: 1fr;
    }

    .big-stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        text-align: left;
        padding: 1.1rem 1.3rem;
    }

    .big-stat .stat-label {
        margin-top: 0;
        text-align: right;
    }

    .roi-scale {
        height: 4.4rem;
        font-size: 0.75rem;
    }

    .roi-scale .s0 {
        display: none;
    }

    .roi-scale .s1 {
        max-width: 42%;
    }

    .float-contact {
        padding: 0.7rem;
    }

    .float-contact > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .projects-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .pcard:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit-btn {
        align-self: stretch;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .collage-badge {
        left: 0;
        padding: 0.8rem 1rem;
    }

    .collage-badge .stat-num {
        font-size: 1.7rem;
    }

    .cta-actions .btn {
        flex: 1 1 100%;
    }

    .modal {
        padding: 0;
    }

    .modal-content {
        max-height: 100vh;
        max-height: 100dvh;
        height: 100%;
        border-radius: 0;
        border: 0;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .faq-a p {
        padding-left: clamp(1.1rem, 3vw, 1.75rem);
    }
}

@media (max-width: 359px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat + .stat {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Hover efekti samo na uređajima s mišem */
@media (hover: none) {
    .card:hover,
    .product:hover,
    .project-card:hover {
        transform: none;
    }

    .product:hover {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .js [data-reveal] {
        opacity: 1;
        translate: none;
        scale: none;
    }

    .w-i {
        transform: none;
    }

    .marquee-track {
        animation: none;
    }
}
