/* =====================================================================
   Sadržaj preko scena
   Za sada scene nemaju tekst ni dugmad – samo priču. Naslovi scena postoje, ali su
   skriveni (.sr-only), za pretraživače i čitače ekrana. Jedini vidljivi sadržaj je
   traka sa prednostima na dnu prve scene.
   ===================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Blago zatamnjenje: gore zbog menija, dole zbog trake */
.scene__shade {
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 18%),
    linear-gradient(to top, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 20%);
}
.film-page .footer { display: none; }

.ui__block { cursor: auto; }
.reveal { opacity: 1; }
.scene.is-arrived .reveal { animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) var(--d, .15s) both; }

/* ===== Prva scena (luka) po korisnikovom snimku: tamna traka sa zlatnim okvirom preko skoro
   cele širine, uz donju ivicu; 4 stavke (zlatna ikonica + naslov velikim slovima + opis u 2 reda),
   između njih tanke zlatne crte. Mere su uzete sa snimka (ekran 1400×750). ===== */
.ui-strip {
  position: absolute;
  left: 3.2vw;
  right: 3vw;
  bottom: 3.2vh;
  height: 13.4vh;
  min-height: 84px;
  display: flex;
  align-items: center;
  border: 1.5px solid #c9a24b;
  border-radius: 10px;
  background: rgba(7,7,6,.9);
  box-shadow: 0 0 10px rgba(201,162,75,.25), 0 18px 40px rgba(0,0,0,.45);
}
.ui__usp { display: grid; grid-template-columns: 1.1fr 1fr 1.12fr .98fr; width: 100%; list-style: none; }
.ui__usp li { position: relative; display: flex; align-items: center; gap: 1.5vw; padding: 0 .6vw 0 1.9vw; }
.ui__usp li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 7.6vh;
  width: 1.5px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, rgba(201,162,75,.35), #d9b05a 25%, #d9b05a 75%, rgba(201,162,75,.35));
}
.ui__usp img { width: auto; height: 7vh; max-width: 3.8vw; flex-shrink: 0; object-fit: contain; }
.ui__usp strong {
  display: block;
  font-size: clamp(.7rem, .98vw, 1.1rem);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: .05em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
}
.ui__usp span {
  display: block;
  margin-top: .7vh;
  font-size: clamp(.64rem, .88vw, .98rem);
  line-height: 1.4;
  white-space: nowrap;
  color: rgba(255,255,255,.92);
}
/* kamion i radnik stoje tik iznad trake, kao na snimku */
.scene--luka .scene__set { translate: 0 -5.6vh; }

@media (min-aspect-ratio: 1/1) and (max-width: 1100px) {
  .ui-strip { left: 16px; right: 16px; }
  .ui__usp li { gap: 12px; padding: 0 10px 0 14px; }
  .ui__usp strong { white-space: normal; }
  .ui__usp span { display: none; }
}

/* Telefon: traka postaje tamna kartica 2 × 2 sa zlatnim okvirom */
@media (max-aspect-ratio: 1/1) {
  .ui-strip { left: 16px; right: 16px; bottom: 24px; height: auto; max-width: 560px; margin: 0 auto; padding: 14px 6px; }
  .scene--luka .scene__set { translate: -50% 0; }
  .ui__usp { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .ui__usp li { gap: 10px; padding: 0 8px 0 12px; }
  .ui__usp li + li::before { display: none; }
  .ui__usp li:nth-child(even)::before { display: block; height: 70%; }
  .ui__usp img { height: 30px; max-width: 34px; }
  .ui__usp strong { font-size: .64rem; letter-spacing: .03em; }
  .ui__usp span { display: none; }
  .ui__usp strong { white-space: normal; font-size: .66rem; }
}


/* =====================================================================
   Poslednja scena (ulica): traka "kome isporučujemo" + zlatno dugme za ponudu.
   Traka je pun, taman pojas preko dna kadra sa zlatnim linijama gore i dole;
   ulica se podigne za četvrtinu visine trake, a kamion stoji tik iznad nje.
   ===================================================================== */
.scene--ulica {
  --bar-h: clamp(100px, 19.5vh, 176px);
  --bar-pad-r: clamp(12px, 1.4vw, 24px);
  --cta-w: clamp(220px, 25.5vw, 440px);
  --bar-line: 4px;     /* debljina zlatnog bordera gore i dole */
  --cta-top: 14px;     /* razmak iznad dugmeta */
}
@media (min-aspect-ratio: 1/1) {
  .scene--ulica .scene__stage {
    bottom: calc(var(--bar-h) * .25);
    width: max(100%, calc((100svh - var(--bar-h) * .25) * 1.7778), 1067px);
  }
  .scene--ulica .truck { left: 30.7%; bottom: 13.5%; width: 41.3%; }
}
/* vrh kadra svetliji nego u ostalim scenama (ulica se vidi odmah ispod menija) */
.scene--ulica .scene__shade { background: linear-gradient(to bottom, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 9%, rgba(0,0,0,0) 17%); }
/* odjavna linija footera bi pala preko trake */
.film-page.is-end .footer { display: none; }

.ul-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  height: var(--bar-h);
  padding: 0 var(--bar-pad-r) 0 clamp(16px, 6.5vw, 120px);
  background:
    radial-gradient(ellipse 60% 140% at 45% 50%, rgba(44,42,36,.55), rgba(44,42,36,0) 70%),
    linear-gradient(180deg, #121211 0%, #0b0b0a 100%);
  box-shadow: 0 -18px 40px rgba(0,0,0,.45);
}
/* zlatni border: gore preko cele širine, dole do dugmeta – odatle se penje uz
   kosu levu stranu dugmeta (ta kosa linija je u SVG-u dugmeta, .ul-bar__edge) */
.ul-bar::before,
.ul-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--bar-line);
  pointer-events: none;
}
.ul-bar::before {
  top: 0;
  background: linear-gradient(90deg, #7a5a1c, #e8c46c 18%, #c99a3c 50%, #f1d283 82%, #8f6a22);
  box-shadow: 0 0 16px rgba(230,190,100,.55);
}
.ul-bar::after {
  bottom: 0;
  right: calc(var(--bar-pad-r) + var(--cta-w) - 1px);
  background: linear-gradient(90deg, #7a5a1c, #e8c46c 22%, #c99a3c 55%, #f1d283 100%);
  box-shadow: 0 0 16px rgba(230,190,100,.55);
}

.ul-bar__list {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  height: 100%;
  list-style: none;
}
.ul-bar__list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.1vh, 12px);
  height: 100%;
  padding: 0 8px;
  text-align: center;
}
/* zlatni separatori koji blede ka krajevima */
.ul-bar__list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: linear-gradient(180deg, rgba(201,162,75,0), #c99a3c 20%, #e6c06a 50%, #c99a3c 80%, rgba(201,162,75,0));
}
.ul-bar__list img {
  display: block;
  width: auto;
  height: clamp(38px, 10.6vh, 96px);
  max-width: 80%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(230,190,100,.25));
}
.ul-bar__list span {
  font-family: var(--font-head);
  font-size: clamp(.62rem, min(1.08vw, 2.4vh), 1.04rem);
  font-weight: 700;
  letter-spacing: .015em;
  white-space: nowrap;
  line-height: 1.15;
  text-transform: uppercase;
  color: #f4e7c8;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

/* Zlatno dugme sa kosom levom ivicom (oblik je SVG, razvlači se po dugmetu) */
.ul-bar__cta {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 22px);
  align-self: flex-end;
  width: var(--cta-w);
  height: calc(100% - var(--cta-top));
  /* tekst centriran u zlatnom delu (donjih 16/112 okvira je razmak) */
  padding-bottom: calc((var(--bar-h) - var(--cta-top)) * .143);
  margin-left: clamp(8px, 1.5vw, 24px);
  padding-left: 6%;
  color: #1b1407;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.45));
  transition: transform .3s ease, filter .3s ease;
}
.ul-bar__shape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.ul-bar__cta:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 24px rgba(201,162,75,.35)); }
.ul-bar__label {
  font-family: var(--font-head);
  font-size: clamp(.82rem, min(1.62vw, 3.6vh), 1.5rem);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ul-bar__arrow { width: clamp(16px, 1.6vw, 26px); height: auto; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ul-bar__cta { isolation: isolate; }
.ul-bar__edge { fill: none; stroke: #f1d283; stroke-width: var(--bar-line); filter: drop-shadow(0 0 5px rgba(241,210,131,.8)); }
/* dugme "sedi" na donjoj ivici, pa podizanje na hover ne sme da ga odvoji od bordera */
.ul-bar__cta:hover { transform: none; filter: drop-shadow(0 0 18px rgba(201,162,75,.35)) brightness(1.08); }

/* Uži široki ekrani: manje mesta između ikonica */
@media (min-aspect-ratio: 1/1) and (max-width: 1100px) {
  .ul-bar { padding-left: 12px; }
  .ul-bar__list li { padding: 0 4px; }
}

/* Telefon: ikonice u redu iznad, dugme preko cele širine ispod */
@media (max-aspect-ratio: 1/1) {
  /* cela ulica (pozadina + likovi) se podigne iznad trake, kao na širokom ekranu */
  .scene--ulica .scene__stage { bottom: 160px; }
  .ul-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    height: auto;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  }
  .ul-bar__list li { gap: 6px; padding: 4px 2px; }
  .ul-bar__list li + li::before { top: 10%; bottom: 10%; }
  .ul-bar__list img { height: 30px; }
  .ul-bar__list span { min-height: 2.3em; font-size: .54rem; letter-spacing: .01em; white-space: normal; text-wrap: balance; }
  .ul-bar::after { display: none; }
  .ul-bar { border-bottom: var(--bar-line) solid #c99a3c; }
  .ul-bar__cta { padding-bottom: 8px; }
  .ul-bar__edge { display: none; }
  .ul-bar__cta { align-self: stretch; width: 100%; height: 54px; margin: 0; padding-left: 4%; }
  .ul-bar__label { font-size: .9rem; }
  .ul-bar__arrow { width: 18px; }
}

/* =====================================================================
   Druga scena (magacin) po korisnikovom snimku: zlatni okvir (panel iza logoa,
   tamna ploča iza naslova, kose linije), naslov "Skladištenje i priprema robe",
   kamion u sredini, viljuškar prilazi s leva, traka-trapez sa 3 koraka na dnu.
   Mere su uzete sa snimka (ekran 1400×750), pa su u vw/vh i % pozornice.
   ===================================================================== */
.scene--magacin { --mg-bar-h: 16vh; }

/* likovi i vozila (u % pozornice 16:9) */
.scene--magacin .truck { left: 33.4%; bottom: 16.8%; width: 39.6%; }
.scene--magacin .actor--tablet { left: 82%; bottom: 19.7%; height: 14.6%; }
/* viljuškar: telo + vile (posebna slika) – priđe kamionu, podigne vile, uđe u kamion,
   izvuče paletu, odmakne se, spusti vile i odveze robu */
.lift--mg { bottom: 17.5%; height: 22.1%; --fork-up: -34%; }
.lift--mg .lift__beacon { left: 19%; top: 1.5%; }
.lift--mg .lift__forks { position: absolute; inset: 0; }
.lift--mg .lift__forks > img:first-child { height: 100%; width: auto; }
.lift--mg .lift__pallet { position: absolute; left: 69%; bottom: 7%; height: 92%; width: auto; }
.scene--magacin.is-arrived .lift--mg { animation: mgLift 9s 3.2s both; }
.scene--magacin.is-arrived .lift--mg .lift__forks { animation: mgForks 9s 3.2s both; }
.scene--magacin.is-arrived .lift--mg .lift__pallet { animation: mgPallet 9s 3.2s both; }
.scene--magacin.is-arrived .actor--box { animation-delay: 10.4s; }
.scene--magacin.is-arrived .actor--box2 { animation-delay: 11.7s; }
.scene--magacin.is-arrived .actor--thumb { animation-delay: 13.6s; }
.scene--magacin.is-arrived .actor--thumb img { animation-delay: 14.5s; }
@keyframes mgLift {
  0% { left: -30%; animation-timing-function: cubic-bezier(.3,.6,.4,1); }
  24%, 36% { left: 7%; animation-timing-function: ease-in-out; }
  /* vile do kraja u kamionu (nosač vila uz zadnju ivicu sanduka) */
  44%, 54% { left: 18.8%; animation-timing-function: ease-in-out; }
  63%, 72% { left: 4.5%; animation-timing-function: cubic-bezier(.5,0,.7,.6); }
  100% { left: -30%; }
}
@keyframes mgForks {
  0%, 25% { transform: translateY(0); animation-timing-function: ease-in-out; }
  34%, 46% { transform: translateY(var(--fork-up)); animation-timing-function: ease-in-out; }
  51%, 63% { transform: translateY(calc(var(--fork-up) - 4%)); animation-timing-function: ease-in-out; }
  72%, 100% { transform: translateY(0); }
}
@keyframes mgPallet {
  0%, 45% { opacity: 0; }
  46%, 100% { opacity: 1; }
}
/* radnici sa kutijama i radnik sa palcem stoje na podu ispred regala */
.scene--magacin .actor--box { bottom: 16.5%; height: 22%; }
.scene--magacin .actor--thumb { left: 21%; bottom: 15.5%; height: 23%; }

/* okvir preko celog kadra */
.mg-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mg-frame__line {
  fill: none;
  stroke: #e9c46f;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(241,210,131,.85));
}
.mg-frame__line--soft { stroke: rgba(233,196,111,.55); stroke-width: 1.5px; }

/* naslov */
.mg-copy {
  position: absolute;
  left: 23.4vw;
  top: 17.5vh;
  z-index: 1;
  width: 56.6vw;
}
.mg-eyebrow {
  display: flex;
  align-items: center;
  gap: .6em;
  font-size: clamp(.62rem, 1.05vw, 1rem);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #e6c06a;
}
.mg-eyebrow span { color: rgba(230,192,106,.75); }
.mg-eyebrow::after {
  content: "";
  flex: 1;
  height: 2px;
  margin-left: .8em;
  background: linear-gradient(90deg, #c99a3c, #f1d283 70%, rgba(241,210,131,.4));
  box-shadow: 0 0 6px rgba(241,210,131,.6);
}
.mg-title {
  display: flex;
  flex-direction: column;
  margin-top: 2.6vh;
  font-size: clamp(1.8rem, 4.6vw, 6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: none;
}
.mg-title span {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.6));
}
.mg-title span:first-child { background-image: linear-gradient(180deg, #fbe3a0 0%, #e8bf5f 55%, #c2902f 100%); }
.mg-title span:last-child { background-image: linear-gradient(180deg, #fffaf0 0%, #f3e3c0 60%, #d9bf8c 100%); }
.mg-sub {
  max-width: 23em;
  margin-top: 1.6vh;
  font-size: clamp(.8rem, 1.55vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.mg-rule {
  display: block;
  width: 42vw;
  height: 2px;
  margin: 2.6vh 0 0 2.4vw;
  background: linear-gradient(90deg, rgba(241,210,131,0), #e9c46f 30%, #f6dc8f 70%, rgba(241,210,131,0));
  box-shadow: 0 0 8px rgba(241,210,131,.6);
}

/* traka-trapez na dnu */
.mg-bar {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: 57.1vw;
  height: var(--mg-bar-h);
  transform: translateX(-50%);
}
.mg-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(13.1% 0, 86.9% 0, 100% 100%, 0 100%);
  /* od tamne dole ka providnoj gore */
  background: linear-gradient(0deg, rgba(5,5,4,.97) 0%, rgba(6,6,5,.82) 40%, rgba(8,8,6,.35) 75%, rgba(8,8,6,0) 100%);
}
.mg-bar__edge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: #e9c46f;
  stroke-width: 2.5px;
  filter: drop-shadow(0 0 5px rgba(241,210,131,.8));
}
.mg-bar__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 100%;
  padding: 0 6%;
  list-style: none;
}
.mg-bar__list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.3vh;
}
.mg-bar__list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 14%;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(201,162,75,.2), #e6c06a 30%, #e6c06a 70%, rgba(201,162,75,.2));
}
.mg-bar__list img { height: 7.6vh; width: auto; max-width: 70%; object-fit: contain; filter: drop-shadow(0 0 5px rgba(230,190,100,.3)); }
.mg-bar__list span {
  font-size: clamp(.6rem, min(1.28vw, 2.4vh), 1.15rem);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}


/* Telefon: naslov gore, traka preko cele širine dole, okvir bez kosih linija */
@media (max-aspect-ratio: 1/1) {
  .scene--magacin { --set-y: 15%; --mg-bar-h: 104px; }
  /* kamion je ovde desno od sredine – posle uvećanja (scene.css) pomeren je malo ulevo da stane u ekran */
  .scene--magacin .scene__set { translate: -55% 0; }
  /* uspravna slika magacina ima prolaz na ~36% širine: uvećana je tako da prolaz bude na sredini ekrana */
  .scene--magacin .scene__img { transform: scale(1.39); transform-origin: 0 80%; }
  .scene--magacin .actor--tablet { bottom: 19.7%; height: 14.6%; }
  .mg-frame { display: none; }
  .mg-copy { left: 16px; right: 16px; top: calc(var(--nav-h) + 24vh); width: auto; }
  .mg-eyebrow { font-size: .58rem; letter-spacing: .14em; }
  .mg-title { margin-top: 12px; font-size: 8.4vw; }
  .mg-sub { margin-top: 10px; font-size: .9rem; }
  .mg-rule { width: 70%; margin: 14px 0 0; }
  .mg-bar { width: 100%; }
  .mg-bar__list { padding: 0 6%; }
  .mg-bar__list li { gap: 8px; }
  .mg-bar__list img { height: 34px; }
  .mg-bar__list span { font-size: .6rem; letter-spacing: .04em; }
}

/* ===== Znak "skrolujte" – desno, ispod tačkica scena; nema ga u poslednjoj sceni ===== */
.film-hint {
  position: fixed;
  right: 9px;
  top: calc(50% + 62px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  border: 0;
  background: none;
  font-family: "Montserrat", system-ui, sans-serif;
  color: #e6c77a;
  cursor: pointer;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.9));
  transition: opacity .5s ease, visibility .5s;
  animation: hintIn .8s ease 2.2s both;
}
.film-hint.is-hidden { opacity: 0; visibility: hidden; }
.film-hint__mouse {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(230,199,122,.9);
  border-radius: 12px;
}
.film-hint__mouse span {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #f1d283;
  animation: hintWheel 1.6s ease-in-out infinite;
}
.film-hint__swipe { display: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: hintSwipe 1.6s ease-in-out infinite; }
.film-hint__text {
  writing-mode: vertical-rl;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.film-hint__m { display: none; }
.film-hint__chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: hintChev 1.6s ease-in-out infinite; }
.film-hint:hover { color: #fff; }
@keyframes hintIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hintWheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes hintChev { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }
@keyframes hintSwipe { 0%, 100% { transform: translateY(4px); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
/* telefon/tablet na dodir: "Prevucite" sa strelicom na gore */
@media (hover: none), (max-aspect-ratio: 1/1) {
  .film-hint__mouse, .film-hint__d { display: none; }
  .film-hint__swipe, .film-hint__m { display: block; }
  .film-hint { right: 3px; }
}
@media (prefers-reduced-motion: reduce) { .film-hint *, .film-hint { animation: none !important; } }

/* ===== Uočljiviji znak za skrolovanje (levo) i tačkice scena (desno) ===== */
.film-hint {
  left: 18px;
  right: auto;
  top: 50%;
  gap: 12px;
  padding: 16px 10px 14px;
  border: 1px solid rgba(201,162,75,.6);
  border-radius: 40px;
  background: rgba(11,10,8,.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 0 22px rgba(201,162,75,.25);
  transform: translateY(-50%);
  animation: hintIn .8s ease 2.2s both, hintGlow 2.4s ease-in-out 3s infinite;
}
@keyframes hintIn { from { opacity: 0; transform: translate(-12px, -50%); } to { opacity: 1; transform: translateY(-50%); } }
@keyframes hintGlow { 0%, 100% { box-shadow: 0 0 14px rgba(201,162,75,.2); } 50% { box-shadow: 0 0 30px rgba(241,210,131,.55); } }
.film-hint__mouse { width: 26px; height: 40px; border-width: 2px; }
.film-hint__mouse span { width: 4px; height: 9px; margin-left: -2px; top: 7px; }
.film-hint__swipe { width: 26px; height: 26px; }
.film-hint__text { font-size: .74rem; letter-spacing: .3em; transform: rotate(180deg); }
.film-hint__chev { width: 22px; height: 22px; }

.film-nav {
  right: 16px;
  gap: 12px;
  padding: 14px 9px;
  border: 1px solid rgba(201,162,75,.45);
  border-radius: 30px;
  background: rgba(11,10,8,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.film-nav button {
  width: 14px;
  height: 14px;
  border: 2px solid #e6c77a;
  box-shadow: 0 0 8px rgba(201,162,75,.4);
  transition: background .3s, height .3s, border-radius .3s, box-shadow .3s;
}
.film-nav button[aria-current] {
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f1d283, #c99a42);
  box-shadow: 0 0 14px rgba(241,210,131,.7);
  transform: none;
}
@media (hover: none), (max-aspect-ratio: 1/1) {
  .film-hint { left: 8px; right: auto; padding: 12px 7px; }
  .film-nav { right: 8px; padding: 10px 6px; gap: 10px; }
  .film-nav button { width: 11px; height: 11px; }
  .film-nav button[aria-current] { height: 26px; }
}

/* znak "skrolujte/prevucite" iste veličine kao kapsula sa tačkicama scena */
.film-hint { gap: 8px; padding: 12px 7px 10px; }
.film-hint__mouse { width: 16px; height: 26px; border-width: 1.5px; }
.film-hint__mouse span { width: 3px; height: 6px; margin-left: -1.5px; top: 5px; }
.film-hint__swipe { width: 16px; height: 16px; }
.film-hint__text { font-size: .54rem; letter-spacing: .22em; }
.film-hint__chev { width: 14px; height: 14px; }
@media (hover: none), (max-aspect-ratio: 1/1) {
  .film-hint { padding: 10px 5px 8px; gap: 6px; }
  .film-hint__text { font-size: .5rem; }
}

/* "Prevucite": iste strelice gore i dole, sve tačno na sredini kapsule */
.film-hint { align-items: center; justify-content: center; }
.film-hint > * { flex: 0 0 auto; margin: 0; }
.film-hint__text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  line-height: 1;
  /* razmak posle poslednjeg slova (letter-spacing) bi pomerio natpis – nadoknada sa druge strane */
  padding-top: .22em;
}
.film-hint__text > span { line-height: 1; }
.film-hint__swipe, .film-hint__chev { display: block; animation: hintChev 1.6s ease-in-out infinite; }
.film-hint__swipe { width: 14px !important; height: 14px !important; stroke-width: 2; }
@media (hover: none), (max-aspect-ratio: 1/1) {
  .film-hint__swipe { transform: rotate(180deg); animation: hintChevUp 1.6s ease-in-out infinite; }
  .film-hint__chev { transform: rotate(180deg); animation: hintChevUp 1.6s ease-in-out infinite; }
}
@keyframes hintChevUp { 0%, 100% { transform: rotate(180deg) translateY(0); opacity: .5; } 50% { transform: rotate(180deg) translateY(5px); opacity: 1; } }
/* donja strelica kod "Prevucite" pokazuje nadole (gornja nagore) */
@media (hover: none), (max-aspect-ratio: 1/1) {
  .film-hint__chev { transform: none; animation: hintChev 1.6s ease-in-out infinite; }
}

/* tačkice scena su sklonjene; znak "Skrolujte/Prevucite" stoji desno, na njihovom mestu */
.film-nav { display: none; }
.film-hint { left: auto; right: 18px; }
@keyframes hintIn { from { opacity: 0; transform: translate(12px, -50%); } to { opacity: 1; transform: translateY(-50%); } }
@media (hover: none), (max-aspect-ratio: 1/1) {
  .film-hint { left: auto; right: 8px; }
}

/* prva scena: 5 stavki u traci (dodata "Domaća trgovina") */
.ui__usp { grid-template-columns: 1.05fr 1fr 1.12fr .95fr .95fr; }
.ui__usp li { gap: 1.1vw; padding: 0 .5vw 0 1.3vw; }
.ui__usp img { height: 6.2vh; max-width: 3.3vw; }
.ui__usp strong { font-size: clamp(.64rem, .86vw, 1rem); }
.ui__usp span { font-size: clamp(.6rem, .78vw, .9rem); }
@media (min-aspect-ratio: 1/1) and (max-width: 1100px) {
  .ui__usp li { gap: 8px; padding: 0 6px 0 10px; }
}
@media (max-aspect-ratio: 1/1) {
  .ui__usp { grid-template-columns: 1fr 1fr; }
  .ui__usp img { height: 30px; max-width: 34px; }
  .ui__usp strong { font-size: .64rem; }
  /* peta stavka preko cele širine, na sredini */
  .ui__usp li:last-child { grid-column: 1 / -1; justify-content: center; }
  .ui__usp li:nth-child(5)::before { display: none; }
}

/* telefon: traka prve scene kao u poslednjoj sceni – 5 ikonica u jednom redu, natpis ispod */
@media (max-aspect-ratio: 1/1) {
  .ui-strip { padding: 12px 4px 10px; }
  .ui__usp { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .ui__usp li,
  .ui__usp li:last-child {
    grid-column: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
    padding: 0 3px;
    text-align: center;
  }
  .ui__usp li + li::before,
  .ui__usp li:nth-child(5)::before { display: block; left: 0; top: 10%; height: 80%; transform: none; }
  .ui__usp li:nth-child(even)::before { display: block; }
  .ui__usp img { height: 28px; max-width: 32px; }
  .ui__usp strong { font-size: .5rem; letter-spacing: .02em; line-height: 1.25; white-space: normal; }
  .ui__usp span { display: none; }
}

/* telefon: 3 + 2 stavke, krupnije ikonice i slova */
@media (max-aspect-ratio: 1/1) {
  .ui-strip { padding: 14px 6px 12px; }
  .ui__usp { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 14px; }
  .ui__usp li, .ui__usp li:last-child { grid-column: span 2; gap: 8px; padding: 0 6px; }
  .ui__usp li:nth-child(4), .ui__usp li:nth-child(5) { grid-column: span 3; }
  .ui__usp li::before { display: none !important; }
  .ui__usp li:nth-child(2)::before, .ui__usp li:nth-child(3)::before, .ui__usp li:nth-child(5)::before { display: block !important; }
  .ui__usp img { height: 36px; max-width: 42px; }
  .ui__usp strong { font-size: .64rem; letter-spacing: .03em; line-height: 1.3; }
}
/* telefon: kamion u luci iznad (više) trake */
@media (max-aspect-ratio: 1/1) { .scene--luka { --set-y: 26%; } }

/* ===== 5. scena: ukratko o firmi (tekst, kategorije, podaci) ===== */
.scene--kraj { background: radial-gradient(120% 80% at 50% 0%, #1b1a13 0%, #0a0a09 60%), #0a0a09; }
.scene--kraj .scene__view { display: flex; }
.kraj { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; padding: 110px 24px 40px; }
.kraj__in { width: 100%; max-width: 1080px; margin: auto; }
.kraj__eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 14px; }
.kraj__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.kraj__title { margin-top: 16px; font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 600; line-height: 1.12; }
.kraj__title span { display: block; background: linear-gradient(100deg, var(--gold-dark), var(--gold-light) 45%, var(--gold) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kraj__text { margin-top: 18px; max-width: 820px; font-size: 1rem; line-height: 1.75; color: rgba(247,242,231,.82); }
.kraj__cats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.kraj__cats a { display: block; height: 100%; padding: 16px 18px; border: 1px solid rgba(201,162,75,.28); border-radius: 12px; background: rgba(255,255,255,.025); text-decoration: none; transition: border-color .3s, background .3s, transform .3s; }
.kraj__cats a:hover { border-color: var(--gold); background: rgba(201,162,75,.08); transform: translateY(-2px); }
.kraj__cats b { display: block; font-size: .95rem; font-weight: 600; color: #fff; }
.kraj__cats small { display: block; margin-top: 5px; font-size: .8rem; line-height: 1.45; color: rgba(247,242,231,.6); }
.kraj__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; padding: 20px 0; border-top: 1px solid rgba(201,162,75,.22); border-bottom: 1px solid rgba(201,162,75,.22); }
.kraj__facts b { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--gold-light); }
.kraj__facts span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(247,242,231,.6); }
.kraj__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kraj__foot { margin-top: 36px; font-size: .78rem; line-height: 1.8; color: rgba(247,242,231,.5); }
.kraj__foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 10px; }
.kraj__foot a { color: rgba(247,242,231,.75); text-decoration: none; }
.kraj__foot a:hover { color: var(--gold-light); }
@media (max-width: 900px) { .kraj__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .kraj { padding: 90px 16px 90px; }
  .kraj__cats { gap: 8px; }
  .kraj__cats a { padding: 12px; }
  .kraj__cats small { display: none; }
  .kraj__actions .btn { flex: 1 1 100%; text-align: center; }
}
.kraj__faq { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kraj__faq details { border: 1px solid rgba(201,162,75,.24); border-radius: 12px; background: rgba(255,255,255,.02); }
.kraj__faq summary { cursor: pointer; list-style: none; padding: 14px 16px; font-size: .9rem; font-weight: 600; color: #fff; }
.kraj__faq summary::-webkit-details-marker { display: none; }
.kraj__faq summary::after { content: "+"; float: right; margin-left: 8px; color: var(--gold-light); }
.kraj__faq details[open] summary::after { content: "–"; }
.kraj__faq p { padding: 0 16px 14px; font-size: .84rem; line-height: 1.6; color: rgba(247,242,231,.75); }
@media (max-width: 900px) { .kraj__faq { grid-template-columns: 1fr; } }
/* tekst panela se pri skrolovanju gubi ispod menija (ne preklapa ga) */
.kraj { -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 78px, #000 118px); mask-image: linear-gradient(to bottom, transparent 0, transparent 78px, #000 118px); }
@media (max-width: 560px) { .kraj { -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 62px, #000 96px); mask-image: linear-gradient(to bottom, transparent 0, transparent 62px, #000 96px); } }
