 /* ============================================================
       CSS CUSTOM PROPERTIES
    ============================================================ */
        :root {
            --clr-bg: #F7F5F0;
            --clr-bg-warm: #EFECE5;
            --clr-surface: #FFFFFF;
            --clr-border: #DDD9CF;
            --clr-ink: #1A1915;
            --clr-ink-2: #4A473E;
            --clr-ink-3: #7A776E;
            --clr-accent: #1B3D6B;
            /* deep academic navy */
            --clr-accent-2: #2C5F9E;
            /* mid blue */
            --clr-accent-lt: #EAF0F8;
            --clr-gold: #B8892A;
            /* warm gold for highlights */
            --clr-gold-lt: #F6EDD8;

            --ff-serif: 'Cormorant Garamond', Georgia, serif;
            --ff-sans: 'DM Sans', sans-serif;
            --ff-mono: 'DM Mono', monospace;

            --nav-h: 72px;
            --r-sm: 4px;
            --r-md: 10px;
            --r-lg: 20px;

            --shadow-sm: 0 1px 3px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .04);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, .09);
            --shadow-lg: 0 16px 48px rgba(0, 0, 0, .12);

            --ease-out: cubic-bezier(.16, 1, .3, 1);
            --ease-in-out: cubic-bezier(.65, 0, .35, 1);
        }

        /* ============================================================
       RESET & BASE
    ============================================================ */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: var(--ff-sans);
            background: var(--clr-bg);
            color: var(--clr-ink);
            line-height: 1.7;
            overflow-x: hidden;
        }

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

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

        ::selection {
            background: var(--clr-accent);
            color: #fff;
        }

        /* ============================================================
       TYPOGRAPHY
    ============================================================ */
        .display-xl {
            font-family: var(--ff-serif);
            font-size: clamp(3rem, 6vw, 6.5rem);
            font-weight: 300;
            line-height: 1.08;
            letter-spacing: -0.01em;
        }

        .display-lg {
            font-family: var(--ff-serif);
            font-size: clamp(2rem, 4vw, 3.8rem);
            font-weight: 300;
            line-height: 1.15;
            letter-spacing: -0.01em;
        }

        .display-md {
            font-family: var(--ff-serif);
            font-size: clamp(1.6rem, 3vw, 2.6rem);
            font-weight: 400;
            line-height: 1.2;
        }

        .section-label {
            font-family: var(--ff-mono);
            font-size: .72rem;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: var(--clr-gold);
        }

        .body-lg {
            font-size: 1.125rem;
            line-height: 1.75;
            color: var(--clr-ink-2);
        }

        .body-md {
            font-size: 1rem;
            line-height: 1.7;
            color: var(--clr-ink-2);
        }

        .body-sm {
            font-size: .875rem;
            line-height: 1.65;
            color: var(--clr-ink-3);
        }

        /* ============================================================
       LAYOUT UTILITIES
    ============================================================ */
        .container {
            width: min(1200px, 100% - 2.5rem);
            margin-inline: auto;
        }

        .container-wide {
            width: min(1440px, 100% - 2.5rem);
            margin-inline: auto;
        }

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

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

        .grid-4 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

            /* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow .3s var(--ease-out);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1400px, 100% - 2rem);
  margin-inline: auto;
}

.nav_logo img {
  height: 92px;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  display: block;
  padding: .45rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--clr-ink-2);
  border-radius: var(--r-sm);
  transition: background .2s, color .2s;
}

.nav__links a:hover {
  background: var(--clr-accent-lt);
  color: var(--clr-accent);
}

/* CTA skupina (gumbi + hamburger) */
.nav__cta {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.btn-nav {
  display: inline-flex;
            gap: .5rem;

            padding: .75rem 1.5rem;
            border-radius: var(--r-md);

            font-family: var(--ff-sans);
            font-size: .9rem;
            font-weight: 600;

            color: #fff;
            text-decoration: none;

           background: var(--clr-accent);


            background-size: 200% 200%;
            background-position: left center;

            border: none;
            cursor: pointer;

            box-shadow: 0 10px 24px rgba(27, 61, 107, 0.25);

            transition:
                transform .25s var(--ease-out),
                box-shadow .25s var(--ease-out),
                background-position .6s var(--ease-out),
                filter .25s ease;
        }


.btn-nav:hover {
  transform: translateY(-3px);
            background-position: right center;
            box-shadow: 0 16px 40px rgba(27, 61, 107, 0.35);
            filter: brightness(1.05);
}

.btn-nav-zaa {

            display: inline-flex;
            gap: .5rem;

            padding: .75rem 1.5rem;
            border-radius: var(--r-md);

            font-family: var(--ff-sans);
            font-size: .9rem;
            font-weight: 600;

            color: #fff;
            text-decoration: none;

           
            background: linear-gradient(
90deg,
#ab0000 16%,
#ff3838 100%
);


            background-size: 200% 200%;
            background-position: left center;

            border: none;
            cursor: pointer;

            box-shadow: 0 10px 24px rgba(27, 61, 107, 0.25);

            transition:
                transform .25s var(--ease-out),
                box-shadow .25s var(--ease-out),
                background-position .6s var(--ease-out),
                filter .25s ease;
        }


.btn-nav-zaa:hover {
  transform: translateY(-3px);
            background-position: right center;
            box-shadow: 0 16px 40px rgba(27, 61, 107, 0.35);
            filter: brightness(1.05);
}

/* Hamburger — skrit na desktopu */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--clr-ink);
}

/* Mobile nav panel */
.nav__mobile {
  display: none;
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  padding: 1rem;
  z-index: 999;
}

.nav__mobile.open {
  display: block;
}

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

.nav__mobile ul li a {
  display: block;
  padding: .75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  color: var(--clr-ink);
  text-decoration: none;
}

.nav__mobile ul li a:hover {
  background: var(--clr-accent-lt);
  color: var(--clr-accent);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  /* Skrij desktop links in gumbe */
  .nav__links {
    display: none;
  }

  .btn-nav,
  .btn-nav-zaa {
    display: none;
  }

  /* Prikaži hamburger */
  .nav__hamburger {
    display: block;
  }
}
        /* ============================================================
       HERO
    ============================================================ */
        .hero {
            min-height: 100dvh;
            padding-top: var(--nav-h);
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        /* Subtle grid texture background */
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
      background-image: url('../images/hero.jpg');
            background-size: cover;
            opacity: 0.3;
        }

        /* Deep accent strip on left */
        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, var(--clr-accent) 0%, var(--clr-gold) 100%);
        }

        .hero__inner {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1fr 420px;
            gap: 4rem;
            align-items: center;
            padding: 5rem 0;
        }

        .hero__eyebrow {
            display: flex;
            align-items: center;
            gap: .75rem;
            margin-bottom: 2rem;
        }

        .hero__eyebrow-line {
            width: 32px;
            height: 1px;
            background: var(--clr-gold);
        }

        .hero__heading {
            margin-bottom: 1.75rem;
        }

        .hero__heading em {
            font-style: italic;
            color: var(--clr-accent);
        }

        .hero__subtext {
            margin-bottom: 2.5rem;
            max-width: 540px;
        }

        .hero__actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: .5rem;
            padding: .75rem 1.75rem;
            background: var(--clr-accent);
            color: #fff;
            font-family: var(--ff-sans);
            font-size: .9rem;
            font-weight: 500;
            border: 2px solid var(--clr-accent);
            border-radius: var(--r-sm);
            cursor: pointer;
            transition: background .2s, transform .15s, box-shadow .2s;
        }

        .btn-primary:hover {
            background: var(--clr-accent-2);
            border-color: var(--clr-accent-2);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(27, 61, 107, .25);
        }

        .btn-primary svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            fill: none;
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: .5rem;
            padding: .75rem 1.75rem;
            background: transparent;
            color: var(--clr-accent);
            font-family: var(--ff-sans);
            font-size: .9rem;
            font-weight: 500;
            border: 2px solid var(--clr-accent);
            border-radius: var(--r-sm);
            cursor: pointer;
            transition: background .2s, transform .15s;
        }

        .btn-outline:hover {
            background: var(--clr-accent-lt);
            transform: translateY(-2px);
        }



        /* Scroll indicator */
        .hero__scroll {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: .5rem;
            color: var(--clr-ink-3);
            font-size: .7rem;
            letter-spacing: .08em;
            text-transform: uppercase;
            animation: bounce 2s ease-in-out infinite;
        }

        .hero__scroll svg {
            width: 20px;
            height: 20px;
            stroke: currentColor;
            fill: none;
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateX(-50%) translateY(0);
            }

            50% {
                transform: translateX(-50%) translateY(6px);
            }
        }

        /* E-GRADIVA */
        .cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}
        .search-wrapper {
            max-width: 1450px;
            margin: auto;
            padding: 30px 40px;
        }

        .search-box {
            width: 100%;
            max-width: 500px;
            background: white;
            border: none;
            outline: none;
            padding: 18px 24px;
            border-radius: 18px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
            font-size: 15px;
        }

        /* GRID */

        .content {
            max-width: 1450px;
            margin: auto;
            padding: 20px 40px 80px;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
        }

        /* CARD */

        .card {
            aspect-ratio: 1 / 1;
            width: 100%;
            background: var(--clr-surface);
            border-radius: var(--r-lg);
            padding: 20px;

            display: flex;
            flex-direction: column;
            justify-content: space-between;

            box-shadow: var(--shadow-sm);
            border: 1px solid var(--clr-border);

            transition: transform .25s var(--ease-out),
                box-shadow .25s var(--ease-out),
                border-color .25s var(--ease-out);
        }

        .card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        }

        .category {
            display: inline-flex;
            width: max-content;
            padding: 7px 14px;
            border-radius: 999px;
            background: #eef2ff;
            color: #4338ca;
            font-size: 12px;
            font-weight: 600;
        }

        .card h3 {
            font-size: 20px;
            line-height: 1.3;
            margin: 16px 0 10px;
        }

        .summary {
            color: #6b7280;
            font-size: 14px;
            line-height: 1.6;
        }

        .meta {
            margin-top: 18px;
        }

        .author {
            display: block;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .file {
            font-size: 13px;
            color: #9ca3af;
        }

        .buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
.btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    display: block;
    transition: color 0.3s ease;
}

.preview {
    background: #111827;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    color: #fff;
}

.preview:hover {
    border-color: #3b82f6;
    box-shadow:
        0 0 10px rgba(59,130,246,.5),
        0 0 20px rgba(59,130,246,.3);
}
        .download {
            background: #eef2ff;
            color: #4338ca;
        }

        .download:hover {
            background: #dbe4ff;
        }



        /* ============================================================
     TRUSTED BY (PARTNERS & COLLABORATORS)
    ============================================================ */
        .trusted-section {
            padding: 90px 0;
            background: #f8f6f1;
            overflow: hidden;
        }

        .trusted-label {
            text-align: center;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 50px;
        }

        /* SLIDER */

        .logo-slider {
            width: 100%;
            overflow: hidden;
            position: relative;
        }

        .logo-track {
            display: flex;
            align-items: center;
            gap: 32px;
            width: max-content;

            animation: scrollLogos 28s linear infinite;
        }

        /* LOGO CARD */

        .logo-card {
            min-width: 220px;
            height: 120px;

            display: flex;
            align-items: center;
            justify-content: center;

            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);

            border-radius: 24px;
            border: 1px solid rgba(0, 0, 0, 0.06);

            padding: 25px;

            transition: all 0.35s ease;
        }

        .logo-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        }

        .logo-card img {
            max-width: 100%;
            max-height: 65px;
            object-fit: contain;

            filter: grayscale(100%);
            opacity: 0.75;

            transition: all 0.4s ease;
        }

        .logo-card:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }

        /* INFINITE ANIMATION */

        @keyframes scrollLogos {
            from {
                transform: translateX(0);
            }

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

        /* MOBILE */

        @media (max-width: 768px) {

            .logo-card {
                min-width: 170px;
                height: 95px;
                padding: 18px;
            }

            .logo-card img {
                max-height: 45px;
            }

            .logo-track {
                gap: 18px;
                animation-duration: 18s;
            }
        }

        /* ============================================================
       KONTAKT
    ============================================================ */
        .contact {
            background: var(--clr-bg);
        }

        .contact__layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
        }

        .contact-info-row {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            padding: 1.25rem 0;
            border-bottom: 1px solid var(--clr-border);
        }

        .contact-info-row:first-child {
            padding-top: 0;
        }

        .contact-info-row:last-child {
            border-bottom: none;
        }

        .contact-icon {
            width: 36px;
            height: 36px;
            flex-shrink: 0;
            background: var(--clr-accent-lt);
            border-radius: var(--r-sm);
            display: grid;
            place-items: center;
        }

        .contact-icon svg {
            width: 18px;
            height: 18px;
            stroke: var(--clr-accent);
            fill: none;
        }

        .contact-info-row h4 {
            font-size: .8rem;
            color: var(--clr-ink-3);
            margin-bottom: .2rem;
            font-weight: 400;
        }

        .contact-info-row p {
            font-size: .95rem;
            color: var(--clr-ink);
            font-weight: 500;
        }

        /* Map placeholder */
        .location-section {
            padding: 80px 20px;
            background: #f7f7f7;
            font-family: Arial, sans-serif;
        }

        .location-container {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        /* Text block */
        .location-text h2 {
            font-size: 32px;
            margin-bottom: 15px;
            color: #1a1a1a;
        }

        .location-text p {
            font-size: 16px;
            line-height: 1.6;
            color: #444;
            margin-bottom: 25px;
        }

        .location-details {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .location-details div {
            font-size: 15px;
            color: #333;
        }

        .location-details strong {
            display: inline-block;
            width: 80px;
            color: #111;
        }

        /* Map */
        .location-map iframe {
            width: 600px;
            height: 420px;
            border: 0;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .location-container {
                grid-template-columns: 1fr;
            }

            .location-map iframe {
                height: 320px;
            }
        }

        /* ============================================================
       FOOTER
    ============================================================ */
        footer {
            background: var(--clr-ink);
            color: rgba(255, 255, 255, .7);
            padding: 4rem 0 2rem;
        }

        .footer__grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            padding-bottom: 3rem;
            border-bottom: 1px solid rgba(255, 255, 255, .1);
        }


        .footer__logo-text {
            font-family: var(--ff-serif);
            font-size: 1.5rem;
            font-weight: 400;
            color: #fff;
            margin-bottom: .5rem;
        }

        .footer__tagline {
            font-size: .85rem;
            color: rgba(255, 255, 255, .5);
            line-height: 1.6;
            max-width: 280px;
        }

        .footer__ul {
            list-style: none;
            margin-top: 1.5rem;
        }

        .footer__ul li {
            margin-bottom: .5rem;
        }

        .footer__ul li a {
            font-size: .875rem;
            color: rgba(255, 255, 255, .6);
            transition: color .2s;
        }

        .footer__ul li a:hover {
            color: #fff;
        }

        .footer__col-title {
            font-size: .7rem;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, .35);
            margin-bottom: 1rem;
            font-family: var(--ff-mono);
        }

        .footer__bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1.5rem;
            font-size: .78rem;
            color: rgba(255, 255, 255, .35);
            flex-wrap: wrap;
            gap: 1rem;
        }

        /* ============================================================
       SCROLL ANIMATION
    ============================================================ */
        .reveal {
            opacity: 0;
            transform: translateY(28px);
            transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
        }

        .reveal.visible {
            opacity: 1;
            transform: none;
        }

        .reveal-delay-1 {
            transition-delay: .1s;
        }

        .reveal-delay-2 {
            transition-delay: .2s;
        }

        .reveal-delay-3 {
            transition-delay: .3s;
        }



        /* =========================
   GRADIENT BUTTON SYSTEM
========================= */
.filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 34px auto 48px;
    width: 100%;
}
        .filter-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;

            padding: .75rem 1.5rem;
            border-radius: var(--r-md);

            font-family: var(--ff-sans);
            font-size: .9rem;
            font-weight: 600;

            color: #fff;
            text-decoration: none;

            background: linear-gradient(
90deg,
#ab0000 16%,
#ff3838 100%
);

            background-size: 200% 200%;
            background-position: left center;

            border: none;
            cursor: pointer;

            box-shadow: 0 10px 24px rgba(27, 61, 107, 0.25);

            transition:
                transform .25s var(--ease-out),
                box-shadow .25s var(--ease-out),
                background-position .6s var(--ease-out),
                filter .25s ease;
        }

        /* Hover interaction */
        .filter-btn:hover {
            transform: translateY(-3px);
            background-position: right center;
            box-shadow: 0 16px 40px rgba(27, 61, 107, 0.35);
            filter: brightness(1.05);
        }

        /* Active / click state */
        .filter-btn:active {
            transform: translateY(-1px) scale(0.99);
            box-shadow: 0 8px 18px rgba(27, 61, 107, 0.25);
        }

        /* Optional subtle outline variant */
        .filter-btn-outline {
            background: transparent;
            color: var(--clr-accent);
            border: 1px solid var(--clr-border);
            box-shadow: none;
        }

        .filter-btn-gradient-outline:hover {
            background: linear-gradient(135deg,
                    var(--clr-accent-lt),
                    #fff);
        }

        /* ============================================================
       RESPONSIVE
    ============================================================ */
        @media (max-width: 1024px) {
            .hero__inner {
                grid-template-columns: 1fr;
            }

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

            .stat-item {
                padding: .75rem 0;
                border-bottom: none;
                border-right: 1px solid var(--clr-border);
                padding-right: 1rem;
                margin-right: 1rem;
            }

            .stat-item:last-child {
                border-right: none;
            }

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

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

            .about__layout {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

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

            .data__adp {
                position: static;
            }

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

            .footer__grid {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }

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

        @media (max-width: 768px) {
            :root {
                --nav-h: 64px;
            }

            section {
                padding: 4rem 0;
            }

            .nav__links,
            .nav__cta .btn-nav {
                display: none;
            }

            .nav__hamburger {
                display: block;
            }

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

            .stat-item:nth-child(3) {
                border-right: none;
            }

            .stat-item:nth-child(1),
            .stat-item:nth-child(2) {
                border-bottom: 1px solid var(--clr-border);
                padding-bottom: .75rem;
            }

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

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

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

            .survey-item {
                grid-template-columns: auto 1fr;
            }

            .survey-years {
                display: none;
            }

            .footer__grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

        @media (max-width: 480px) {
            .hero__actions {
                flex-direction: column;
            }

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

            .stat-item {
                padding: .6rem 0;
                border-right: none;
                border-bottom: 1px solid var(--clr-border);
                margin-right: 0;
                padding-right: 0;
            }

            .stat-item:last-child {
                border-bottom: none;
            }
        }

        .cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 30px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 24px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.category {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
}

.summary {
    margin-top: 12px;
}

.meta {
    margin-top: 20px;
}

.buttons {
    margin-top: 20px;
}

.btn.preview {
    display: inline-block;
    padding: 10px 18px;

    background: #ab0000;
    color: white;

    border-radius: 10px;
    text-decoration: none;
}

/* =====================================================
   INTERAKTIVNA ANALITIKA
===================================================== */

/* =========================================================
   CJM – PREMIUM INTERAKTIVNA ANALITIKA
========================================================= */

.analytics-section {
    position: relative;
    padding: 120px 0 135px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(27, 65, 108, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 6% 82%,
            rgba(177, 120, 21, 0.07),
            transparent 28%
        ),
        #f6f3ed;
}

.analytics-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1180px, calc(100% - 40px));
    height: 1px;
    transform: translateX(-50%);
    background: rgba(22, 38, 59, 0.1);
}

.analytics-section .container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* HEADER */

.analytics-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 54px;
}

.analytics-header .section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #b07917;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.analytics-header .section-label::before {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
}

.analytics-header h2 {
    margin: 0;
    color: #171b22;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 6vw, 76px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.analytics-intro {
    max-width: 650px;
    margin: 22px 0 0;
    color: #686862;
    font-size: 16px;
    line-height: 1.75;
}

.analytics-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-bottom: 7px;
    padding: 12px 17px;
    color: #233750;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(26, 55, 89, 0.1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(23, 38, 57, 0.06);
}

.analytics-header__badge span {
    width: 8px;
    height: 8px;
    background: #ba0000;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(186, 0, 0, 0.1);
}

/* GLAVNI PANEL */

.analytics-shell {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    min-height: 720px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(25, 43, 66, 0.1);
    border-radius: 30px;
    box-shadow:
        0 35px 90px rgba(16, 29, 47, 0.1),
        0 4px 15px rgba(16, 29, 47, 0.04);
    backdrop-filter: blur(16px);
}

/* SIDEBAR */

.analytics-sidebar {
    padding: 32px 26px;
    background:
        linear-gradient(
            180deg,
            rgba(245, 248, 251, 0.97),
            rgba(238, 242, 246, 0.97)
        );
    border-right: 1px solid rgba(26, 46, 71, 0.09);
}

.analytics-sidebar__heading {
    margin-bottom: 26px;
}

.analytics-sidebar__heading > span {
    color: #a87318;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.analytics-sidebar__heading h3 {
    margin: 7px 0 0;
    color: #172235;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.15;
}

/* PREKLOPNIK */

.analytics-mode-switch {
    display: grid;
    gap: 7px;
    margin-bottom: 29px;
    padding: 5px;
    background: #e6ebf0;
    border-radius: 15px;
}

.analytics-mode-button {
    width: 100%;
    min-height: 45px;
    padding: 9px 13px;
    color: #657181;
    background: transparent;
    border: 0;
    border-radius: 11px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition:
        color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.analytics-mode-button:hover {
    color: #1c334f;
}

.analytics-mode-button.is-active,
.analytics-mode-button.active {
    color: #ffffff;
    background: linear-gradient(135deg, #163b67, #214f80);
    box-shadow: 0 9px 22px rgba(24, 62, 104, 0.22);
}

/* POLJA */

.analytics-controls-panel {
    display: grid;
    gap: 18px;
}

.analytics-controls-panel[hidden] {
    display: none !important;
}

.analytics-field {
    margin-bottom: 18px;
}

.analytics-field label {
    display: block;
    margin-bottom: 8px;
    color: #3d4a5a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.analytics-select {
    position: relative;
}

.analytics-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 17px;
    width: 7px;
    height: 7px;
    pointer-events: none;
    border-right: 1.5px solid #667587;
    border-bottom: 1.5px solid #667587;
    transform: translateY(-70%) rotate(45deg);
}

.analytics-select select {
    width: 100%;
    min-height: 50px;
    padding: 0 43px 0 14px;
    color: #1e3047;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid #d5dce4;
    border-radius: 12px;
    outline: 0;
    appearance: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.analytics-select select:hover {
    background: #ffffff;
    border-color: #aeb9c6;
}

.analytics-select select:focus {
    background: #ffffff;
    border-color: #234e7d;
    box-shadow: 0 0 0 4px rgba(35, 78, 125, 0.11);
}

.analytics-select select:disabled {
    color: #9aa2ac;
    background: #eef0f2;
    cursor: not-allowed;
}

/* INFO */

.analytics-helper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 14px;
    color: #647182;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(31, 58, 90, 0.08);
    border-radius: 13px;
}

.analytics-helper > span {
    display: grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #ffffff;
    background: #204b78;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 700;
}

.analytics-helper p {
    margin: 1px 0 0;
    font-size: 11px;
    line-height: 1.55;
}

/* RANGE */

.analytics-range-card {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #dbe1e7;
    border-radius: 14px;
}

.analytics-range-card__top,
.analytics-range-values {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.analytics-range-card__top {
    margin-bottom: 15px;
    color: #637080;
    font-size: 11px;
}

.analytics-range-card__top strong {
    color: #1a3f69;
}

.analytics-range-values {
    margin-bottom: 18px;
}

.analytics-range-values div {
    flex: 1;
    padding: 10px;
    background: #eef2f6;
    border-radius: 10px;
}

.analytics-range-values small {
    display: block;
    color: #7b8590;
    font-size: 9px;
    text-transform: uppercase;
}

.analytics-range-values strong {
    display: block;
    margin-top: 2px;
    color: #172d49;
    font-size: 18px;
}

.analytics-dual-range {
    position: relative;
    height: 25px;
}

.analytics-dual-range__track,
.analytics-dual-range__fill {
    position: absolute;
    top: 11px;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 999px;
}

.analytics-dual-range__track {
    background: #cbd3dc;
}

.analytics-dual-range__fill {
    background: #b60000;
}

.analytics-dual-range input[type="range"] {
    position: absolute;
    top: 2px;
    left: 0;
    width: 100%;
    margin: 0;
    pointer-events: none;
    appearance: none;
    background: transparent;
}

.analytics-dual-range input[type="range"]::-webkit-slider-thumb {
    width: 19px;
    height: 19px;
    pointer-events: auto;
    appearance: none;
    background: #ffffff;
    border: 5px solid #b60000;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(18, 31, 47, 0.2);
    cursor: grab;
}

.analytics-year-marks {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    color: #8a929b;
    font-size: 9px;
}

/* MAIN */

.analytics-main {
    min-width: 0;
    padding: 32px;
}

.analytics-main__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.analytics-question {
    max-width: 760px;
}

#analyticsDatasetLabel {
    display: block;
    margin-bottom: 8px;
    color: #aa7418;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

#analyticsQuestionTitle {
    margin: 0;
    color: #152237;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.analytics-actions {
    display: flex;
    gap: 8px;
}

.analytics-action {
    min-width: 51px;
    height: 38px;
    padding: 0 12px;
    color: #2b405b;
    background: #f2f5f8;
    border: 1px solid #dce2e8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.analytics-action:hover {
    color: #ffffff;
    background: #193f6b;
    transform: translateY(-1px);
}

/* GRAF */

.analytics-chart-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(76, 116, 167, 0.16),
            transparent 27%
        ),
        linear-gradient(145deg, #101b2d, #0c1524);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 21px;
    box-shadow: 0 22px 50px rgba(10, 21, 37, 0.2);
}

.analytics-chart,
#analyticsChart {
    width: 100%;
    height: 470px;
    background: transparent !important;
}

.analytics-status {
    min-height: 21px;
    padding: 0 21px 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

/* TABELA */

.analytics-results {
    margin-top: 28px;
}

.analytics-results__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
}

.analytics-results__header span {
    color: #aa7418;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.analytics-results__header h4 {
    margin: 5px 0 0;
    color: #172235;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
}

.analytics-results__count {
    padding: 7px 11px;
    color: #4b5969 !important;
    background: #edf1f5;
    border-radius: 999px;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.analytics-table-wrapper {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e0e5ea;
    border-radius: 14px;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
}

.analytics-table thead {
    background: #eef2f6;
}

.analytics-table th {
    padding: 14px 18px;
    color: #435166;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-align: left;
    text-transform: uppercase;
}

.analytics-table td {
    padding: 15px 18px;
    color: #3d4857;
    font-size: 13px;
    border-top: 1px solid #edf0f3;
}

.analytics-table tbody tr:hover {
    background: #f8fafb;
}

.analytics-table th:last-child,
.analytics-table td:last-child {
    width: 150px;
    color: #173e6a;
    font-weight: 800;
    text-align: right;
}


.analytics-sort-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    width: 100%;
    padding: 0;

    color: inherit;
    background: transparent;
    border: 0;

    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-align: inherit;

    cursor: pointer;

    transition: color 0.2s ease;
}

/* Stolpec z vrednostjo je poravnan desno */
.analytics-table th:last-child .analytics-sort-button {
    justify-content: flex-end;
}

/* Puščica */
.analytics-sort-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 14px;

    color: #8b97a6;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

/* Hover */
.analytics-sort-button:hover {
    color: #173e6a;
}

.analytics-sort-button:hover .analytics-sort-indicator {
    color: #173e6a;
}

/* Tipkovnica / accessibility */
.analytics-sort-button:focus-visible {
    outline: 2px solid rgba(27, 61, 107, 0.35);
    outline-offset: 4px;
    border-radius: 3px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .analytics-shell {
        grid-template-columns: 270px minmax(0, 1fr);
    }

    .analytics-sidebar {
        padding: 27px 20px;
    }

    .analytics-main {
        padding: 27px;
    }
}

@media (max-width: 820px) {
    .analytics-section {
        padding: 85px 0 100px;
    }

    .analytics-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 36px;
    }

    .analytics-header__badge {
        margin: 0;
    }

    .analytics-shell {
        display: block;
        border-radius: 23px;
    }

    .analytics-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(26, 46, 71, 0.09);
    }

    .analytics-mode-switch {
        grid-template-columns: 1fr 1fr;
    }

    .analytics-mode-button {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .analytics-section .container {
        width: min(100% - 24px, 1180px);
    }

    .analytics-header h2 {
        font-size: 44px;
    }

    .analytics-sidebar,
    .analytics-main {
        padding: 20px 16px;
    }

    .analytics-mode-switch {
        grid-template-columns: 1fr;
    }

    .analytics-main__header {
        flex-direction: column;
    }

    .analytics-chart,
    #analyticsChart {
        height: 390px;
    }

    .analytics-actions {
        width: 100%;
    }

    .analytics-action {
        flex: 1;
    }
}

/* =========================================================
   OPISNA STATISTIKA
========================================================= */

.analytics-descriptive-statistics {
    margin-top: 24px;
    padding: 25px 26px 27px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 249, 251, 0.98)
        );

    border: 1px solid #e0e5ea;
    border-radius: 16px;

    box-shadow:
        0 12px 32px rgba(17, 35, 58, 0.055);

    overflow: hidden;
}

/* Pomembno: hidden mora dejansko skriti element */
.analytics-descriptive-statistics[hidden] {
    display: none !important;
}


/* =========================
   GLAVA
========================= */

.analytics-statistics-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 20px;
    padding-bottom: 17px;

    border-bottom: 1px solid #e5e9ed;
}


.analytics-statistics-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: #aa7418;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.analytics-statistics-header h3 {
    margin: 0;

    color: #172235;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;

    line-height: 1.2;
}


/* =========================
   STATISTIČNE KARTICE
========================= */

.analytics-statistics-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}


.analytics-stat-item {
    position: relative;

    min-width: 0;
    padding: 16px 17px;

    background: #f1f4f7;

    border: 1px solid #e3e8ed;
    border-radius: 12px;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.analytics-stat-item:hover {
    transform: translateY(-2px);

    background: #ffffff;

    border-color: #d3dce5;

    box-shadow:
        0 9px 22px rgba(18, 38, 62, 0.07);
}


/* naziv statistike */

.analytics-stat-item span {
    display: block;

    margin-bottom: 7px;

    color: #737f8d;

    font-size: 9px;
    font-weight: 800;

    line-height: 1.35;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}


/* vrednost */

.analytics-stat-item strong {
    display: block;

    overflow: hidden;

    color: #173e6a;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 400;

    line-height: 1.15;

    letter-spacing: -0.02em;

    text-overflow: ellipsis;
}


/* Prve tri kartice dobijo rahlo bolj poudarjeno ozadje */

.analytics-stat-item:nth-child(-n + 3) {
    background:
        linear-gradient(
            145deg,
            #f2f5f8,
            #edf2f6
        );
}


/* majhen moder poudarek */

.analytics-stat-item::before {
    content: "";

    position: absolute;

    top: 15px;
    right: 15px;

    width: 5px;
    height: 5px;

    background: #1b4775;

    border-radius: 50%;

    opacity: 0.32;
}


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

@media (max-width: 1000px) {

    .analytics-statistics-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 560px) {

    .analytics-descriptive-statistics {
        margin-top: 18px;
        padding: 20px 16px;
        border-radius: 14px;
    }

    .analytics-statistics-header {
        margin-bottom: 15px;
        padding-bottom: 14px;
    }

    .analytics-statistics-header h3 {
        font-size: 22px;
    }

    .analytics-statistics-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .analytics-stat-item {
        display: flex;

        align-items: center;
        justify-content: space-between;

        gap: 20px;

        padding: 14px 15px;
    }

    .analytics-stat-item span {
        margin-bottom: 0;
    }

    .analytics-stat-item strong {
        flex-shrink: 0;

        font-size: 21px;

        text-align: right;
    }

    .analytics-stat-item::before {
        display: none;
    }

}