/* =====================================================================
   CENTAR RASTILIŠTE APATIN — Glavni stylesheet
   Dizajn sistem: topli pasteli, zaobljene forme, meke senke
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DIZAJN TOKENI
   --------------------------------------------------------------------- */
:root {
  /* Brend boje */
  --sage:        #8DA98F;
  --sage-dark:   #6E8A71;
  --sage-light:  #B4CBB6;
  --sage-soft:   #E6EEE7;

  --cream:       #FAF6F0;
  --cream-deep:  #F2EAE0;

  --coral:       #E07A5F;
  --coral-dark:  #C4614A;
  --coral-light: #F0A992;
  --coral-soft:  #FBE7E0;

  --yellow:      #F4F1DE;
  --yellow-deep: #F2E2A9;

  --slate:       #3D405B;
  --slate-light: #5A5D78;
  --slate-soft:  #E4E5EC;

  --white:       #FFFFFF;
  --ink:         #2C2E42;
  --muted:       #6B6F85;
  --line:        #E8E2D9;

  --success:     #5C9E6B;
  --warning:     #E0A458;
  --danger:      #D1584B;
  --info:        #5B84B1;

  /* Tipografija */
  --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.95rem;
  --fs-3xl:  2.55rem;
  --fs-4xl:  3.35rem;
  --fs-5xl:  4.2rem;

  /* Razmaci */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-7:  3rem;
  --sp-8:  4rem;
  --sp-9:  6rem;
  --sp-10: 8rem;

  /* Radijusi */
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-2xl:  44px;
  --r-full: 999px;

  /* Organski, neujednačeni radijusi — ništa nije savršeno pravilno */
  --r-card:     2.25rem 2.25rem 2.25rem .85rem;
  --r-card-alt: 2.25rem .85rem 2.25rem 2.25rem;
  --r-card-3:   .85rem 2.25rem 2.25rem 2.25rem;
  --r-slab:     clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 9vw, 8rem)
                clamp(3.5rem, 9vw, 8rem) clamp(2rem, 5vw, 4.5rem);
  --r-blob-1:   42% 58% 55% 45% / 52% 45% 55% 48%;
  --r-blob-2:   58% 42% 45% 55% / 45% 55% 48% 52%;
  --r-pill-soft: 1.6rem .6rem 1.6rem .6rem;

  /* Senke — tople, slojevite, sa tonom drveta umesto hladnog sivila */
  --sh-xs: 0 1px 2px rgba(84, 62, 48, .05);
  --sh-sm: 0 2px 5px rgba(84, 62, 48, .045), 0 8px 20px rgba(84, 62, 48, .055);
  --sh-md: 0 3px 8px rgba(84, 62, 48, .05),  0 14px 34px rgba(84, 62, 48, .08);
  --sh-lg: 0 6px 14px rgba(84, 62, 48, .055), 0 26px 58px rgba(84, 62, 48, .10);
  --sh-xl: 0 10px 22px rgba(84, 62, 48, .07), 0 40px 88px rgba(84, 62, 48, .14);

  /* Ambijentalni sjaj u boji — zamena za generičnu crnu senku */
  --glow-coral: 0 16px 38px -10px rgba(224, 122, 95, .50), 0 4px 12px -2px rgba(224, 122, 95, .22);
  --glow-sage:  0 16px 38px -10px rgba(141, 169, 143, .50), 0 4px 12px -2px rgba(141, 169, 143, .22);
  --glow-amber: 0 16px 38px -10px rgba(224, 164, 88, .46), 0 4px 12px -2px rgba(224, 164, 88, .20);
  --glow-slate: 0 16px 38px -10px rgba(61, 64, 91, .40),  0 4px 12px -2px rgba(61, 64, 91, .18);

  --halo-coral: 0 0 0 1px rgba(224, 122, 95, .14), 0 22px 54px -16px rgba(224, 122, 95, .40);
  --halo-sage:  0 0 0 1px rgba(141, 169, 143, .16), 0 22px 54px -16px rgba(141, 169, 143, .40);

  /* Zadržano zbog kompatibilnosti sa starijim pravilima */
  --sh-coral: var(--glow-coral);
  --sh-sage:  var(--glow-sage);

  /* Ostalo */
  --container: 1200px;
  --container-narrow: 820px;
  --header-h: 86px;
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.42, 0.28, 1);   /* opružno, bez preteranog odskoka */
  --ease-press:  cubic-bezier(0.4, 0, 0.2, 1);

  /* Papirna tekstura za opipljive površine */
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23p)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------
   2. RESET
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--slate);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--slate);
  line-height: 1.18;
  margin: 0 0 var(--sp-4);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, var(--fs-4xl)); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.8vw, var(--fs-3xl)); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.4vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-4); }

a { color: var(--coral); text-decoration: none; transition: color .2s var(--ease-soft); }
a:hover { color: var(--coral-dark); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.35rem; }
li { margin-bottom: var(--sp-2); }

button { font-family: inherit; cursor: pointer; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--sage-soft);
  border-left: 5px solid var(--sage);
  border-radius: var(--r-md);
  font-style: italic;
  color: var(--slate);
}

::selection { background: var(--coral-light); color: var(--white); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--slate); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------
   3. LAYOUT
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding: var(--sp-9) 0; position: relative; }
.section-sm { padding: var(--sp-7) 0; }
.section-lg { padding: var(--sp-10) 0; }

.bg-cream  { background: var(--cream); }
.bg-white  { background: var(--white); }
.bg-sage   { background: var(--sage-soft); }
.bg-yellow { background: var(--yellow); }
.bg-slate  { background: var(--slate); color: var(--cream); }
.bg-slate h1, .bg-slate h2, .bg-slate h3 { color: var(--white); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--sp-2); } .gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); } .gap-5 { gap: var(--sp-5); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); }
.mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); }

.section-head { max-width: 740px; margin: 0 auto var(--sp-7); text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-lg); margin-bottom: 0; }
.section-head.is-left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--coral); background: var(--coral-soft);
  padding: 7px 16px; border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}
.eyebrow.is-sage { color: var(--sage-dark); background: var(--sage-soft); }
.eyebrow.is-slate { color: var(--slate); background: var(--slate-soft); }

.lead { font-size: var(--fs-lg); color: var(--muted); line-height: 1.8; }

/* ---------------------------------------------------------------------
   4. DUGMAD
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-base);
  padding: 14px 30px; border-radius: var(--r-full);
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .28s var(--ease-bounce), box-shadow .28s var(--ease-soft),
              background-color .22s ease, color .22s ease, border-color .22s ease;
  white-space: nowrap; line-height: 1.2;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn .icon { flex-shrink: 0; }

.btn-primary { background: var(--coral); color: var(--white); box-shadow: var(--sh-coral); }
.btn-primary:hover { background: var(--coral-dark); color: var(--white); box-shadow: 0 18px 38px rgba(224,122,95,.36); }

.btn-secondary { background: var(--sage); color: var(--white); box-shadow: var(--sh-sage); }
.btn-secondary:hover { background: var(--sage-dark); color: var(--white); box-shadow: 0 18px 38px rgba(141,169,143,.36); }

.btn-slate { background: var(--slate); color: var(--white); }
.btn-slate:hover { background: var(--ink); color: var(--white); }

.btn-outline { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-outline:hover { background: var(--slate); color: var(--white); }

.btn-ghost { background: var(--white); color: var(--slate); box-shadow: var(--sh-sm); }
.btn-ghost:hover { background: var(--cream); color: var(--slate); box-shadow: var(--sh-md); }

.btn-sm { padding: 10px 20px; font-size: var(--fs-sm); }
.btn-lg { padding: 18px 40px; font-size: var(--fs-lg); }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: .55; pointer-events: none; }

.btn-bounce { position: relative; overflow: hidden; }
.btn-bounce::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.34), transparent 62%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.btn-bounce:hover::after { opacity: 1; }

/* ---------------------------------------------------------------------
   5. HEADER & NAVIGACIJA
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250, 246, 240, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--sh-sm);
  border-bottom-color: var(--line);
  background: rgba(250, 246, 240, .96);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: var(--sp-3); color: var(--slate); }
.brand img { width: 52px; height: 52px; border-radius: var(--r-full); object-fit: cover; box-shadow: var(--sh-xs); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; color: var(--slate); letter-spacing: -.02em; }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.brand:hover { color: var(--slate); }

.main-nav { margin-left: auto; min-width: 0; }
.nav-list { display: flex; align-items: center; flex-wrap: nowrap; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; margin: 0; flex-shrink: 0; }
.header-inner > * { min-width: 0; }
.brand, .header-actions { flex-shrink: 0; }

.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: var(--r-full);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--slate); transition: background-color .22s ease, color .22s ease;
  white-space: nowrap;  /* višečlane stavke („Park Igralište“) ostaju u jednom redu */
}
.nav-link:hover { background: var(--sage-soft); color: var(--sage-dark); }
.nav-link.is-active { background: var(--coral-soft); color: var(--coral-dark); }
.nav-caret { display: inline-flex; transition: transform .25s ease; }
.nav-item.has-children:hover .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px; max-height: 70vh; overflow-y: auto;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: var(--sp-2); list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease-soft), transform .25s var(--ease-soft), visibility .25s;
  border: 1px solid var(--line);
}
.nav-item.has-children:hover .nav-dropdown,
.nav-item.has-children:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: block; padding: 11px 16px; border-radius: var(--r-sm);
  color: var(--slate); font-weight: 500; font-size: .93rem;
}
.nav-dropdown a:hover, .nav-dropdown a.is-active { background: var(--sage-soft); color: var(--sage-dark); }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }

.nav-cta { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: var(--white);
  border-radius: var(--r-md); box-shadow: var(--sh-sm);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--slate); border-radius: 2px;
  transition: transform .3s var(--ease-soft), opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }

/* ---------------- Klasični (svetli) hero sa 3D scenom ---------------- */
.hero--classic {
  padding: var(--sp-9) 0 var(--sp-10);
  background:
    radial-gradient(900px 520px at 88% 6%, rgba(244, 241, 222, .95), transparent 62%),
    radial-gradient(760px 480px at 4% 92%, rgba(230, 238, 231, .95), transparent 60%),
    var(--cream);
}
.hero--classic .hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: var(--sp-6) var(--sp-7); align-items: center;
}
.hero--classic .hero-content { grid-column: 1; grid-row: 1; position: relative; z-index: 3; }
.hero--classic .hero-floats  { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; gap: var(--sp-3); position: relative; z-index: 3; }
.hero--classic .hero-visual  { grid-column: 2; grid-row: 1 / span 2; }
.hero--classic .hero-float {
  background: var(--white); border: 1px solid var(--line); color: var(--slate);
  box-shadow: var(--sh-sm);
}
.hero--classic .hero-float-icon { background: var(--sage-soft); color: var(--sage-dark); }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: var(--sp-7); align-items: center;
}
.hero-content { position: relative; z-index: 3; }
.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 .accent { color: var(--coral); position: relative; display: inline-block; }
.hero h1 .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: var(--yellow-deep); border-radius: var(--r-full); z-index: -1; opacity: .85;
}
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--slate-light); max-width: 560px; margin-bottom: var(--sp-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-6); }

.hero-trust { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; }
.hero-trust-item { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.hero-trust-item .icon { color: var(--sage); }

.hero-visual { position: relative; min-height: 520px; }
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: var(--r-2xl); cursor: grab;
}
#heroCanvas:active { cursor: grabbing; }
.hero-visual-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-2xl); overflow: hidden;
  background: linear-gradient(140deg, var(--sage-soft), var(--yellow));
}
.hero-visual-fallback img { width: 60%; opacity: .9; }

.hero-badge {
  position: absolute; z-index: 4;
  background: var(--white); border-radius: var(--r-lg); padding: 14px 20px;
  box-shadow: var(--sh-md); display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--fs-sm); font-weight: 600; color: var(--slate);
}
.hero-badge .icon { color: var(--coral); }
.hero-badge-1 { top: 8%; left: -14px; animation: float-y 6s ease-in-out infinite; }
.hero-badge-2 { bottom: 12%; right: -8px; animation: float-y 7.5s ease-in-out infinite .6s; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.blob {
  position: absolute; border-radius: 45% 55% 62% 38% / 48% 42% 58% 52%;
  filter: blur(2px); opacity: .55; pointer-events: none; z-index: 0;
}
.blob-1 { width: 340px; height: 340px; background: var(--sage-light); top: -80px; right: -70px; animation: morph 16s ease-in-out infinite; }
.blob-2 { width: 260px; height: 260px; background: var(--coral-light); bottom: -70px; left: -60px; animation: morph 20s ease-in-out infinite reverse; }
.blob-3 { width: 200px; height: 200px; background: var(--yellow-deep); top: 42%; left: 12%; animation: morph 18s ease-in-out infinite 2s; }

@keyframes morph {
  0%, 100% { border-radius: 45% 55% 62% 38% / 48% 42% 58% 52%; transform: rotate(0deg) scale(1); }
  33%      { border-radius: 62% 38% 42% 58% / 58% 52% 48% 42%; transform: rotate(9deg) scale(1.06); }
  66%      { border-radius: 38% 62% 55% 45% / 42% 58% 42% 58%; transform: rotate(-7deg) scale(.95); }
}

/* =====================================================================
   6b. HERO — KINEMATSKI REŽIM (video / poster pozadina)
   ===================================================================== */
.hero--cinematic {
  min-height: min(92vh, 920px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + var(--sp-6)) 0 var(--sp-9);
  background: var(--slate);
  color: var(--cream);
  transform-origin: center top;
}

.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; will-change: transform; }

.hero-poster, .hero-poster img, .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  display: block;
}

.hero-video { opacity: 0; transition: opacity 1s var(--ease-soft); }
.hero.is-video-ready .hero-video { opacity: 1; }

/* Preklop: tamniji levo radi čitljivosti teksta, providan u centru */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg,
      rgba(28, 30, 46, .86) 0%,
      rgba(28, 30, 46, .66) 28%,
      rgba(28, 30, 46, .26) 54%,
      rgba(28, 30, 46, .04) 76%,
      rgba(28, 30, 46, .14) 100%),
    radial-gradient(120% 100% at 12% 55%, rgba(20, 22, 36, .48), transparent 60%),
    linear-gradient(180deg, rgba(20, 22, 36, .34) 0%, transparent 24%, transparent 72%, rgba(20, 22, 36, .40) 100%);
}

/* Vrlo suptilna zrnastost — ublažava trake u gradijentu */
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero--cinematic .hero-inner {
  position: relative; z-index: 3; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: var(--sp-7); align-items: center;
}

.hero--cinematic .hero-content { max-width: 680px; min-width: 0; }
.hero--cinematic .hero-floats { min-width: 0; }
.hero--cinematic .hero-title { color: #fff; text-shadow: 0 2px 24px rgba(12, 14, 26, .35); }
.hero--cinematic .hero-title .accent { color: var(--coral-light); }
.hero--cinematic .hero-title .accent::after { background: rgba(244, 241, 222, .22); }
.hero--cinematic .hero-lead { color: rgba(250, 246, 240, .92); text-shadow: 0 1px 14px rgba(12, 14, 26, .35); }
.hero--cinematic .hero-trust-item { color: rgba(250, 246, 240, .82); }
.hero--cinematic .hero-trust-item .icon { color: var(--sage-light); }

.hero-eyebrow {
  background: rgba(255, 255, 255, .16); color: #fff;
  border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero--classic .hero-eyebrow {
  background: var(--coral-soft); color: var(--coral-dark);
  border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
}

/* ---------------- Lebdeće staklene pločice ---------------- */
.hero-floats { display: flex; flex-direction: column; gap: var(--sp-4); position: relative; z-index: 3; }

.hero-float {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: 15px 20px; border-radius: var(--r-lg);
  text-decoration: none; color: #fff;
  background: rgba(24, 26, 40, .34);
  border: 1px solid rgba(255, 255, 255, .30);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 44px rgba(16, 18, 32, .32);
  text-shadow: 0 1px 10px rgba(12, 14, 26, .45);
  transition: transform .35s var(--ease-bounce), background-color .3s ease,
              border-color .3s ease, box-shadow .35s var(--ease-soft);
  will-change: transform;
}
.hero-float:hover {
  color: #fff;
  background: rgba(24, 26, 40, .48);
  border-color: rgba(255, 255, 255, .52);
  box-shadow: 0 24px 56px rgba(16, 18, 32, .40);
}
.hero--classic .hero-float { text-shadow: none; }

.hero-float-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .20); color: #fff;
  transition: border-radius .5s var(--ease-soft), transform .4s var(--ease-bounce);
}
.hero-float:hover .hero-float-icon { border-radius: 55% 45% 45% 55% / 45% 55% 45% 55%; transform: rotate(-8deg) scale(1.06); }

.hero-float-body { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.hero-float-body strong { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-base); }
.hero-float-body span { font-size: var(--fs-sm); opacity: .95; }
.hero--classic .hero-float-body span { color: var(--muted); opacity: 1; }

.hero--cinematic .hero-float-1 { margin-left: 0; }
.hero--cinematic .hero-float-2 { margin-left: 40px; }
.hero--cinematic .hero-float-3 { margin-left: 14px; }

/* Nežno lebdenje — uključuje se tek po završetku ulazne animacije */
.hero.is-floating .hero-float {
  animation: hero-float-y 6.5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
@keyframes hero-float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-13px); }
}

/* Početna stanja ulazne animacije (bez „bljeska“ sadržaja) */
.hero--cinematic [data-hero] { opacity: 0; }
.hero--cinematic.is-ready [data-hero] { opacity: 1; }

/* ---------------- Pokazivač za skrolovanje ---------------- */
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, .82); font-size: var(--fs-xs);
  font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: color .25s ease, transform .35s var(--ease-soft);
}
.hero-scroll:hover { color: #fff; transform: translateX(-50%) translateY(-4px); }
.hero-scroll-mouse {
  width: 25px; height: 40px; border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 14px; position: relative;
}
.hero-scroll-mouse span {
  position: absolute; top: 7px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, .9);
  animation: hero-scroll-dot 1.9s ease-in-out infinite;
}
@keyframes hero-scroll-dot {
  0%   { transform: translateY(0);   opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);   opacity: 0; }
}

/* ---------------------------------------------------------------------
   7. KARTICE
   --------------------------------------------------------------------- */
.card {
  background: var(--white); border-radius: var(--r-xl); padding: var(--sp-6);
  box-shadow: var(--sh-sm); border: 1px solid var(--line);
  transition: transform .38s var(--ease-soft), box-shadow .38s var(--ease-soft), border-color .3s ease;
  position: relative; overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--muted); margin-bottom: var(--sp-4); }
.card > *:last-child { margin-bottom: 0; }

.card-icon {
  width: 68px; height: 68px; border-radius: 42% 58% 55% 45% / 52% 48% 52% 48%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5); color: var(--white); flex-shrink: 0;
  transition: transform .5s var(--ease-bounce), border-radius .5s var(--ease-soft);
}
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); border-radius: 58% 42% 45% 55% / 48% 52% 48% 52%; }
.card-icon.is-coral { background: var(--coral); box-shadow: var(--sh-coral); }
.card-icon.is-sage  { background: var(--sage);  box-shadow: var(--sh-sage); }
.card-icon.is-slate { background: var(--slate); box-shadow: 0 12px 30px rgba(61,64,91,.24); }
.card-icon.is-amber { background: var(--warning); box-shadow: 0 12px 30px rgba(224,164,88,.3); }

.card-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--coral); font-size: var(--fs-base);
}
.card-link .icon { transition: transform .3s var(--ease-bounce); }
.card:hover .card-link .icon { transform: translateX(6px); }

/* Pain point kartice */
.pain-card {
  background: var(--white); border-radius: var(--r-lg); padding: var(--sp-5);
  border: 2px solid var(--line); cursor: pointer;
  transition: all .35s var(--ease-soft); display: flex; gap: var(--sp-4); align-items: flex-start;
}
.pain-card:hover, .pain-card.is-open { border-color: var(--coral); background: var(--coral-soft); transform: translateY(-4px); }
.pain-card-mark {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--r-full);
  background: var(--yellow-deep); color: var(--slate);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  transition: background-color .3s ease, color .3s ease;
}
.pain-card:hover .pain-card-mark, .pain-card.is-open .pain-card-mark { background: var(--coral); color: var(--white); }
.pain-card h3 { font-size: var(--fs-base); margin-bottom: 4px; font-weight: 700; }
.pain-card p { font-size: var(--fs-sm); margin: 0; color: var(--muted); }
.pain-card-answer {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .45s var(--ease-soft), opacity .3s ease, margin-top .3s ease;
}
.pain-card.is-open .pain-card-answer { max-height: 300px; opacity: 1; margin-top: var(--sp-3); }

/* Statistike */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat {
  text-align: center; padding: var(--sp-5) var(--sp-4);
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-xs);
}
.stat-num { font-family: var(--font-head); font-size: var(--fs-3xl); font-weight: 800; color: var(--coral); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------------
   8. GALERIJA PROSTORA
   --------------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--sp-4); }
.gallery-item {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  cursor: pointer; background: var(--sage-soft); min-height: 210px;
  box-shadow: var(--sh-sm);
}
.gallery-item:nth-child(1) { grid-column: span 7; min-height: 340px; }
.gallery-item:nth-child(2) { grid-column: span 5; min-height: 340px; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0; padding: var(--sp-6) var(--sp-5) var(--sp-4);
  background: linear-gradient(transparent, rgba(61, 64, 91, .88));
  color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-base);
}
.gallery-placeholder {
  width: 100%; height: 100%; min-height: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(140deg, var(--sage-soft), var(--yellow));
  color: var(--sage-dark);
}
.gallery-placeholder .icon { width: 42px; height: 42px; }
.gallery-placeholder span { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 900; display: none;
  align-items: center; justify-content: center; padding: var(--sp-5);
  background: rgba(44, 46, 66, .93); backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-lg); box-shadow: var(--sh-xl); }
.lightbox-close {
  position: absolute; top: 22px; right: 22px; width: 48px; height: 48px;
  border-radius: var(--r-full); border: 0; background: var(--white); color: var(--slate);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--white); font-family: var(--font-head); font-weight: 600; }

/* ---------------------------------------------------------------------
   9. TIM
   --------------------------------------------------------------------- */
.team-card { text-align: center; }
.team-photo {
  width: 150px; height: 150px; margin: 0 auto var(--sp-4);
  border-radius: 48% 52% 55% 45% / 52% 45% 55% 48%;
  overflow: hidden; background: var(--sage-soft);
  display: flex; align-items: center; justify-content: center;
  transition: border-radius .6s var(--ease-soft);
  border: 4px solid var(--white); box-shadow: var(--sh-md);
}
.card:hover .team-photo { border-radius: 55% 45% 48% 52% / 45% 55% 48% 52%; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .icon { width: 56px; height: 56px; color: var(--sage); }
.team-role { color: var(--coral); font-weight: 700; font-family: var(--font-head); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--sp-3); }

/* ---------------------------------------------------------------------
   10. BLOG
   --------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 700; font-family: var(--font-head);
  letter-spacing: .03em; text-transform: uppercase;
}
.badge.is-coral { background: var(--coral-soft); color: var(--coral-dark); }
.badge.is-sage  { background: var(--sage-soft);  color: var(--sage-dark); }
.badge.is-slate { background: var(--slate-soft); color: var(--slate); }
.badge.is-amber { background: #FCF1DE; color: #A9712A; }

.post-card { padding: 0; overflow: hidden; }
.post-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-soft); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-thumb-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--sage-soft), var(--yellow)); color: var(--sage-dark);
}
.post-thumb-placeholder .icon { width: 46px; height: 46px; }
.post-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); font-size: var(--fs-xs); color: var(--muted); }
.post-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.post-card h3 a { color: var(--slate); }
.post-card:hover h3 a { color: var(--coral); }
.post-card p { font-size: var(--fs-sm); }

.filter-bar { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-bottom: var(--sp-7); }
.filter-chip {
  padding: 10px 22px; border-radius: var(--r-full); border: 2px solid var(--line);
  background: var(--white); color: var(--slate); font-family: var(--font-head);
  font-weight: 600; font-size: var(--fs-sm); cursor: pointer;
  transition: all .25s var(--ease-soft);
}
.filter-chip:hover { border-color: var(--sage); color: var(--sage-dark); transform: translateY(-2px); }
.filter-chip.is-active { background: var(--coral); border-color: var(--coral); color: var(--white); box-shadow: var(--sh-coral); }

.search-box { position: relative; max-width: 460px; margin: 0 auto var(--sp-5); }
.search-box input { padding-right: 52px; }
.search-box .icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

/* Članak */
.article-hero { padding: var(--sp-8) 0 var(--sp-6); background: var(--white); border-bottom: 1px solid var(--line); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.article-body { font-size: 1.09rem; line-height: 1.9; }
.article-body h2 { margin-top: var(--sp-7); font-size: var(--fs-2xl); }
.article-body h3 { margin-top: var(--sp-6); }
.article-body ul, .article-body ol { margin-bottom: var(--sp-5); }
.article-body li { margin-bottom: var(--sp-2); }
.article-body img { border-radius: var(--r-lg); margin: var(--sp-5) 0; box-shadow: var(--sh-sm); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }

.article-figure { margin: var(--sp-6) 0; }
.article-figure img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--sh-md); }

.faq-item {
  background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line);
  margin-bottom: var(--sp-3); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: var(--sp-5);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-base); color: var(--slate);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.faq-q .icon { transition: transform .3s var(--ease-soft); flex-shrink: 0; color: var(--coral); }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-soft); }
.faq-a-inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--muted); }
.faq-item.is-open .faq-a { max-height: 700px; }

.toc {
  background: var(--sage-soft); border-radius: var(--r-lg); padding: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.toc h2 { font-size: var(--fs-base); margin-bottom: var(--sp-3); text-transform: uppercase; letter-spacing: .06em; color: var(--sage-dark); }
.toc ul { margin: 0; padding-left: 1.1rem; }
.toc a { color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--coral); }

/* ---------------------------------------------------------------------
   11. FORME
   --------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.form-group { margin-bottom: var(--sp-4); }
.form-group.is-full { grid-column: 1 / -1; }

label, .form-label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: var(--fs-sm); color: var(--slate); margin-bottom: 7px;
}
.form-label .req { color: var(--coral); }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], input[type="date"], input[type="url"],
select, textarea {
  width: 100%; padding: 14px 18px; font-family: var(--font-body); font-size: var(--fs-base);
  color: var(--slate); background: var(--white);
  border: 2px solid var(--line); border-radius: var(--r-md);
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(141, 169, 143, .18);
}
input::placeholder, textarea::placeholder { color: #A9ADBE; }
textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233D405B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 46px;
}
input.has-error, textarea.has-error, select.has-error { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: var(--fs-xs); margin-top: 5px; font-weight: 500; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input[type="checkbox"] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--sage); flex-shrink: 0; }
.checkbox-row label { margin: 0; font-weight: 400; font-family: var(--font-body); font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }

.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; }

.form-note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-3); }

.form-message {
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); margin-bottom: var(--sp-4);
  font-weight: 500; font-size: var(--fs-sm); display: none;
}
.form-message.is-visible { display: block; }
.form-message.is-success { background: #E6F2E8; color: #2F6B3D; border: 1px solid #BEDCC5; }
.form-message.is-error   { background: #FBE7E5; color: #9C3327; border: 1px solid #F2C3BC; }

.lead-form-card {
  background: var(--white); border-radius: var(--r-xl); padding: var(--sp-6);
  box-shadow: var(--sh-lg); border: 1px solid var(--line);
}
.lead-form-inline {
  background: linear-gradient(135deg, var(--sage-soft), var(--yellow));
  border-radius: var(--r-xl); padding: var(--sp-6); margin: var(--sp-7) 0;
  border: 1px solid var(--line);
}
.lead-form-inline h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.lead-form-inline > p { color: var(--slate-light); margin-bottom: var(--sp-5); }

/* ---------------------------------------------------------------------
   12. PRODAVNICA
   --------------------------------------------------------------------- */
.product-card { padding: 0; overflow: hidden; }
.product-visual {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(140deg, var(--yellow), var(--sage-soft));
  display: flex; align-items: center; justify-content: center;
  perspective: 1000px;
}
.product-visual img {
  width: 62%; border-radius: 8px; box-shadow: var(--sh-lg);
  transition: transform .7s var(--ease-soft);
  transform: rotateY(-12deg) rotateX(4deg);
}
.product-card:hover .product-visual img { transform: rotateY(10deg) rotateX(-3deg) scale(1.06); }
.product-visual .product-mock {
  width: 55%; aspect-ratio: 3 / 4; background: var(--white); border-radius: 8px;
  box-shadow: var(--sh-lg); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; color: var(--sage-dark); padding: var(--sp-4);
  transition: transform .7s var(--ease-soft); transform: rotateY(-12deg) rotateX(4deg);
  border-left: 6px solid var(--coral);
}
.product-card:hover .product-mock { transform: rotateY(10deg) rotateX(-3deg) scale(1.05); }
.product-mock .icon { width: 40px; height: 40px; }
.product-mock span { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs); text-align: center; line-height: 1.4; }

.product-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.product-price {
  font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 800; color: var(--coral);
  margin-bottom: var(--sp-4);
}
.product-price small { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(44, 46, 66, .78); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: var(--sp-4);
  overflow-y: auto;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--r-xl); width: 100%; max-width: 700px;
  box-shadow: var(--sh-xl); position: relative; max-height: 92vh; overflow-y: auto;
  animation: modal-in .42s var(--ease-bounce);
}
.modal.is-wide { max-width: 940px; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
  padding: var(--sp-5) var(--sp-6); border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  position: sticky; top: 0; background: var(--white); border-radius: var(--r-xl) var(--r-xl) 0 0; z-index: 2;
}
.modal-head h2 { margin: 0; font-size: var(--fs-xl); }
.modal-body { padding: var(--sp-6); }
.modal-foot { padding: var(--sp-5) var(--sp-6); border-top: 1px solid var(--line); background: var(--cream); border-radius: 0 0 var(--r-xl) var(--r-xl); }
.modal-close {
  width: 40px; height: 40px; border-radius: var(--r-full); border: 0;
  background: var(--cream); color: var(--slate); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: background-color .2s ease, transform .2s ease;
}
.modal-close:hover { background: var(--coral-soft); color: var(--coral-dark); transform: rotate(90deg); }

/* PDF pregled */
.pdf-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-5); }
.pdf-page {
  aspect-ratio: 3 / 4; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-sm); display: flex; flex-direction: column; padding: 12px;
  gap: 6px; box-shadow: var(--sh-xs); transition: transform .4s var(--ease-bounce);
}
.pdf-page:hover { transform: translateY(-6px) rotate(-2deg); }
.pdf-line { height: 5px; background: var(--slate-soft); border-radius: 3px; }
.pdf-line.w-70 { width: 70%; } .pdf-line.w-90 { width: 90%; } .pdf-line.w-50 { width: 50%; }
.pdf-line.is-title { height: 9px; background: var(--sage-light); width: 60%; margin-bottom: 5px; }
.pdf-page-num { margin-top: auto; font-size: 10px; color: var(--muted); text-align: center; font-weight: 600; }

/* QR blok */
.qr-block {
  display: grid; grid-template-columns: 220px 1fr; gap: var(--sp-5);
  align-items: start; background: var(--cream); border-radius: var(--r-lg);
  padding: var(--sp-5); border: 1px solid var(--line);
}
.qr-canvas-wrap {
  background: var(--white); padding: 14px; border-radius: var(--r-md);
  box-shadow: var(--sh-sm); display: flex; align-items: center; justify-content: center;
}
.qr-canvas-wrap canvas, .qr-canvas-wrap img { width: 100%; height: auto; display: block; }
.qr-details dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: var(--fs-sm); }
.qr-details dt { font-weight: 700; color: var(--muted); font-family: var(--font-head); }
.qr-details dd { margin: 0; color: var(--slate); font-weight: 600; word-break: break-word; }
.qr-hint { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-4); line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); counter-reset: step; }
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto var(--sp-3); border-radius: var(--r-full);
  background: var(--coral); color: var(--white); display: flex; align-items: center;
  justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: var(--fs-lg);
  box-shadow: var(--sh-coral);
}
.step h3 { font-size: var(--fs-base); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------------
   13. KVIZ
   --------------------------------------------------------------------- */
.quiz-shell {
  background: var(--white); border-radius: var(--r-2xl); box-shadow: var(--sh-lg);
  padding: var(--sp-7); border: 1px solid var(--line); position: relative; overflow: hidden;
}
.quiz-progress { height: 10px; background: var(--slate-soft); border-radius: var(--r-full); overflow: hidden; margin-bottom: var(--sp-6); }
.quiz-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--sage), var(--coral)); border-radius: var(--r-full); transition: width .5s var(--ease-soft); }
.quiz-step-count { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; margin-bottom: var(--sp-3); font-family: var(--font-head); }
.quiz-question { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-family: var(--font-head); font-weight: 700; margin-bottom: var(--sp-6); line-height: 1.35; }
.quiz-options { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.quiz-option {
  display: flex; align-items: center; gap: var(--sp-4); width: 100%; text-align: left;
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-lg); border: 2px solid var(--line);
  background: var(--white); font-family: var(--font-body); font-size: var(--fs-base); color: var(--slate);
  transition: all .28s var(--ease-soft);
}
.quiz-option:hover { border-color: var(--sage); background: var(--sage-soft); transform: translateX(6px); }
.quiz-option.is-selected { border-color: var(--coral); background: var(--coral-soft); }
.quiz-option-mark {
  width: 30px; height: 30px; border-radius: var(--r-full); border: 2px solid var(--line);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: transparent; transition: all .25s ease;
}
.quiz-option.is-selected .quiz-option-mark { background: var(--coral); border-color: var(--coral); color: var(--white); }
.quiz-nav { display: flex; justify-content: space-between; gap: var(--sp-4); }

.quiz-result { text-align: center; }
.quiz-result-icon {
  width: 96px; height: 96px; margin: 0 auto var(--sp-5); border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.quiz-result-icon .icon { width: 46px; height: 46px; }
.quiz-result-icon.is-low  { background: var(--success); }
.quiz-result-icon.is-mid  { background: var(--warning); }
.quiz-result-icon.is-high { background: var(--coral); }
.quiz-score {
  display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-head);
  font-size: var(--fs-3xl); font-weight: 800; color: var(--slate); margin-bottom: var(--sp-3);
}
.quiz-score small { font-size: var(--fs-lg); color: var(--muted); font-weight: 600; }
.quiz-advice {
  background: var(--cream); border-radius: var(--r-lg); padding: var(--sp-5);
  text-align: left; margin: var(--sp-5) 0; border-left: 5px solid var(--sage);
}
.quiz-advice ul { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   14. MEMORY IGRA
   --------------------------------------------------------------------- */
.game-shell {
  background: var(--white); border-radius: var(--r-2xl); box-shadow: var(--sh-lg);
  padding: var(--sp-6); border: 1px solid var(--line);
}
.game-hud {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4); margin-bottom: var(--sp-5); padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.game-stats { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.game-stat { text-align: center; }
.game-stat-num { font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 800; color: var(--coral); line-height: 1; }
.game-stat-label { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }

.memory-board {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3);
  max-width: 620px; margin: 0 auto;
}
.memory-card { aspect-ratio: 1; perspective: 1000px; cursor: pointer; background: none; border: 0; padding: 0; }
.memory-card-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform .55s var(--ease-bounce); transform-style: preserve-3d;
}
.memory-card.is-flipped .memory-card-inner, .memory-card.is-matched .memory-card-inner { transform: rotateY(180deg); }
.memory-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; box-shadow: var(--sh-sm); padding: 8px;
}
.memory-face-back {
  background: linear-gradient(140deg, var(--sage), var(--sage-dark)); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 1.9rem;
}
.memory-face-front {
  background: var(--white); border: 3px solid var(--coral); transform: rotateY(180deg);
  color: var(--slate);
}
.memory-emoji { font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1; }
.memory-label { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs); text-align: center; color: var(--slate); }
.memory-card.is-matched .memory-face-front { border-color: var(--success); background: #EEF7F0; animation: pop .45s var(--ease-bounce); }
@keyframes pop { 0% { transform: rotateY(180deg) scale(1); } 50% { transform: rotateY(180deg) scale(1.12); } 100% { transform: rotateY(180deg) scale(1); } }

.game-win {
  text-align: center; padding: var(--sp-6); background: var(--sage-soft);
  border-radius: var(--r-xl); margin-top: var(--sp-5); display: none;
}
.game-win.is-visible { display: block; animation: modal-in .5s var(--ease-bounce); }
.game-win h3 { color: var(--sage-dark); font-size: var(--fs-2xl); }

/* ---------------------------------------------------------------------
   15. CTA SEKCIJA
   --------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  border-radius: var(--r-2xl); padding: var(--sp-8) var(--sp-7);
  text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-4); }
.cta-band p { color: rgba(255,255,255,.92); font-size: var(--fs-lg); max-width: 620px; margin: 0 auto var(--sp-6); }
.cta-band .btn-primary { background: var(--white); color: var(--coral-dark); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background: var(--yellow); color: var(--coral-dark); }
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.09);
}
.cta-band::before { width: 320px; height: 320px; top: -140px; right: -90px; }
.cta-band::after  { width: 220px; height: 220px; bottom: -110px; left: -70px; }
.cta-band > * { position: relative; z-index: 2; }

/* ---------------------------------------------------------------------
   16. PAGINACIJA
   --------------------------------------------------------------------- */
.pagination { margin-top: var(--sp-7); }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pagination li { margin: 0; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center; min-width: 46px; height: 46px;
  padding: 0 14px; border-radius: var(--r-md); background: var(--white); color: var(--slate);
  border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm);
  transition: all .22s ease;
}
.pagination a:hover { background: var(--sage-soft); border-color: var(--sage); color: var(--sage-dark); }
.pagination .is-current { background: var(--coral); border-color: var(--coral); color: var(--white); }
.pagination .dots span { border: 0; background: none; }

/* ---------------------------------------------------------------------
   17. BREADCRUMBS
   --------------------------------------------------------------------- */
.breadcrumbs { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--sp-4); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--coral); }

/* ---------------------------------------------------------------------
   18. PAGE HERO (unutrašnje stranice)
   --------------------------------------------------------------------- */
.page-hero {
  padding: var(--sp-8) 0 var(--sp-7); position: relative; overflow: hidden;
  background:
    radial-gradient(700px 380px at 88% 10%, rgba(244, 241, 222, .9), transparent 60%),
    radial-gradient(600px 340px at 6% 90%, rgba(230, 238, 231, .9), transparent 58%),
    var(--cream);
}
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 720px; }

/* ---------------------------------------------------------------------
   19. SVG PATH (put od problema do rešenja)
   --------------------------------------------------------------------- */
.journey { position: relative; }
.journey-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.journey-path { fill: none; stroke: var(--sage-light); stroke-width: 3; stroke-dasharray: 6 10; stroke-linecap: round; }
.journey-steps { position: relative; z-index: 2; display: grid; gap: var(--sp-6); }
.journey-step { display: grid; grid-template-columns: 92px 1fr; gap: var(--sp-5); align-items: start; }
.journey-dot {
  width: 72px; height: 72px; border-radius: var(--r-full); background: var(--white);
  border: 3px solid var(--sage); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: var(--fs-lg); color: var(--sage-dark);
  box-shadow: var(--sh-sm); flex-shrink: 0;
}
.journey-step:nth-child(even) .journey-dot { border-color: var(--coral); color: var(--coral); }
.journey-body h3 { margin-bottom: var(--sp-2); }
.journey-body p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------------
   20. FOOTER
   --------------------------------------------------------------------- */
.site-footer { background: var(--slate); color: rgba(250, 246, 240, .82); position: relative; padding-top: var(--sp-8); margin-top: var(--sp-9); }
.footer-wave { position: absolute; top: -1px; left: 0; right: 0; height: 90px; transform: translateY(-100%); pointer-events: none; }
.footer-wave svg { width: 100%; height: 90px; display: block; }
.footer-wave path { fill: var(--slate); }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--sp-6); padding-bottom: var(--sp-7); }
.footer-brand img { border-radius: var(--r-full); margin-bottom: var(--sp-4); }
.footer-tagline { font-size: var(--fs-sm); line-height: 1.8; color: rgba(250,246,240,.72); max-width: 300px; }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a {
  padding: 8px 18px; border-radius: var(--r-full); background: rgba(255,255,255,.09);
  color: var(--cream); font-size: var(--fs-sm); font-weight: 600; font-family: var(--font-head);
  transition: background-color .22s ease;
}
.footer-social a:hover { background: var(--coral); color: var(--white); }

.footer-title { font-size: var(--fs-base); color: var(--white); margin-bottom: var(--sp-4); font-weight: 700; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 11px; font-size: var(--fs-sm); }
.footer-list a { color: rgba(250,246,240,.78); }
.footer-list a:hover { color: var(--coral-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .icon { color: var(--sage-light); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: var(--sp-4) var(--sp-5);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3);
  font-size: var(--fs-xs); color: rgba(250,246,240,.6);
}
.footer-bottom p { margin: 0; }
.footer-credit { display: flex; align-items: center; gap: 10px; }
.footer-credit a { color: rgba(250,246,240,.72); }
.footer-credit a:hover { color: var(--coral-light); }

/* ---------------------------------------------------------------------
   21. GSAP REVEAL POČETNA STANJA
   --------------------------------------------------------------------- */
[data-reveal] { opacity: 0; will-change: transform, opacity; }
.no-js [data-reveal] { opacity: 1; }

/* ---------------------------------------------------------------------
   22. UTILITY / MISC
   --------------------------------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.empty-state { text-align: center; padding: var(--sp-8) var(--sp-5); color: var(--muted); }
.empty-state .icon { width: 56px; height: 56px; margin: 0 auto var(--sp-4); color: var(--sage); }

.spinner {
  width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.35);
  border-top-color: currentColor; border-radius: 50%;
  animation: spin .8s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.divider-dots { display: flex; align-items: center; justify-content: center; gap: 10px; margin: var(--sp-6) 0; }
.divider-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--sage-light); }
.divider-dots span:nth-child(2) { background: var(--coral-light); }
.divider-dots span:nth-child(3) { background: var(--yellow-deep); }

.map-embed { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.info-list .icon { color: var(--sage); flex-shrink: 0; margin-top: 4px; }
.info-list strong { display: block; font-family: var(--font-head); color: var(--slate); }
.info-list span, .info-list a { color: var(--muted); font-size: var(--fs-sm); }

.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours-table td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--slate); font-family: var(--font-head); }
.hours-table tr:last-child td { border-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: var(--sp-3); font-size: var(--fs-base); }
.check-list .icon { color: var(--sage); flex-shrink: 0; margin-top: 5px; background: var(--sage-soft); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

/* ---------------------------------------------------------------------
   22b. NOVE SEKCIJE — uvod, stubovi, projekat, priča
   --------------------------------------------------------------------- */

/* Uvodna sekcija „Šta je Rastilište?" */
.intro-split {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: var(--sp-7); align-items: center;
}
.intro-aside { display: grid; gap: var(--sp-3); }
.intro-badge {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5);
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft), border-color .3s ease;
}
.intro-badge:hover { transform: translateX(8px); box-shadow: var(--sh-md); border-color: transparent; }
.intro-badge .icon { color: var(--sage-dark); flex-shrink: 0; }
.intro-badge div { display: flex; flex-direction: column; line-height: 1.35; }
.intro-badge strong { font-family: var(--font-head); font-size: var(--fs-base); color: var(--slate); }
.intro-badge span { font-size: var(--fs-sm); color: var(--muted); }
.intro-badge.is-accent { background: var(--coral-soft); border-color: transparent; }
.intro-badge.is-accent .icon { color: var(--coral-dark); }

/* Kartice tri stuba */
.pillar-card { position: relative; }
.pillar-num {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  font-family: var(--font-head); font-size: 3.2rem; font-weight: 800;
  line-height: 1; color: var(--slate-soft); pointer-events: none; user-select: none;
  transition: color .35s ease;
}
.pillar-card:hover .pillar-num { color: var(--yellow-deep); }

/* Izdvojeni projekat */
.project-split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: var(--sp-7); align-items: center;
}
.project-visual {
  border-radius: var(--r-2xl); overflow: hidden;
  box-shadow: var(--sh-lg); background: var(--sage-soft);
  aspect-ratio: 4 / 3;
}
.project-visual img { width: 100%; height: 100%; object-fit: cover; }
.project-visual-placeholder {
  width: 100%; height: 100%; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(140deg, var(--sage-light), var(--yellow-deep));
  color: var(--slate);
}
.project-visual-placeholder .icon { color: var(--slate); opacity: .75; }
.project-visual-placeholder strong { font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 800; }
.project-visual-placeholder span { font-size: var(--fs-sm); color: var(--slate-light); }

/* Napomena o institucionalnoj podršci */
.support-note {
  display: flex; align-items: flex-start; gap: var(--sp-4);
  background: var(--sage-soft); border-left: 5px solid var(--sage);
  border-radius: var(--r-md); padding: var(--sp-5);
  margin: var(--sp-6) 0 0;
}
.support-note.is-compact { padding: var(--sp-4); margin: var(--sp-5) 0 0; }
.support-note .icon { color: var(--sage-dark); flex-shrink: 0; margin-top: 2px; }
.support-note div { display: flex; flex-direction: column; gap: 3px; }
.support-note strong { font-family: var(--font-head); color: var(--slate); font-size: var(--fs-base); }
.support-note span { font-size: var(--fs-sm); color: var(--slate-light); line-height: 1.7; }

/* Misija i vizija */
.mv-card { border-top: 5px solid var(--coral); }
.mv-card:nth-child(2) { border-top-color: var(--sage); }
.mv-card p { font-size: var(--fs-md); color: var(--slate-light); }

/* Naša priča */
.story-box {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-2xl); padding: var(--sp-7);
  box-shadow: var(--sh-sm); font-size: 1.06rem; line-height: 1.9;
}
.story-box p { color: var(--slate-light); }
.story-box p:first-child::first-letter {
  font-family: var(--font-head); font-size: 3.1rem; font-weight: 800;
  color: var(--coral); float: left; line-height: .9; padding: 6px 12px 0 0;
}
.story-cta { margin-top: var(--sp-5); }

/* Potpis agencije u podnožju */
.footer-agency {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  text-align: center;
}
.footer-agency p { margin: 0; font-size: var(--fs-xs); color: rgba(250,246,240,.55); }
.footer-agency a {
  color: rgba(250,246,240,.85); font-weight: 700; font-family: var(--font-head);
  border-bottom: 1px solid rgba(224,122,95,.55); padding-bottom: 1px;
  transition: color .22s ease, border-color .22s ease;
}
.footer-agency a:hover { color: var(--coral-light); border-color: var(--coral-light); }

/* Gušća navigacija na užim desktop ekranima */
@media (max-width: 1440px) and (min-width: 1101px) {
  .nav-link { padding: 9px 10px; font-size: .88rem; }
  .brand-sub { display: none; }
}

/* =====================================================================
   22c. CRAFT LAYER — ručna izrada umesto generičkog rastera
   Cilj: opipljive površine, asimetričan ritam, disanje i opružna fizika.
   ===================================================================== */

/* ---------------------------------------------------------------------
   A. TIPOGRAFIJA — hijerarhija, mera reda i disanje
   --------------------------------------------------------------------- */
h1, h2 { letter-spacing: -0.028em; text-wrap: balance; }
h1 { line-height: 1.05; }
h2 { line-height: 1.13; }
h3 { letter-spacing: -0.014em; line-height: 1.28; text-wrap: balance; }
h4 { letter-spacing: -0.01em; }

p, li { text-wrap: pretty; }
body { line-height: 1.8; }

.lead { line-height: 1.85; max-width: 62ch; }
.section-head p { max-width: 56ch; margin-left: auto; margin-right: auto; }
.section-head.is-left p { margin-left: 0; }
.card p { line-height: 1.78; }
.article-body p { max-width: 68ch; }

.eyebrow { letter-spacing: .14em; padding: 8px 18px; }

/* Prvi red uvodnog pasusa dobija malo više težine */
.page-hero .lead, .hero-lead { font-weight: 400; }

/* ---------------------------------------------------------------------
   B. RITAM SEKCIJA — prostranije, sa organskim prelazima
   --------------------------------------------------------------------- */
.section    { padding: clamp(4.5rem, 8.5vw, 8rem) 0; }
.section-sm { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-lg { padding: clamp(6rem, 11vw, 10rem) 0; }
.section-head { margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }

/* Obojene sekcije postaju meke ploče koje se nadovezuju, a ne tvrdi rezovi */
.section.bg-white,
.section.bg-sage,
.section.bg-yellow {
  border-radius: var(--r-slab);
  position: relative;
  z-index: 1;
}
.section.bg-white  + .section.bg-white { margin-top: calc(var(--sp-3) * -1); }
.section.bg-sage   { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }

/* Tihi ambijentalni sjaj koji povezuje sekcije u jednu priču.
   Ide kao sloj pozadine — pseudoelement sa z-index:-1 bi ostao ispod
   sopstvene pozadine sekcije (ploča pravi stacking context). */
.section.bg-white {
  background-color: var(--white);
  background-image:
    radial-gradient(52% 42% at 88% 4%, rgba(244, 241, 222, .60), transparent 68%),
    radial-gradient(46% 38% at 4% 96%, rgba(230, 238, 231, .55), transparent 66%);
}
.section.bg-yellow {
  background-color: var(--yellow);
  background-image:
    radial-gradient(50% 40% at 92% 6%, rgba(255, 255, 255, .55), transparent 66%),
    radial-gradient(44% 36% at 6% 94%, rgba(230, 238, 231, .50), transparent 64%);
}

/* ---------------------------------------------------------------------
   C. KARTICE KAO OPIPLJIVI PREDMETI
   --------------------------------------------------------------------- */
.card {
  border-radius: var(--r-card);
  padding: clamp(1.7rem, 2.3vw, 2.4rem);
  border-color: rgba(232, 226, 217, .85);
  box-shadow: var(--sh-sm);
  transition: transform .55s var(--ease-spring),
              box-shadow .5s var(--ease-soft),
              border-color .35s ease;
  isolation: isolate;
}

/* Nijedan susedni par nema isti oblik — utisak ručne izrade */
.grid > .card:nth-child(2n)   { border-radius: var(--r-card-alt); }
.grid > .card:nth-child(3n+1) { border-radius: var(--r-card-3); }

/* Meko svetlo iz gornjeg levog ugla — površina dobija zapreminu */
.card::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(115% 78% at 6% 0%, rgba(255, 255, 255, .95), transparent 48%);
  opacity: .75;
}
/* Papirna zrnastost */
.card::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit;
  background-image: var(--paper);
  opacity: .035; mix-blend-mode: multiply;
}
.card > * { position: relative; z-index: 1; }

.card:hover {
  transform: translateY(-10px) rotate(-.5deg);
  box-shadow: var(--sh-lg);
  border-color: rgba(224, 122, 95, .18);
}
.grid > .card:nth-child(2n):hover { transform: translateY(-10px) rotate(.5deg); }

/* Ikonica dobija sjaj u svojoj boji umesto generične sive senke */
.card-icon.is-coral { box-shadow: var(--glow-coral); }
.card-icon.is-sage  { box-shadow: var(--glow-sage); }
.card-icon.is-slate { box-shadow: var(--glow-slate); }
.card-icon.is-amber { box-shadow: var(--glow-amber); }
.card:hover .card-icon { transform: rotate(-9deg) scale(1.1); }

/* ---------------------------------------------------------------------
   D. KARTICA USLUGE — drveni blok sa obojenom „ivicom“
   --------------------------------------------------------------------- */
.pillar-card::after,
.grid-4 > .card::after { opacity: .045; }

.pillar-card {
  padding-left: clamp(1.9rem, 2.6vw, 2.6rem);
}
.pillar-card > .card-icon { margin-left: 2px; }
.pillar-card::marker { content: none; }

/* Bočna „drvena“ traka u boji oblasti */
.card.has-spine { overflow: hidden; }
.card.has-spine > .spine {
  position: absolute; left: 0; top: 14%; bottom: 14%; width: 6px;
  border-radius: 0 6px 6px 0; z-index: 2;
}

/* ---------------------------------------------------------------------
   E. KARTICA MATERIJALA — fizički špil kartica
   --------------------------------------------------------------------- */
.product-card {
  border-radius: 1.6rem 1.6rem 1.9rem 1.9rem !important;
  box-shadow:
    var(--sh-sm),
    0 9px 0 -3px var(--cream-deep),
    0 10px 0 -3px rgba(84, 62, 48, .10),
    0 18px 0 -7px #F7F2EA,
    0 19px 0 -7px rgba(84, 62, 48, .07);
}
.product-card:hover {
  transform: translateY(-12px) rotate(-.7deg);
  box-shadow:
    var(--sh-lg),
    0 12px 0 -3px var(--cream-deep),
    0 13px 0 -3px rgba(84, 62, 48, .12),
    0 24px 0 -7px #F7F2EA,
    0 25px 0 -7px rgba(84, 62, 48, .09);
}
.product-visual { border-radius: 1.5rem 1.5rem 0 0; }

/* ---------------------------------------------------------------------
   F. KARTICA SAVETA — otisak fotografije, blago nakrivljen
   --------------------------------------------------------------------- */
.post-card {
  border-radius: 1.5rem 1.5rem 1.5rem 1.5rem !important;
  transform: rotate(-.55deg);
}
.grid > .post-card:nth-child(2n) { transform: rotate(.65deg); }
.grid > .post-card:nth-child(3n) { transform: rotate(-.25deg); }
.post-card:hover,
.grid > .post-card:nth-child(2n):hover,
.grid > .post-card:nth-child(3n):hover {
  transform: translateY(-10px) rotate(0deg);
  box-shadow: var(--sh-lg);
}
.post-thumb { margin: 10px 10px 0; border-radius: 1.05rem; }
.post-card::before { border-radius: inherit; }

/* ---------------------------------------------------------------------
   G. ASIMETRIJA — razbijanje savršeno poravnatog rastera
   --------------------------------------------------------------------- */
@media (min-width: 901px) {
  /* Trostubna mreža dobija talasast ritam */
  .grid-3 > *:nth-child(3n + 2) { margin-top: clamp(1.5rem, 3vw, 3rem); }
  .grid-3 > *:nth-child(3n)     { margin-top: clamp(.6rem, 1.4vw, 1.4rem); }

  /* Četvorostubna: naizmenično spuštanje */
  .grid-4 > *:nth-child(2n) { margin-top: clamp(1rem, 2.2vw, 2.25rem); }

  /* Dvostubna mreža nije 50/50 */
  .grid-2 { grid-template-columns: 1.08fr .92fr; }
  .grid-2 > *:nth-child(2n) { margin-top: clamp(1.25rem, 2.6vw, 2.6rem); }

  /* Tim: naizmenične visine daju živ ritam */
  .team-card:nth-child(3n + 2) { margin-top: clamp(1.5rem, 3vw, 3.25rem); }

  /* Statistika: blago razmaknuta, ne kao tabela */
  .stat-grid > *:nth-child(2n) { margin-top: 1.1rem; }
  .stat:nth-child(4n + 1) { border-radius: var(--r-card); }
  .stat:nth-child(4n + 2) { border-radius: var(--r-card-alt); }
  .stat:nth-child(4n + 3) { border-radius: var(--r-card-3); }
}

/* Mreža koja mora ostati poravnata (npr. koraci procesa) */
.grid.is-even > * { margin-top: 0 !important; }

/* ---------------------------------------------------------------------
   H. OPRUŽNA FIZIKA — dugmad i interaktivni elementi
   --------------------------------------------------------------------- */
.btn {
  transition: transform .45s var(--ease-spring),
              box-shadow .38s var(--ease-soft),
              background-color .22s ease, color .22s ease, border-color .22s ease;
}
.btn:hover  { transform: translateY(-3px) scale(1.018); }
.btn:active { transform: translateY(-1px) scale(.972); transition-duration: .12s; }

.btn-primary   { box-shadow: var(--glow-coral); }
.btn-primary:hover  { box-shadow: var(--halo-coral); }
.btn-secondary { box-shadow: var(--glow-sage); }
.btn-secondary:hover { box-shadow: var(--halo-sage); }

/* Pain-point kartice: opipljive, sa organskim oblikom */
.pain-card {
  border-radius: var(--r-pill-soft);
  transition: transform .5s var(--ease-spring), background-color .35s ease,
              border-color .35s ease, box-shadow .45s var(--ease-soft);
}
.grid > .pain-card:nth-child(2n) { border-radius: .6rem 1.6rem .6rem 1.6rem; }
.pain-card:hover, .pain-card.is-open {
  transform: translateY(-5px) rotate(-.35deg);
  box-shadow: var(--sh-md);
}
.pain-card-mark { border-radius: var(--r-blob-1); transition: border-radius .55s var(--ease-soft), background-color .3s ease, color .3s ease; }
.pain-card:hover .pain-card-mark { border-radius: var(--r-blob-2); }

/* Filter čipovi */
.filter-chip { border-radius: var(--r-full); transition: transform .4s var(--ease-spring), background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .35s ease; }
.filter-chip:hover { transform: translateY(-3px) scale(1.03); }
.filter-chip.is-active { box-shadow: var(--glow-coral); }

/* Koraci procesa: brojevi kao drvene pločice */
.step-num { border-radius: var(--r-blob-1); box-shadow: var(--glow-coral); transition: border-radius .6s var(--ease-soft), transform .5s var(--ease-spring); }
.step:hover .step-num { border-radius: var(--r-blob-2); transform: translateY(-5px) rotate(-6deg); }

/* Tačke na putanji */
.journey-dot { transition: transform .5s var(--ease-spring), box-shadow .4s ease; }
.journey-step:hover .journey-dot { transform: scale(1.08) rotate(-5deg); box-shadow: var(--sh-md); }

/* ---------------------------------------------------------------------
   I. GALERIJA — organski isečci umesto pravougaonika
   --------------------------------------------------------------------- */
.gallery-item { border-radius: var(--r-card); transition: transform .55s var(--ease-spring), box-shadow .5s var(--ease-soft); }
.gallery-item:nth-child(2n) { border-radius: var(--r-card-alt); }
.gallery-item:nth-child(3n) { border-radius: var(--r-card-3); }
.gallery-item:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--sh-lg); }

/* ---------------------------------------------------------------------
   J. FORME — mekši, topliji unos
   --------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], input[type="date"], input[type="url"],
select, textarea {
  border-radius: 1.1rem;
  transition: border-color .25s ease, box-shadow .3s var(--ease-soft), background-color .25s ease;
}
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(141, 169, 143, .20), var(--sh-xs); }

.lead-form-card  { border-radius: var(--r-card); box-shadow: var(--sh-lg); }
.lead-form-inline { border-radius: var(--r-card-alt); }

/* ---------------------------------------------------------------------
   K. CTA TRAKA — organski oblik, ne pravougaonik
   --------------------------------------------------------------------- */
.cta-band { border-radius: var(--r-slab); }
.cta-band .btn-primary { box-shadow: 0 14px 34px rgba(0, 0, 0, .18); }

/* ---------------------------------------------------------------------
   L. DEKORATIVNE ANIMACIJE — usporene i utišane
   (beskonačne animacije ne smeju da odvlače pažnju)
   --------------------------------------------------------------------- */
.blob-1 { animation-duration: 26s; opacity: .42; }
.blob-2 { animation-duration: 32s; opacity: .40; }
.blob-3 { animation-duration: 30s; opacity: .34; }
.hero-badge-1, .hero-badge-2 { animation-duration: 11s; }


/* ---------------------------------------------------------------------
   M. DRVENA IVICA NA KARTICI USLUGE
   --------------------------------------------------------------------- */
.card.has-spine { padding-left: clamp(1.95rem, 2.7vw, 2.7rem); }
.card.has-spine > .spine {
  position: absolute; left: 0; top: 15%; bottom: 15%; width: 7px;
  border-radius: 0 8px 8px 0; z-index: 2;
  transition: top .5s var(--ease-spring), bottom .5s var(--ease-spring), width .4s var(--ease-soft);
}
.card.has-spine.is-coral > .spine { background: linear-gradient(180deg, var(--coral-light), var(--coral)); }
.card.has-spine.is-sage  > .spine { background: linear-gradient(180deg, var(--sage-light), var(--sage)); }
.card.has-spine.is-slate > .spine { background: linear-gradient(180deg, var(--slate-light), var(--slate)); }
.card.has-spine.is-amber > .spine { background: linear-gradient(180deg, var(--yellow-deep), var(--warning)); }
.card.has-spine:hover > .spine { top: 7%; bottom: 7%; width: 9px; }

/* ---------------------------------------------------------------------
   N. OZNAKA FORMATA NA MATERIJALU — kao nalepnica na kutiji
   --------------------------------------------------------------------- */
.product-card { position: relative; }
.product-tag {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  font-family: var(--font-head); font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; color: var(--white);
  background: var(--slate); padding: 5px 11px;
  border-radius: .7rem .25rem .7rem .25rem;
  box-shadow: var(--glow-slate);
  transform: rotate(3deg);
  transition: transform .45s var(--ease-spring);
}
.product-card:hover .product-tag { transform: rotate(-3deg) scale(1.06); }

/* ---------------------------------------------------------------------
   O. ISTAKNUT SAVET — bento umesto tri jednaka pravougaonika
   --------------------------------------------------------------------- */
@media (min-width: 901px) {
  .grid-3 > .post-card:first-child {
    grid-column: span 2;
    flex-direction: row;
    margin-top: 0;
    border-radius: var(--r-card) !important;
    transform: rotate(0deg);
  }
  .grid-3 > .post-card:first-child .post-thumb {
    flex: 0 0 45%; aspect-ratio: auto; height: auto;
    margin: 10px 0 10px 10px; border-radius: 1.05rem;
  }
  .grid-3 > .post-card:first-child .post-body { justify-content: center; padding: var(--sp-6); }
  .grid-3 > .post-card:first-child h3 { font-size: var(--fs-xl); }
  .grid-3 > .post-card:first-child p { font-size: var(--fs-base); }
  .grid-3 > .post-card:first-child:hover { transform: translateY(-10px) rotate(-.35deg); }
}

/* ---------------------------------------------------------------------
   P. PREKLAPANJE — elementi ulaze jedan u drugi umesto da stoje u redu
   --------------------------------------------------------------------- */
@media (min-width: 1081px) {
  .intro-aside { margin-left: clamp(-3.5rem, -3vw, -1rem); position: relative; z-index: 2; }
  .intro-aside .intro-badge:nth-child(2) { margin-left: clamp(1rem, 2.4vw, 2.4rem); }
  .intro-aside .intro-badge:nth-child(4) { margin-left: clamp(.5rem, 1.4vw, 1.4rem); }

  .project-visual { margin-left: clamp(-2.5rem, -2vw, -.5rem); }
  .mv-card:nth-child(2) { margin-top: clamp(1.75rem, 3.4vw, 3.5rem); }
}

/* Kartice stubova: broj se blago izliva van okvira */
.pillar-num { top: -.4rem; right: .9rem; opacity: .85; }


/* ---------------------------------------------------------------------
   Q. FOTOGRAFIJE U SEKCIJAMA — organski isečci, nikad goli pravougaonik
   --------------------------------------------------------------------- */

/* Dekorativna slika u zaglavlju podstranice */
.page-hero { position: relative; }
.page-hero-art {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: clamp(280px, 42%, 620px); z-index: 0; pointer-events: none;
  border-radius: 45% 0 0 55% / 55% 0 0 45%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(270deg, #000 22%, rgba(0,0,0,.55) 58%, transparent 96%);
          mask-image: linear-gradient(270deg, #000 22%, rgba(0,0,0,.55) 58%, transparent 96%);
}
.page-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; opacity: .82; }
.page-hero .container, .page-hero .breadcrumbs { position: relative; z-index: 2; }

/* Slika unutar sekcije */
.section-art {
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 6px solid var(--white);
  transform: rotate(-.6deg);
  transition: transform .6s var(--ease-spring), box-shadow .5s var(--ease-soft);
}
.section-art:hover { transform: rotate(0deg) translateY(-6px); box-shadow: var(--sh-xl); }
.section-art img { width: 100%; height: auto; display: block; border-radius: calc(var(--r-lg) - 6px); }
.section-art.is-wide { border-radius: var(--r-card-alt); }
.section-art.is-wide img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Fotografija u kartici usluge */
.card.has-photo { padding-top: 0; overflow: hidden; }
.card.has-photo > .card-photo {
  display: block; margin: 0 calc(clamp(1.95rem, 2.7vw, 2.7rem) * -1) clamp(1.3rem, 2vw, 1.75rem);
  margin-top: 0; overflow: hidden; position: relative;
}
.card.has-photo > .card-photo img {
  width: 100%; height: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; display: block;
  transition: transform .8s var(--ease-soft);
}
.card.has-photo:hover > .card-photo img { transform: scale(1.06); }
.card.has-photo > .card-icon { margin-top: 0; }
.card.has-photo > .spine { top: 0; bottom: 42%; z-index: 3; }

/* Fotografija u pozadini CTA trake */
.cta-band.has-media { overflow: hidden; }
.cta-media { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; opacity: .30; }
.cta-band.has-media::before,
.cta-band.has-media::after { z-index: 1; }
.cta-band.has-media > * { position: relative; z-index: 2; }

@media (max-width: 900px) {
  .page-hero-art {
    width: 100%; top: auto; height: 46%;
    border-radius: 40% 40% 0 0 / 16% 16% 0 0;
    -webkit-mask-image: linear-gradient(0deg, #000 18%, rgba(0,0,0,.35) 62%, transparent 96%);
            mask-image: linear-gradient(0deg, #000 18%, rgba(0,0,0,.35) 62%, transparent 96%);
    opacity: .55;
  }
  .section-art { transform: none; border-width: 5px; }
  .card.has-photo > .card-photo { margin-left: calc(var(--sp-5) * -1); margin-right: calc(var(--sp-5) * -1); }
}

/* ---------------------------------------------------------------------
   23. RESPONZIVNOST
   --------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; order: -1; }

  .hero--cinematic { min-height: auto; padding: calc(var(--header-h) + var(--sp-6)) 0 var(--sp-8); }
  .hero--cinematic .hero-inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .hero--cinematic .hero-content { max-width: 100%; }
  .hero--cinematic .hero-floats { flex-direction: row; flex-wrap: wrap; }
  .hero--cinematic .hero-float { flex: 1 1 240px; }
  .hero--cinematic .hero-float-2,
  .hero--cinematic .hero-float-3 { margin-left: 0; }
  .hero-scroll { display: none; }

  .hero--classic .hero-inner { grid-template-columns: 1fr; }
  .hero--classic .hero-content { grid-column: 1; grid-row: 2; }
  .hero--classic .hero-floats  { grid-column: 1; grid-row: 3; }
  .hero--classic .hero-visual  { grid-column: 1; grid-row: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-split, .project-split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .project-visual { order: -1; }
}

/* --- Navigacija prelazi u mobilni režim ranije (8 stavki ne staje na uži desktop) --- */
@media (max-width: 1100px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: flex; }

  /* backdrop-filter pravi containing block za position:fixed — isključujemo ga ovde */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
  }
  .site-header.is-scrolled { background: var(--cream); }

  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    width: 100%; height: calc(100dvh - var(--header-h)); max-height: calc(100vh - var(--header-h));
    background: var(--cream);
    padding: var(--sp-5) var(--sp-5) var(--sp-8); overflow-y: auto; margin: 0;
    transform: translateX(100%); transition: transform .38s var(--ease-soft);
    z-index: 190;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: var(--sp-2); }
  .nav-link { padding: 14px 18px; font-size: var(--fs-lg); justify-content: space-between; border-radius: var(--r-md); }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: transparent; border: 0; padding: 0 0 0 var(--sp-4);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-soft);
  }
  .nav-item.has-children.is-expanded .nav-dropdown { max-height: 640px; }
  .nav-dropdown a { padding: 11px 18px; }
  .header-actions .btn { display: none; }
  .brand-sub { display: block; }

  .nav-cta {
    display: grid; gap: var(--sp-3);
    margin-top: var(--sp-6); padding-top: var(--sp-5);
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: 1 / -1; min-height: 240px; }
  .steps { grid-template-columns: 1fr; }
  .qr-block { grid-template-columns: 1fr; }
  .qr-canvas-wrap { max-width: 240px; margin: 0 auto; }
  .pdf-preview { grid-template-columns: repeat(2, 1fr); }
  .memory-board { grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
  .section { padding: var(--sp-8) 0; }
  .section-lg { padding: var(--sp-8) 0; }
}

@media (max-width: 640px) {
  :root { --fs-md: 1rem; }
  .container { padding: 0 var(--sp-4); }
  .brand-sub { display: none; }
  .brand img { width: 44px; height: 44px; }
  .grid-4, .stat-grid { grid-template-columns: 1fr; }
  .quiz-shell, .game-shell { padding: var(--sp-5); }
  .cta-band { padding: var(--sp-7) var(--sp-5); }
  .hero-badge-1, .hero-badge-2 { display: none; }
  .hero-actions .btn { width: 100%; }

  .hero--cinematic { padding: calc(var(--header-h) + var(--sp-5)) 0 var(--sp-7); }

  /* Dugmad smeju da prelome tekst — inače razvlače kolonu preko ekrana */
  .hero-actions .btn { white-space: normal; text-align: center; }
  .hero-actions .btn-lg { padding: 15px 20px; font-size: var(--fs-base); }

  /* Pločice postaju kompaktni čipovi u horizontalnoj traci */
  .hero--cinematic .hero-floats {
    flex-direction: row; flex-wrap: nowrap;
    gap: var(--sp-2); overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; -ms-overflow-style: none;
    margin: 0 calc(var(--sp-4) * -1); padding: 2px var(--sp-4) 8px;
  }
  .hero--cinematic .hero-floats::-webkit-scrollbar { display: none; }
  .hero--cinematic .hero-float { flex: 0 0 auto; padding: 10px 15px; gap: var(--sp-3); }
  .hero--cinematic .hero-float-icon { width: 34px; height: 34px; }
  .hero--cinematic .hero-float-body span { display: none; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(28, 30, 46, .82) 0%, rgba(28, 30, 46, .68) 45%, rgba(28, 30, 46, .86) 100%);
  }
  .modal-body, .modal-head, .modal-foot { padding: var(--sp-5); }
  .journey-step { grid-template-columns: 56px 1fr; gap: var(--sp-4); }
  .journey-dot { width: 52px; height: 52px; font-size: var(--fs-base); }
  .footer-grid { grid-template-columns: 1fr; }
  .memory-board { grid-template-columns: repeat(3, 1fr); }
  .lead-form-card, .lead-form-inline { padding: var(--sp-5); }
  .story-box { padding: var(--sp-5); font-size: 1rem; }
  .story-box p:first-child::first-letter { font-size: 2.4rem; }
  .pillar-num { font-size: 2.4rem; top: var(--sp-4); right: var(--sp-4); }
  .support-note { padding: var(--sp-4); }
  .intro-badge { padding: var(--sp-3) var(--sp-4); gap: var(--sp-3); }
}

/* ---------------------------------------------------------------------
   24. PRISTUPAČNOST — smanjena animacija
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }

  /* Hero: bez lebdenja, bez pokazivača, sadržaj odmah vidljiv */
  .hero--cinematic [data-hero] { opacity: 1 !important; transform: none !important; }
  .hero.is-floating .hero-float { animation: none !important; transform: none !important; }
  .hero-scroll-mouse span { animation: none !important; }
  .hero-video { display: none !important; }
}

/* ---------------------------------------------------------------------
   25. ŠTAMPA
   --------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn, .lead-form-inline, .cta-band { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .container { max-width: 100%; padding: 0; }
  a { color: #000; text-decoration: underline; }
}
