 /* ============================================================
       CSS CUSTOM PROPERTIES
    ============================================================ */
    :root {
      --clr-bg: #F7F5F0;
      --clr-bg-warm: #EFECE5;
      --clr-surface: #FFFFFF;
      --clr-border: #DDD9CF;
      --clr-ink: #1A1915;
      --clr-ink-2: #2E2C26;
      --clr-ink-3: #2c2b29;
      --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);
    }

    /* Hero stats card */
    .hero__stats {
      background: #E3F5FF;
      border: 1px solid var(--clr-border);
      border-radius: var(--r-lg);
      padding: 2.5rem;
      box-shadow: var(--shadow-lg);
      position: relative;
      opacity: 0.8;
      backdrop-filter: blur(100px);
    }

    .hero__stats::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--clr-accent) 0%, var(--clr-gold) 100%);
      border-radius: var(--r-lg) var(--r-lg) 0 0;
    }

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

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

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

    .stat-num {
      font-family: var(--ff-serif);
      font-size: 2.8rem;
      font-weight: 300;
      color: #001621;
      line-height: 1;
    }

    .stat-label {
      font-size: .78rem;
      color: #000;
      margin-top: .25rem;
      letter-spacing: .02em;
    }

    /* 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);
      }
    }


    /* ============================================================
       RAZISKAVE
    ============================================================ */

    .research-section {
      width: 100%;
      padding: 120px 8%;
      background: #EFECE5;
      position: relative;
      overflow: hidden;
    }

    .research-container {
      max-width: 1400px;
      margin: 0 auto;
    }

    .research-header {
      text-align: center;
      margin-bottom: 70px;
    }

    .research-tag {
      display: inline-block;
      padding: 10px 20px;
      border-radius: 999px;
      background: rgba(0, 22, 33, 0.08);
      color: #001621;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.5px;
      margin-bottom: 20px;
    }

    .research-header h2 {
      font-size: 52px;
      line-height: 1.1;
      font-weight: 800;
      color: #001621;
      margin-bottom: 25px;
    }

    .research-header p {
      max-width: 850px;
      margin: 0 auto;
      font-size: 18px;
      line-height: 1.8;
      color: #1b2022;
    }

   .research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;

    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

    /* ✅ POPRAVLJENO */
    .research-card {
      background: white;
      border-radius: 28px;
      overflow: hidden;
      transition: all 0.35s ease;
      box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
      border: 1px solid rgba(0, 0, 0, 0.04);
      display: flex;
      flex-direction: column;
    }

    .research-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    }

    .research-image {
      width: 100%;
      height: 240px;
      overflow: hidden;
    }

    .research-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

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

    /* ✅ POPRAVLJENO */
    .research-content {
      padding: 35px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .research-category {
      display: inline-block;
      margin-bottom: 18px;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #0055ff;
    }

    .research-content h3 {
      font-size: 28px;
      line-height: 1.3;
      margin-bottom: 18px;
      color: #001621;
      font-weight: 700;
    }

    .research-content p {
      font-size: 16px;
      line-height: 1.8;
      color: #283035;
      margin-bottom: 28px;
    }

    .research-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
      color: #515d66;
      border-top: 1px solid rgba(0, 0, 0, 0.06);
      padding-top: 20px;
    }

    /* ✅ POPRAVLJENO */
    .research-button-wrapper {
      margin-top: auto;
      padding-top: 1.25rem;
      text-align: center;
    }

    .research-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 18px 38px;
      border-radius: 18px;
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      color: white;
      background: #1B3D6B;
      transition: all 0.35s ease;
      box-shadow: 0 12px 30px rgba(0, 85, 255, 0.25);
    }

    .research-button:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 45px rgba(0, 85, 255, 0.35);
    }

    @media (max-width: 768px) {
      .research-section {
        padding: 90px 6%;
      }

      .research-header h2 {
        font-size: 38px;
      }

      .research-header p {
        font-size: 16px;
      }

      .research-content {
        padding: 28px;
      }

      .research-content h3 {
        font-size: 24px;
      }
    }

    /* ============================================================
       SECTION COMMONS
    ============================================================ */
    section {
      padding: 6rem 0;
    }

    .section-header {
      margin-bottom: 3.5rem;
    }

    .section-header .section-label {
      margin-bottom: .75rem;
      display: block;
    }

    /* Divider */
    .divider {
      height: 1px;
      background: var(--clr-border);
      margin: 0;
    }

    /* ============================================================
       RESEARCH AREAS (HOME OVERVIEW)
    ============================================================ */
    .areas {
      background: var(--clr-surface);
    }

    .area-card {
      padding: 2rem;
      border: 1px solid var(--clr-border);
      border-radius: var(--r-md);
      background: var(--clr-bg);
      transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
      position: relative;
      overflow: hidden;
    }

    .area-card::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--clr-accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .3s var(--ease-out);
    }

    .area-card:hover {
      border-color: var(--clr-accent-2);
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }

    .area-card:hover::after {
      transform: scaleX(1);
    }

    .area-card__icon {
      width: 48px;
      height: 48px;
      background: var(--clr-accent-lt);
      border-radius: var(--r-sm);
      display: grid;
      place-items: center;
      margin-bottom: 1.25rem;
    }

    .area-card__icon svg {
      width: 24px;
      height: 24px;
      stroke: var(--clr-accent);
      fill: none;
      stroke-width: 1.5;
    }

    .area-card h3 {
      font-family: var(--ff-serif);
      font-size: 1.35rem;
      font-weight: 400;
      margin-bottom: .6rem;
    }

    /* ============================================================
       FEATURED PROJECT (SJM)
    ============================================================ */
    .sjm {
      background: var(--clr-accent);
      color: #fff;
      overflow: hidden;
      position: relative;
    }

    .sjm::before {
      content: 'SJM';
      position: absolute;
      font-family: var(--ff-serif);
      font-size: 22vw;
      font-weight: 600;
      color: rgba(255, 255, 255, .04);
      right: -2%;
      top: 50%;
      transform: translateY(-50%);
      line-height: 1;
      pointer-events: none;
      user-select: none;
    }

    .sjm__inner {
      position: relative;
      z-index: 1;
    }

    .sjm .section-label {
      color: var(--clr-gold);
    }

    .sjm h2 {
      color: #fff;
      margin: .75rem 0 1.5rem;
    }

    .sjm p {
      color: rgba(255, 255, 255, .8);
      max-width: 600px;
    }

    .sjm__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-top: 3rem;
    }

    .sjm__feature {
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: var(--r-md);
      padding: 1.75rem;
      backdrop-filter: blur(8px);
    }

    .sjm__feature h4 {
      font-family: var(--ff-serif);
      font-size: 1.2rem;
      font-weight: 400;
      margin-bottom: .5rem;
      color: #fff;
    }

    .sjm__feature p {
      font-size: .9rem;
      color: rgba(255, 255, 255, .75);
      line-height: 1.6;
    }

    .sjm__cta {
      margin-top: 2.5rem;
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

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

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

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

    .btn-white-outline:hover {
      border-color: #fff;
      background: rgba(255, 255, 255, .08);
      transform: translateY(-2px);
    }

    /* ============================================================
       PUBLICATIONS / NEWS
    ============================================================ */
    .publications {
      background: var(--clr-bg);
    }

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

    .pub-card {
      background: var(--clr-surface);
      border: 1px solid var(--clr-border);
      border-radius: var(--r-md);
      padding: 2rem;
      display: flex;
      flex-direction: column;
      transition: box-shadow .25s, transform .25s var(--ease-out);
    }

    .pub-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }

    .pub-card__tag {
      display: inline-block;
      font-family: var(--ff-mono);
      font-size: .67rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: .25rem .6rem;
      border-radius: 3px;
      margin-bottom: 1rem;
    }

    .tag-blue {
      background: var(--clr-accent-lt);
      color: var(--clr-accent);
    }

    .tag-gold {
      background: var(--clr-gold-lt);
      color: var(--clr-gold);
    }

    .tag-green {
      background: #EAF5EE;
      color: #1F6B3C;
    }

    .pub-card__year {
      font-family: var(--ff-mono);
      font-size: .8rem;
      color: var(--clr-ink-3);
      margin-bottom: .4rem;
    }

    .pub-card h3 {
      font-family: var(--ff-serif);
      font-size: 1.15rem;
      font-weight: 400;
      line-height: 1.4;
      margin-bottom: .75rem;
      flex: 1;
    }

    .pub-card__meta {
      font-size: .8rem;
      color: var(--clr-ink-3);
      border-top: 1px solid var(--clr-border);
      padding-top: .75rem;
      margin-top: auto;
    }

    .link-arrow {
      display: inline-flex;
      align-items: center;
      gap: .3rem;
      color: var(--clr-accent);
      font-size: .875rem;
      font-weight: 500;
      margin-top: 1.5rem;
      transition: gap .2s;
    }

    .link-arrow:hover {
      gap: .6rem;
    }

    .link-arrow svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      fill: none;
    }

    /* ============================================================
       O CENTRU (ABOUT)
    ============================================================ */
    .about {
      background: var(--clr-surface);
    }

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

    .about__timeline {
      position: relative;
      padding-left: 2rem;
    }

    .about__timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, var(--clr-accent), var(--clr-gold));
    }

    .timeline-item {
      position: relative;
      padding-bottom: 2rem;
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      left: -2rem;
      top: .35rem;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--clr-accent);
      border: 2px solid var(--clr-bg);
      box-shadow: 0 0 0 2px var(--clr-accent);
      transform: translateX(-4px);
    }

    .timeline-item:last-child {
      padding-bottom: 0;
    }

    .timeline-year {
      font-family: var(--ff-mono);
      font-size: .75rem;
      color: var(--clr-gold);
      letter-spacing: .08em;
      margin-bottom: .25rem;
    }

    .timeline-item h4 {
      font-family: var(--ff-serif);
      font-size: 1.1rem;
      font-weight: 400;
      margin-bottom: .3rem;
    }

    .timeline-item p {
      font-size: .875rem;
      color: var(--clr-ink-3);
    }

    .about__values {
      margin-top: 3rem;
    }

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

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

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

    .value-num {
      font-family: var(--ff-serif);
      font-size: 2rem;
      font-weight: 300;
      color: var(--clr-border);
      line-height: 1;
      flex-shrink: 0;
      width: 2.5rem;
    }

    .value-row h4 {
      font-family: var(--ff-serif);
      font-size: 1.05rem;
      font-weight: 500;
      margin-bottom: .25rem;
    }

    .value-row p {
      font-size: .875rem;
      color: var(--clr-ink-3);
    }

    /* Partner logos */
    .partners {
      background: var(--clr-bg-warm);
      padding: 3rem 0;
      border-top: 1px solid var(--clr-border);
      border-bottom: 1px solid var(--clr-border);
    }

    .partners__label {
      text-align: center;
      margin-bottom: 2rem;
    }

    .partners__grid {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3rem;
      flex-wrap: wrap;
    }

    .partner-chip {
      display: flex;
      align-items: center;
      gap: .5rem;
      padding: .6rem 1.25rem;
      background: var(--clr-surface);
      border: 1px solid var(--clr-border);
      border-radius: 100px;
      font-size: .8rem;
      font-weight: 500;
      color: var(--clr-ink-2);
    }

    .partner-chip svg {
      width: 16px;
      height: 16px;
      stroke: var(--clr-accent);
      fill: none;
      flex-shrink: 0;
    }

    /* ============================================================
       SURVEY PROGRAMS (MEDNARODNI)
    ============================================================ */
    .surveys {
      background: var(--clr-bg);
    }

    .survey-item {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 2rem;
      padding: 1.75rem 2rem;
      background: var(--clr-surface);
      border: 1px solid var(--clr-border);
      border-radius: var(--r-md);
      margin-bottom: 1rem;
      transition: border-color .2s, box-shadow .2s;
    }

    .survey-item:hover {
      border-color: var(--clr-accent-2);
      box-shadow: var(--shadow-sm);
    }

    .survey-abbr {
      font-family: var(--ff-serif);
      font-size: 1.8rem;
      font-weight: 300;
      color: var(--clr-accent);
      min-width: 80px;
    }

    .survey-desc h4 {
      font-family: var(--ff-serif);
      font-size: 1.05rem;
      font-weight: 400;
      margin-bottom: .25rem;
    }

    .survey-desc p {
      font-size: .85rem;
      color: var(--clr-ink-3);
    }

    .survey-years {
      font-family: var(--ff-mono);
      font-size: .75rem;
      color: var(--clr-gold);
      white-space: nowrap;
    }
.survey-button {
  display: inline-flex;
  align-items: center;
  justify-content: 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;
  text-decoration: none;

  /* Smooth transitions */
  transition: 
    background .25s var(--ease-out),
    border-color .25s var(--ease-out),
    transform .25s var(--ease-out),
    box-shadow .25s var(--ease-out);
}

.survey-button:hover {
  background: var(--clr-accent-2);
  border-color: var(--clr-accent-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27, 61, 107, .22);
}

.survey-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 61, 107, .18);
}

.survey-button:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
}
    /* ============================================================
       DATA ACCESS
    ============================================================ */
    .data {
      background: var(--clr-bg-warm);
    }

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

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

    .data-step:last-child {
      border-bottom: none;
    }

    .step-num {
      width: 36px;
      height: 36px;
      flex-shrink: 0;
      background: var(--clr-accent);
      color: #fff;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-family: var(--ff-mono);
      font-size: .8rem;
      font-weight: 500;
    }

    .data-step h4 {
      font-family: var(--ff-serif);
      font-size: 1.05rem;
      font-weight: 400;
      margin-bottom: .2rem;
    }

    .data-step p {
      font-size: .875rem;
      color: var(--clr-ink-3);
    }

    .data__adp {
      background: var(--clr-surface);
      border: 1px solid var(--clr-border);
      border-radius: var(--r-md);
      padding: 2.5rem;
      position: sticky;
      top: calc(var(--nav-h) + 2rem);
    }

    .data__adp h3 {
      font-family: var(--ff-serif);
      font-size: 1.6rem;
      font-weight: 400;
      margin-bottom: 1rem;
    }

    .adp-stat {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: .75rem 0;
      border-bottom: 1px solid var(--clr-border);
    }

    .adp-stat:last-of-type {
      border-bottom: none;
    }

    .adp-stat-label {
      font-size: .875rem;
      color: var(--clr-ink-3);
    }

    .adp-stat-val {
      font-family: var(--ff-serif);
      font-size: 1.4rem;
      font-weight: 300;
      color: var(--clr-accent);
    }

    /* ============================================================
       ANKETIRANCI
    ============================================================ */
    .participants {
      background: var(--clr-surface);
    }

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

    .part-card {
      background: var(--clr-bg);
      border: 1px solid var(--clr-border);
      border-radius: var(--r-md);
      padding: 2rem;
      text-align: center;
    }

    .part-card__icon {
      width: 56px;
      height: 56px;
      background: var(--clr-accent-lt);
      border-radius: 50%;
      display: grid;
      place-items: center;
      margin: 0 auto 1.25rem;
    }

    .part-card__icon svg {
      width: 28px;
      height: 28px;
      stroke: var(--clr-accent);
      fill: none;
      stroke-width: 1.5;
    }

    .part-card h3 {
      font-family: var(--ff-serif);
      font-size: 1.2rem;
      font-weight: 400;
      margin-bottom: .5rem;
    }

    .part-card p {
      font-size: .875rem;
      color: var(--clr-ink-3);
    }

    /* Ethics badge */
    .ethics-badge {
      display: flex;
      gap: 1rem;
      align-items: flex-start;
      background: #EAF5EE;
      border: 1px solid #C2E2CC;
      border-radius: var(--r-md);
      padding: 1.5rem;
      margin-top: 3rem;
    }

    .ethics-badge svg {
      width: 24px;
      height: 24px;
      stroke: #1F6B3C;
      fill: none;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .ethics-badge h4 {
      font-family: var(--ff-serif);
      font-size: 1.05rem;
      font-weight: 400;
      color: #1F6B3C;
      margin-bottom: .25rem;
    }

    .ethics-badge p {
      font-size: .875rem;
      color: #2D6645;
    }

    /* ============================================================
     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;
    }

    /* ============================================================
       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;
      }
    }


   /* =========================================
   LANGUAGE SWITCHER
========================================= */

.language-switcher {
    position: relative;
    flex-shrink: 0;
}

.language-switcher__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.language-switcher__button:hover {
    transform: translateY(-1px);
    border-color: rgba(171, 0, 0, 0.28);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.language-switcher__icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.language-switcher__chevron {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.25s ease;
}

.language-switcher.open .language-switcher__chevron {
    transform: rotate(180deg);
}

.language-switcher__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 100;
    min-width: 190px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(18px);
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #334155;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.language-option:hover {
    background: #f8fafc;
}

.language-option.active {
    color: #ab0000;
    background: rgba(171, 0, 0, 0.07);
}

.language-check {
    opacity: 0;
}

.language-option.active .language-check {
    opacity: 1;
}

 /* =========================================
   Izpostavljene raziskave
========================================= */

/* =========================================
   IZPOSTAVLJENA AKTUALNA RAZISKAVA
========================================= */

.featured-active-research {
    padding: 42px 0;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 56, 56, 0.12),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #fffaf7 0%,
            #f8f3ee 55%,
            #f4ece6 100%
        );
}

.featured-active-research__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    padding: 48px 52px;
    overflow: hidden;
    border: 1px solid rgba(171, 0, 0, 0.12);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

.featured-active-research__inner::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -100px;
    top: -130px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 56, 56, 0.16),
        transparent 70%
    );
    pointer-events: none;
}

.featured-active-research__content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.featured-active-research__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #ab0000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.featured-active-research__eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: linear-gradient(
        90deg,
        #ab0000,
        #ff3838
    );
}

.featured-active-research h2 {
    margin: 0;
    color: #171717;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.featured-active-research__description {
    max-width: 720px;
    margin-top: 20px;
    color: #5d6470;
    font-size: 17px;
    line-height: 1.75;
}

.featured-active-research__description > *:last-child {
    margin-bottom: 0;
}

.featured-active-research__action {
    position: relative;
    z-index: 1;
}

.featured-active-research__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    background: linear-gradient(
        90deg,
        #ab0000,
        #ff3838
    );
    box-shadow:
        0 16px 34px rgba(171, 0, 0, 0.22);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.featured-active-research__button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 22px 42px rgba(171, 0, 0, 0.3);
}

.featured-active-research__button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

@media (max-width: 800px) {
    .featured-active-research__inner {
        grid-template-columns: 1fr;
        padding: 36px 30px;
    }

    .featured-active-research__button {
        width: 100%;
    }
}