:root {
  --bg: #080808;
  --surface: #101010;
  --surface-2: #171717;
  --text: #f4f4f1;
  --muted: #a5a5a0;
  --line: #292929;
  --accent: #ffffff;
  --max: 1240px;
  --radius: 2px;
  --space: clamp(4rem, 7vw, 7rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding-block: var(--space); border-top: 1px solid var(--line); }
.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.display {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(2.35rem, 1.5rem + 2.7vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.06;
}
.headline {
  margin: 0;
  max-width: 860px;
  font-size: clamp(1.85rem, 1.3rem + 1.7vw, 3.25rem);
  font-weight: 620;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.title-sm {
  margin: 0;
  font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.15;
}
.lead { max-width: 700px; margin: 1.5rem 0 0; color: #d3d3ce; font-size: clamp(1.02rem, 1.25vw, 1.18rem); }
.muted { color: var(--muted); }
.kicker { color: var(--muted); font-size: .9rem; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: none;
  background: transparent;
  transition: transform .35s ease;
}
.site-header.site-header--hidden {
  transform: translateY(-100%);
}
.site-header .nav a,
.site-header .logo {
  text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
}
.site-header .logo-image {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .7));
}
.nav-wrap { min-height: 74px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: #c7c7c2; font-size: .92rem; transition: color .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.logo { justify-self: end; font-weight: 760; letter-spacing: -.035em; font-size: 1.18rem; }
.logo-mark { display: inline-block; width: .45rem; height: .45rem; margin-right: .5rem; background: #fff; transform: rotate(45deg); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.menu-toggle:hover { background: rgba(255, 255, 255, .16); box-shadow: 0 0 20px 4px rgba(255, 255, 255, .25); }
.menu-toggle:active { transform: scale(.96); box-shadow: 0 0 14px 3px rgba(255, 255, 255, .35); }
.menu-icon { width: 18px; height: 18px; object-fit: contain; }

.hero { min-height: min(860px, 92svh); display: flex; align-items: flex-end; padding: clamp(4.5rem, 8vw, 7rem) 0 3rem; }
.hero-grid { width: 100%; }
.hero-bottom { margin-top: clamp(2.5rem, 5vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.hero-copy { max-width: 620px; color: #c7c7c2; font-size: clamp(1rem, 1.15vw, 1.14rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .85rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #090909;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover {
  background: #f0f0ee;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22), 0 0 28px 6px rgba(255, 255, 255, .35);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2), 0 0 18px 4px rgba(255, 255, 255, .45);
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .2), 0 0 28px 6px rgba(255, 255, 255, .35);
}
.btn-outline { background: rgba(255, 255, 255, .07); color: #fff; box-shadow: none; }
.btn-outline:hover {
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3), 0 0 28px 6px rgba(255, 255, 255, .18);
}
.btn-outline:active {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3), 0 0 18px 4px rgba(255, 255, 255, .28);
}
.btn-outline:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12), 0 0 28px 6px rgba(255, 255, 255, .18);
}

.showreel-section {
  padding-block: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
    url("/assets/media/benner2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 72% 22%, #303030 0, #151515 28%, #0b0b0b 63%);
}
.reel-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 0 58%, rgba(255,255,255,.05)); }
.reel-video { width: 100%; height: 100%; object-fit: cover; }
.reel-meta { position: absolute; inset: auto 1.25rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.play { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: #000; font-size: 1rem; }
.reel-note { max-width: 380px; text-align: right; color: #c6c6c2; }

.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.v-stack > * + * { margin-top: 2rem; }
.statement { max-width: 820px; margin: 0; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 3rem); line-height: 1.15; letter-spacing: -.02em; }
.statement em { color: var(--muted); font-style: normal; }

.service-list { margin-top: 3.2rem; border-top: 1px solid var(--line); }
.service-link { display: grid; grid-template-columns: 72px 1fr 1fr auto; gap: 1.2rem; align-items: center; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.service-link span { color: var(--muted); font-size: .85rem; }
.service-link p { margin: 0; color: var(--muted); }
.arrow { font-size: 1.4rem; transition: transform .2s ease; }
.service-link:hover .arrow { transform: translate(4px, -4px); }
.service-link:hover .title-sm { color: #cfcfca; }

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; margin-top: 3rem; }
.work-card { grid-column: span 6; }
.work-card.wide { grid-column: span 8; }
.work-card.small { grid-column: span 4; }
.work-visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); background: #111; }
.work-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, transparent 40%, rgba(255,255,255,.08)); }
.visual-one { background: linear-gradient(135deg, #0b0b0b, #242424 48%, #101010); }
.visual-two { background: radial-gradient(circle at 25% 55%, #393939, #121212 42%, #080808 78%); }
.visual-three { background: linear-gradient(35deg, #080808 0 42%, #2d2d2d 43% 56%, #111 57%); }
.visual-label { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .45rem .62rem; border: 1px solid #494949; background: rgba(8,8,8,.72); color: #d7d7d2; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.work-info { display: flex; justify-content: space-between; gap: 1rem; padding-top: .95rem; }
.work-info p { margin: .25rem 0 0; color: var(--muted); }

.steps { margin-top: 3rem; counter-reset: step; border-top: 1px solid var(--line); }
.step { counter-increment: step; display: grid; grid-template-columns: 80px 1fr 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.step::before { content: "0" counter(step); color: var(--muted); font-size: .82rem; }
.step p { margin: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); }
.feature { min-height: 210px; padding: 1.4rem; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; }
.feature-num { color: var(--muted); font-size: .78rem; }
.feature p { margin: .7rem 0 0; color: var(--muted); }

.cta-panel { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: end; }
.cta-panel .button-row { justify-content: flex-end; }

.page-hero { padding: clamp(5.5rem, 9vw, 8.5rem) 0 clamp(3.5rem, 6vw, 5.5rem); }
.page-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 3rem; align-items: end; }
.page-hero .lead { margin-bottom: .4rem; }
.result-band { border-block: 1px solid var(--line); background: var(--surface); }
.result-band .container { padding-block: 2.2rem; }
.result-band .eyebrow { display: block; margin-bottom: .75rem; }
.result-band p { margin: 0; font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.2; letter-spacing: -.03em; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.detail { min-height: 190px; padding: 1.6rem; background: var(--bg); }
.detail p { color: var(--muted); margin: .75rem 0 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.tag { padding: .55rem .75rem; border: 1px solid var(--line); color: #c9c9c4; font-size: .86rem; }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; padding: 1.35rem 0; border: 0; background: transparent; color: #fff; display: flex; justify-content: space-between; gap: 1rem; text-align: left; cursor: pointer; }
.faq-answer { display: none; max-width: 720px; padding: 0 0 1.4rem; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .2s ease; }

.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2rem 0 2.5rem; }
.filter {
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  padding: .6rem 1.1rem;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.filter.active,
.filter:hover { background: #fff; color: #000; box-shadow: 0 0 22px 5px rgba(255, 255, 255, .35); }
.filter:active { box-shadow: 0 0 14px 3px rgba(255, 255, 255, .45); }
.portfolio-item[hidden] { display: none; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 7rem); }
.about-grid p { color: #c2c2bd; font-size: 1.08rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.contact-links { display: grid; gap: .5rem; margin-top: 2rem; }
.contact-links a, .contact-links span { color: #d7d7d2; }
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field label { color: #c4c4bf; font-size: .88rem; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #0e0e0e;
  color: #fff;
  padding: 1rem;
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: #747474; }
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { min-height: 1.5rem; margin: 0; color: #c8c8c3; }
.privacy { color: var(--muted); font-size: .82rem; }

.site-footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1fr auto auto; gap: 3rem; align-items: start; }
.footer-links { display: grid; gap: .6rem; color: var(--muted); font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; color: #6f6f6b; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 66px; grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; order: -1; }
  .nav {
    position: fixed;
    inset: 66px 0 0;
    display: none;
    align-content: start;
    gap: 0;
    padding: 2rem 1rem;
    background: var(--bg);
  }
  .nav.open { display: grid; }
  .nav a { padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
  .logo { grid-column: 2; }
  .hero { min-height: auto; padding-top: 6rem; }
  .hero-bottom, .page-hero-grid, .split, .cta-panel, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .cta-panel .button-row { justify-content: flex-start; }
  .reel-frame {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    border-inline: none;
  }
  .service-link { grid-template-columns: 45px 1fr auto; }
  .service-link p { grid-column: 2 / 4; }
  .work-card, .work-card.wide, .work-card.small { grid-column: 1 / -1; }
  .step { grid-template-columns: 45px 1fr; }
  .step p { grid-column: 2; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .hero-bottom { margin-top: 3rem; }
  .button-row, .button-row .btn { width: 100%; }
  .feature-grid, .form-row { grid-template-columns: 1fr; }
  .feature { min-height: 170px; }
  .footer-bottom { display: grid; }
}

.showreel-link {
  display: block;
  cursor: pointer;
  overflow: hidden;
}

.showreel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.showreel-link:hover .showreel-video {
  transform: scale(1.015);
  opacity: 0.9;
}
/* ===== HERO DESKTOP UPDATE ===== */

@media (min-width: 861px) {
  .hero {
    min-height: 100svh;
    align-items: center;
    padding: 5rem 0;
  }

  .hero .hero-grid {
    width: min(calc(100% - 96px), 1240px);
    margin-inline: auto;
  }

  .hero .display {
    max-width: 950px;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    justify-content: start;
    align-items: start;
    margin-top: clamp(2.5rem, 4vw, 4rem);
    gap: 1.75rem;
  }

  .hero .button-row {
    justify-content: flex-start;
  }
}

/* ===== MODERNIJA HERO DUGMAD ===== */

.hero .btn {
  min-width: 190px;
  min-height: 54px;
  padding: 0.75rem 0.8rem 0.75rem 1.3rem;

  justify-content: space-between;
  gap: 1rem;

  border-radius: 999px;
  border: none;

  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: -0.015em;

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

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

.hero .btn span,
.hero .btn-outline::after {
  width: 31px;
  height: 31px;

  display: inline-grid;
  place-items: center;

  border-radius: 50%;
  font-size: 0.9rem;

  transition: transform 0.25s ease;
}

.hero .btn span {
  background: rgba(0, 0, 0, 0.09);
}

.hero .btn-outline {
  background: rgba(10, 10, 10, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

.hero .btn-outline::after {
  content: "↗";
  background: rgba(255, 255, 255, 0.1);
}

.hero .btn:hover,
.hero .btn:focus-visible {
  transform: translateY(-3px);
  background: #e8e8e5;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3), 0 0 30px 6px rgba(255, 255, 255, 0.4);
}

.hero .btn:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px 4px rgba(255, 255, 255, 0.5);
}

.hero .btn-outline:hover,
.hero .btn-outline:focus-visible {
  background: rgba(30, 30, 30, .7);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 30px 6px rgba(255, 255, 255, 0.22);
}

.hero .btn-outline:active {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px 4px rgba(255, 255, 255, 0.3);
}

.hero .btn:hover span,
.hero .btn-outline:hover::after {
  transform: translate(2px, -2px);
}

/* Mobilna verzija ostaje kao ranije */

@media (max-width: 860px) {
  .hero .hero-grid {
    width: min(calc(100% - 28px), var(--max));
    margin-inline: auto;
  }

  .hero .btn {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .hero .btn {
    min-height: 44px;
    padding: 0.6rem 0.6rem 0.6rem 1rem;
    font-size: 0.86rem;
  }
  .hero .btn span,
  .hero .btn-outline::after {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }
}
/* ===== HERO BACKGROUND ===== */

.hero {
  position: relative;
  isolation: isolate;

  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0,
      rgba(0, 0, 0, 0) 160px
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.62) 45%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("/assets/media/Banner\ -\ Desktop.png");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Osigurava da tekst i dugmad budu iznad pozadine */

.hero .hero-grid {
  position: relative;
  z-index: 2;
}

/* Mobilna verzija */

@media (max-width: 860px) {
  .hero {
    min-height: 100svh;
    align-items: flex-start;
    padding-top: 6rem;

    background-image:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.6) 45%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.15) 100%
      ),
      url("/assets/media/Banner\ -\ mobile.png");

    background-position: center top;
  }
}‚
/* ===== PRIMEFIELD LOGO ===== */

.logo-image {
  display: block;
  width: auto;
  height: 30px;
  object-fit: contain;
}

.footer-logo {
  display: inline-block;
  margin-bottom: .9rem;
}

.site-footer .logo-image {
  width: auto !important;
  height: 28px !important;
  max-width: 150px;
}

@media (max-width: 860px) {
  .logo-image {
    height: 26px;
  }

  .site-footer .logo-image {
    height: 24px !important;
    max-width: 130px;
  }
}/* ===== PRIMEFIELD LOGO U HEADERU ===== */

.site-header .nav-wrap {
  height: 74px;
  min-height: 74px;
}

.site-header .logo {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.site-header .logo-image {
  display: block;
  width: auto !important;
  height: 42px !important;
  max-width: 240px;
  object-fit: contain;
}

/* Mobilni prikaz */

@media (max-width: 860px) {
  .site-header .nav-wrap,
  .site-header .logo {
    height: 66px;
    min-height: 66px;
  }

  .site-header .logo-image {
    width: auto !important;
    height: 34px !important;
    max-width: 200px;
  }
}