/* ==========================================================================
   GREJP DIGITAL — DESIGN TOKENS v2
   Tema: tamna, "sočna" agencijska estetika. Paleta i dalje dolazi
   direktno iz preseka grejpfruta — samo je sada kora (rind) postala
   pozadina čitavog sajta, a meso ploda (flesh) i zest gore svetle
   na tamnoj podlozi kao neonska sočnost.
   ========================================================================== */
:root{
  --bg:          #0A130F;
  --bg-2:        #0E1B15;
  --surface:     rgba(255,255,255,0.045);
  --surface-2:   rgba(255,255,255,0.075);
  --border:      rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.22);

  --ink:         #F4F7F0;
  --ink-dim:     rgba(244,247,240,0.68);
  --ink-faint:   rgba(244,247,240,0.42);

  --rind:        #F4F7F0;
  --rind-soft:   rgba(244,247,240,0.62);

  --flesh:       #FF3F68;
  --flesh-2:     #FF7A54;
  --flesh-soft:  rgba(255,63,104,0.18);

  --zest:        #D9EE55;
  --zest-dark:   #A8C22E;

  --pith:        #12241B;

  --shadow-soft: 0 30px 70px -30px rgba(0,0,0,0.6);
  --shadow-pop:  0 25px 60px -15px rgba(255,63,104,0.45);

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-serif:   'Fraunces', serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

:root{
  --paper:       var(--bg);
  --paper-dim:   var(--bg-2);
  --paper-card:  var(--surface);
  --line:        var(--border);
  --line-strong: var(--border-strong);
}

*, *::before, *::after{ box-sizing: border-box; }
*{ margin: 0; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img, svg{ display:block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; padding: 0; }
button{ font: inherit; cursor: pointer; background:none; border:none; color:inherit; }
input, textarea, select{ font: inherit; }

.skip-link{ position:absolute; left:-999px; top:0; background:var(--flesh); color:#fff; padding:.75rem 1.25rem; z-index:999; border-radius:0 0 8px 0; }
.skip-link:focus{ left:0; }
:focus-visible{ outline: 3px solid var(--zest); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.wrap{ width:100%; max-width: var(--container); margin-inline:auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
section{ position: relative; }

body::before{
  content:''; position: fixed; inset: 0; z-index:-2; pointer-events:none;
  background:
    radial-gradient(680px circle at 12% 8%,  rgba(255,63,104,0.20), transparent 60%),
    radial-gradient(620px circle at 88% 18%, rgba(217,238,85,0.14), transparent 60%),
    radial-gradient(720px circle at 50% 95%, rgba(255,122,84,0.16), transparent 60%),
    var(--bg);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift{ 0%{ filter: hue-rotate(0deg); } 100%{ filter: hue-rotate(8deg); } }

.grain{
  position: fixed; inset: -10%; z-index: 90; 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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-dot, .cursor-ring{
  position: fixed; top:0; left:0; z-index: 999; pointer-events:none; border-radius: 50%;
  transform: translate(-50%,-50%); opacity: 0; transition: opacity .2s ease, width .25s ease, height .25s ease;
  mix-blend-mode: difference;
}
.cursor-dot{ width:8px; height:8px; background: #fff; }
.cursor-ring{ width:38px; height:38px; border: 1.5px solid #fff; transition: opacity .2s ease, transform .12s ease, width .25s ease, height .25s ease; }
html.cursor-active .cursor-dot, html.cursor-active .cursor-ring{ opacity: 1; }
html.cursor-active .cursor-ring.is-hover{ width:68px; height:68px; }
@media (hover:none), (pointer:coarse){ .cursor-dot, .cursor-ring{ display:none; } }

h1,h2,h3,h4{ font-family: var(--font-display); color: var(--rind); line-height: 1.06; font-weight: 650; letter-spacing: -0.02em; }
h1{ font-size: clamp(2.6rem, 5.2vw, 4.6rem); font-weight: 650; }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 650; }
h3{ font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; }
p{ color: var(--ink-dim); }

.eyebrow{ display:inline-flex; align-items:center; gap:.55rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--zest); font-weight: 500; margin-bottom: 1.1rem; }
.eyebrow::before{ content:''; width: 18px; height: 2px; background: var(--flesh); border-radius: 2px; }
.lede{ font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 46ch; color: var(--ink-dim); }
em{ font-style: italic; font-family: var(--font-serif); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding: 1rem 1.85rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid transparent; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap; will-change: transform;
}
.btn-primary{ background: var(--flesh); color: #fff; box-shadow: var(--shadow-pop); }
.btn-primary:hover{ background: #FF5A80; }
.btn-secondary{ background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover{ border-color: var(--zest); color: var(--zest); }
.btn-small{ padding: 0.65rem 1.3rem; font-size: 0.9rem; }
.btn-block{ width: 100%; }
.btn::after{ content:'→'; display:inline-block; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn:hover::after{ transform: translateX(5px); }

.site-header{
  position: sticky; top: 0; z-index: 100; background: rgba(10,19,15,0.5);
  backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease, background .3s ease;
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding-block: 0.9rem; gap: 1.5rem; }
.brand{ display:flex; align-items:center; gap:.65rem; flex-shrink:0; }
.brand-mark svg{ width: 34px; height: 34px; }
.brand-logo-img{ height: 38px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-signature{ display:flex; align-items:center; gap:.5rem; }
.footer-signature-brand{ display:inline-flex; align-items:center; }
.footer-signature-brand .brand-logo-img{ height: 18px; }
.footer-signature-brand .brand-mark svg{ width: 18px; height: 18px; }
.bm-rind{ fill: var(--flesh); }
.bm-pith{ fill: var(--bg); }
.bm-wedge{ fill: var(--zest); }
.bm-wedge-b{ fill: var(--flesh-2); }
.brand-text{ font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.brand-text em{ font-style: normal; font-family: var(--font-display); color: var(--flesh); }

.main-nav ul{ display:flex; gap: 2rem; }
.nav-link{ font-weight: 500; font-size: 0.98rem; color: var(--ink-dim); position: relative; padding-block: 4px; }
.nav-link::after{ content:''; position:absolute; left:0; bottom:-2px; height:2px; width:0; background: var(--flesh); transition: width .25s ease; border-radius: 2px; }
.nav-link:hover, .nav-link.active{ color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after{ width: 100%; }

.header-actions{ display:flex; align-items:center; gap: 1.25rem; }
.lang-switch{ display:flex; gap:.5rem; align-items:center; }
.lang-flag{ display:flex; align-items:center; justify-content:center; border-radius:3px; overflow:hidden; opacity:.45; transition:opacity .2s ease, transform .2s ease; line-height:0; }
.lang-flag svg{ display:block; }
.lang-flag:hover{ opacity:.8; transform:translateY(-1px); }
.lang-flag.is-active{ opacity:1; box-shadow:0 0 0 2px var(--flesh); }
.header-phone{ font-family: var(--font-mono); font-size: 0.88rem; color: var(--ink-faint); font-weight:500; }
.header-phone:hover{ color: var(--zest); }

.nav-toggle{ display:none; flex-direction:column; justify-content:center; gap:5px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); }
.nav-toggle span{ display:block; width: 18px; height: 2px; background: var(--ink); margin-inline:auto; border-radius:2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{ display:none; max-height: 0; overflow:hidden; transition: max-height .35s ease; border-top: 1px solid var(--border); background: var(--bg-2); }
.mobile-nav.open{ max-height: 420px; }
.mobile-nav ul{ padding: 1rem clamp(1.25rem,4vw,2.5rem) 1.5rem; display:flex; flex-direction:column; gap: .9rem; }
.mobile-nav a{ font-weight: 500; font-size: 1.05rem; }

/* Zastavice: sakrij u glavnom headeru na mobilnom, ostavi samo u meniju */
@media (max-width: 900px){
  .main-nav{ display:none; } .header-phone{ display:none; } .nav-toggle{ display:flex; } .mobile-nav{ display:block; }
  .header-actions .lang-switch{ display: none !important; }
  .mobile-nav .lang-switch{ display: flex !important; gap: .6rem; align-items: center; margin-top: .4rem; }
  
    .brand-logo-img{ height: 16px; max-width: 160px; }
  .brand-mark svg{ width: 26px; height: 26px; }
  .brand-text{ font-size: 1.05rem; }
}

.marquee{ overflow: hidden; white-space: nowrap; background: var(--flesh); padding-block: 0.85rem; transform: rotate(-1deg) scale(1.02); box-shadow: 0 15px 40px -20px rgba(255,63,104,0.5); }
.marquee-track{ display:inline-flex; animation: marquee 26s linear infinite; }
.marquee-track span{ font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #fff; padding-inline: 1.25rem; display:inline-flex; align-items:center; gap: 1.25rem; text-transform: uppercase; letter-spacing: .02em; }
.marquee-track span::after{ content:'✽'; color: var(--zest); font-size: .9rem; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

.marquee-outline{ overflow:hidden; white-space:nowrap; background: var(--bg); padding-block: .6rem; border-bottom: 1px solid var(--border); }
.marquee-outline .marquee-track{ animation: marquee-rev 24s linear infinite; }
.marquee-outline span{
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--flesh-2); padding-inline: 1.5rem; text-transform: uppercase; letter-spacing:.01em;
}
@keyframes marquee-rev{ from{ transform: translateX(-50%); } to{ transform: translateX(0); } }

.clients-marquee{ overflow:hidden; border-block: 1px solid var(--border); background: var(--bg-2); padding-block: 1.75rem; }
.clients-marquee-track{ display:inline-flex; align-items:center; animation: marquee 30s linear infinite; }
.clients-marquee-track.is-static{ animation:none; display:flex; justify-content:center; flex-wrap:wrap; width:100%; }
.clients-eyebrow{ font-family: var(--font-mono); font-size: .72rem; text-transform:uppercase; letter-spacing:.14em; color: var(--ink-faint); text-align:center; padding-top: .9rem; }

/* Logo klijenata — fiksna, jednoobrazna "pločica" bez obzira na format/boju originalnog loga */
.client-logo-item{ display:inline-flex; padding-inline: .9rem; }
.client-logo-tile{
  width: 148px; height: 72px; display:flex; align-items:center; justify-content:center;
  background: var(--ink); border-radius: var(--radius-sm); border: 1px solid transparent;
  padding: .9rem 1.1rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.client-logo-tile img{ max-width: 100%; max-height: 100%; width:auto; height:auto; object-fit: contain; display:block; }
.client-logo-tile.is-placeholder{ font-family: var(--font-display); font-weight: 700; color: var(--pith); font-size: .95rem; text-align:center; line-height:1.2; }
.client-logo-item:hover .client-logo-tile{ transform: translateY(-3px); border-color: var(--flesh); box-shadow: var(--shadow-pop); }

.hero{ padding-block: clamp(4rem, 10vw, 7rem) clamp(2.5rem, 5vw, 4rem); overflow:hidden; position:relative; }
.hero-bg-word{
  position:absolute; top:50%; left:50%; transform: translate(-50%,-50%);
  font-family: var(--font-display); font-size: clamp(3.2rem, 11vw, 9rem); font-weight:800;
  color: transparent; -webkit-text-stroke: 1.25px rgba(244,247,240,0.09); letter-spacing:-0.02em;
  white-space:nowrap; z-index:-1; pointer-events:none; user-select:none;
  animation: bg-word-drift 14s ease-in-out infinite;
}
@keyframes bg-word-drift{
  0%, 100%{ transform: translate(-50%,-50%) scale(1); }
  50%{ transform: translate(-50%,-50%) scale(1.035); }
}
.hero-drops{ position:absolute; inset:0; z-index:-1; pointer-events:none; }
.drop{
  position:absolute; border-radius: 50% 50% 50% 4%; opacity: .35; filter: blur(.5px);
  animation: drop-rise 9s ease-in-out infinite;
}
.drop-1{ left: 8%;  top: 70%; width: 14px; height: 18px; background: var(--flesh); animation-delay: 0s; }
.drop-2{ left: 22%; top: 82%; width: 9px;  height: 12px; background: var(--zest); animation-delay: 1.8s; }
.drop-3{ right: 14%; top: 65%; width: 16px; height: 21px; background: var(--flesh-2); animation-delay: 3.4s; }
.drop-4{ right: 28%; top: 88%; width: 10px; height: 13px; background: var(--zest); animation-delay: 5.2s; }
@keyframes drop-rise{
  0%{ transform: translateY(0) rotate(0deg); opacity: 0; }
  15%{ opacity: .4; }
  85%{ opacity: .25; }
  100%{ transform: translateY(-160px) rotate(18deg); opacity: 0; }
}
.hero-inner{ max-width: 920px; position:relative; z-index:1; }
.hero h1{ margin-bottom: 1.4rem; }
.hero h1 em{ color: var(--flesh); }
.hero .lede{ margin-bottom: 2.4rem; }
.hero-cta-row{ display:flex; align-items:center; gap: 1.5rem; flex-wrap:wrap; }

.badges{ display:flex; gap: 1.8rem; flex-wrap:wrap; margin-top: 2.8rem; padding-top: 1.9rem; border-top: 1px solid var(--border); }
.badges li{ font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-faint); display:flex; align-items:center; gap:.5rem; }
.badges li::before{ content:'✓'; color: var(--zest); font-weight:700; }

.section-head{ max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center{ margin-inline:auto; text-align:center; }

.why{ padding-block: clamp(4rem, 8vw, 7rem); }
.segments{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; perspective: 1000px; }
.segments .segment-card:nth-child(1){ transition-delay: 0s; }
.segments .segment-card:nth-child(2){ transition-delay: .12s; }
.segments .segment-card:nth-child(3){ transition-delay: .24s; }
.segment-card{
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.2rem 2rem; position:relative; overflow:hidden; backdrop-filter: blur(10px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
.segment-card:hover{ transform: translateY(-8px) rotateX(3deg) rotateY(-2deg); box-shadow: var(--shadow-soft); border-color: var(--border-strong); background: var(--surface-2); }
.segment-card::before{ content:''; position:absolute; top:-50px; right:-50px; width:150px; height:150px; border-radius:50%; background: radial-gradient(circle, var(--flesh-soft), transparent 70%); transition: transform .5s ease; }
.segment-card:hover::before{ transform: scale(1.4); }
.segment-tag{
  font-family: var(--font-mono); font-size: .75rem; letter-spacing:.1em; text-transform:uppercase; color: var(--zest);
  background: rgba(217,238,85,0.12); border: 1px solid rgba(217,238,85,0.25);
  display:inline-block; padding: .3rem .75rem; border-radius: 999px; margin-bottom: 1.2rem; position:relative;
}
.segment-card h3{ margin-bottom: .75rem; position:relative; }
.segment-card p{ position:relative; font-size: .96rem; }
@media (max-width: 900px){ .segments{ grid-template-columns: 1fr; } }

.mission{ padding-block: clamp(4rem, 9vw, 7rem); position: relative; overflow:hidden; }
.mission .wrap{ position:relative; z-index:2; max-width: 900px; }
.mission p{ color: var(--ink); font-family: var(--font-serif); font-size: clamp(1.5rem, 2.9vw, 2.1rem); font-style: italic; font-weight: 400; line-height: 1.45; }
.mission::after{ content:''; position:absolute; right:-140px; top:50%; transform: translateY(-50%); width: 460px; height:460px; border-radius:50%; border: 90px solid rgba(255,63,104,0.06); }

/* ==========================================================================
   LOUD BLOCKS — full-bleed dijagonalni color blokovi za maksimalan kontrast
   ========================================================================== */
.loud-block{
  clip-path: polygon(0 4.5%, 100% 0%, 100% 95.5%, 0% 100%);
  padding-block: clamp(6.5rem, 13vw, 10.5rem) !important;
  z-index: 1;
}
.loud-flesh{ background: linear-gradient(135deg, var(--flesh) 0%, var(--flesh-2) 100%); }
.loud-flesh h2, .loud-flesh h3{ color: #fff; }
.loud-flesh .eyebrow{ color: #fff; }
.loud-flesh .eyebrow::before{ background: rgba(255,255,255,0.7); }
.loud-flesh .wheel-item p, .loud-flesh .wheel-index{ color: rgba(255,255,255,0.88); }
.loud-flesh .wheel-index{ color: #fff; font-weight:600; }
.loud-flesh .btn-secondary{ border-color: rgba(255,255,255,0.55); color: #fff; }
.loud-flesh .btn-secondary:hover{ background: #fff; color: var(--flesh); border-color: #fff; }
.loud-flesh .wheel-dot{ background: rgba(255,255,255,0.35); }
.loud-flesh .wheel-dot.is-active{ background: #fff; }
.loud-flesh .wheel-stage::before{ background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 68%); }
.loud-flesh .wheel-core{ fill: var(--bg); stroke: rgba(255,255,255,0.5); }
.loud-flesh .wheel-core-label{ fill: #fff; }
.loud-flesh .wheel-wedge-link:nth-child(5n+1) .wheel-wedge{ fill: var(--bg); }
.loud-flesh .wheel-wedge-link:nth-child(5n+2) .wheel-wedge{ fill: #fff; }
.loud-flesh .wheel-wedge-link:nth-child(5n+3) .wheel-wedge{ fill: var(--zest); }
.loud-flesh .wheel-wedge-link:nth-child(5n+4) .wheel-wedge{ fill: var(--pith); }
.loud-flesh .wheel-wedge-link:nth-child(5n+5) .wheel-wedge{ fill: color-mix(in srgb, #fff 65%, var(--zest)); }
.loud-flesh .wheel-wedge{ stroke: var(--flesh); }

.loud-zest{ background: linear-gradient(135deg, var(--zest) 0%, #EFF6A8 100%); }
.loud-zest p{ color: var(--bg); }
.loud-zest .eyebrow{ color: var(--flesh); }
.loud-zest .eyebrow::before{ background: var(--bg); }
.loud-zest .mission::after, .loud-zest.mission::after{ border-color: rgba(10,19,15,0.08); }

.wheel-section{ padding-block: clamp(4rem, 9vw, 7rem); }
.wheel-layout{ display:grid; grid-template-columns: 0.85fr 1.15fr; align-items:center; gap: clamp(2rem, 5vw, 4rem); }
.wheel-stage{ position:relative; display:flex; align-items:center; justify-content:center; }
.wheel-stage::before{ content:''; position:absolute; inset:6%; border-radius:50%; background: radial-gradient(circle, var(--flesh-soft), transparent 68%); z-index:-1; }
.service-wheel{ width: min(460px, 100%); overflow: visible; animation: wheel-sway 8s ease-in-out infinite; }
@keyframes wheel-sway{ 0%,100%{ transform: rotate(-1.5deg); } 50%{ transform: rotate(1.5deg); } }
.wheel-wedge-link{ cursor: pointer; }
.wheel-wedge-link:focus:not(:focus-visible){ outline: none; }
.wheel-wedge{ transform-origin: 200px 200px; transition: transform .4s cubic-bezier(.2,.8,.2,1), filter .3s ease, opacity .3s ease; fill: var(--pith); stroke: var(--bg); stroke-width: 2; }
.wheel-wedge-link:nth-child(5n+1) .wheel-wedge{ fill: var(--flesh); }
.wheel-wedge-link:nth-child(5n+2) .wheel-wedge{ fill: var(--flesh-2); }
.wheel-wedge-link:nth-child(5n+3) .wheel-wedge{ fill: var(--zest); }
.wheel-wedge-link:nth-child(5n+4) .wheel-wedge{ fill: color-mix(in srgb, var(--flesh) 55%, var(--zest)); }
.wheel-wedge-link:nth-child(5n+5) .wheel-wedge{ fill: color-mix(in srgb, var(--flesh-2) 60%, var(--zest)); }
.wheel-wedge-link:hover .wheel-wedge, .wheel-wedge-link:focus-visible .wheel-wedge, .wheel-wedge-link.is-active .wheel-wedge{
  transform: scale(1.09) translateY(-6px); filter: brightness(1.15) drop-shadow(0 10px 24px rgba(0,0,0,0.4));
}
.wheel-core{ fill: var(--bg); stroke: var(--border-strong); stroke-width: 1.5; }
.wheel-core-label{ font-family: var(--font-display); font-size: 15px; fill: var(--ink); font-weight: 600; }

.wheel-panel{ min-height: 220px; }
.wheel-item{ display:none; }
.wheel-item.is-active{ display:block; animation: fade-up .5s ease both; }
@keyframes fade-up{ from{ opacity:0; transform: translateY(10px); } to{ opacity:1; transform: translateY(0); } }
.wheel-item .wheel-index{ font-family: var(--font-mono); color: var(--flesh); font-size: .85rem; }
.wheel-item h3{ margin-block: .5rem 1rem; }
.wheel-item p{ margin-bottom: 1.5rem; max-width: 46ch; }
.wheel-dots{ display:flex; gap: .6rem; margin-top: 1.75rem; }
.wheel-dot{ width: 34px; height: 6px; border-radius: 4px; background: var(--border); border: none; transition: background .25s ease, width .25s ease; }
.wheel-dot.is-active{ background: var(--flesh); width: 52px; }

@media (max-width: 900px){
  .wheel-layout{ grid-template-columns: 1fr; }
  .service-wheel{ width: min(340px, 80%); margin-inline:auto; }
}

.testimonials{ padding-block: clamp(4rem, 8vw, 7rem); background: var(--bg-2); }
.testi-carousel{ display:flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; cursor: grab; scrollbar-width: none; }
.testi-carousel::-webkit-scrollbar{ display:none; }
.testi-carousel.is-dragging{ cursor: grabbing; scroll-snap-type: none; }
.testi-card{ scroll-snap-align: start; flex: 0 0 min(420px, 86vw); background: var(--surface); border-radius: var(--radius-md); padding: 2.1rem; border: 1px solid var(--border); display:flex; flex-direction:column; gap: 1.25rem; }
.testi-quote-mark{ font-family: var(--font-serif); font-size: 3rem; color: var(--flesh); line-height:1; font-style:italic; }
.testi-card p.quote{ color: var(--ink); font-size: .98rem; }
.testi-name{ font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.testi-role{ font-size: .82rem; color: var(--ink-faint); font-family: var(--font-mono); }
.carousel-hint{ font-family: var(--font-mono); font-size: .78rem; color: var(--ink-faint); text-align:center; margin-top: .5rem; }

.cta-band{
  margin: clamp(3rem, 6vw, 5rem) auto; max-width: var(--container); margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 6vw, 4rem);
  background: linear-gradient(135deg, var(--flesh) 0%, var(--flesh-2) 100%);
  border-radius: var(--radius-lg); color: #fff;
  display:flex; align-items:center; justify-content:space-between; gap: 2rem; flex-wrap:wrap;
  position: relative; overflow:hidden; box-shadow: var(--shadow-pop);
}
.cta-band::before{ content:''; position:absolute; left:-60px; bottom:-60px; width:220px; height:220px; border-radius:50%; background: rgba(255,255,255,0.12); }
.cta-band h2{ color: #fff; margin-bottom:.4rem; }
.cta-band p{ color: rgba(255,255,255,0.9); }
.cta-band .btn-secondary{ background: #fff; color: var(--flesh); border-color: #fff; }
.cta-band .btn-secondary:hover{ background: var(--bg); color: var(--zest); border-color: var(--bg); }

.faq{ padding-block: clamp(4rem, 8vw, 7rem); }
.faq-list{ max-width: 780px; margin-inline:auto; display:flex; flex-direction:column; gap: 1rem; }
.faq-item{ border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow:hidden; }
.faq-item summary{ list-style:none; cursor:pointer; padding: 1.35rem 1.6rem; display:flex; align-items:center; justify-content:space-between; gap: 1rem; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .q-num{ font-family: var(--font-mono); color: var(--flesh); font-weight:500; margin-right:.75rem; }
.faq-item summary::after{ content:'+'; font-size: 1.6rem; color: var(--flesh); flex-shrink:0; transition: transform .25s ease; font-weight:400; }
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item .faq-a{ padding: 0 1.6rem 1.5rem; font-size: .97rem; }

.page-hero{ padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--border); }
.breadcrumb{ font-family: var(--font-mono); font-size: .82rem; color: var(--ink-faint); margin-bottom: 1.25rem; }
.breadcrumb a:hover{ color: var(--flesh); }

.service-detail{ padding-block: clamp(3rem, 6vw, 5rem); display:flex; flex-direction:column; gap: clamp(3rem, 6vw, 4.5rem); }
.service-block{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items:center; }
.service-block.is-image-first .service-block-media{ order: -1; }
.service-block-media{ aspect-ratio: 4/3; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.service-block-media .grapefruit{ width: 55%; }
.service-block-media img{ width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.service-block-media .marketing-illustration{ width: 75%; height: auto; }
.service-block h3{ margin-bottom: .6rem; }
.service-block .lead{ font-family: var(--font-serif); font-style: italic; color: var(--flesh); font-size: 1.2rem; margin-bottom: 1rem; }

@media (max-width: 800px){
  .service-block{ display:flex; flex-direction:column; }
  .service-block.is-image-first .service-block-media{ order: initial; }
}

/* ---------- "Mreža usluga" blok: tekst gore, slika levo + 6 kutija (2x3) desno ---------- */
.grid-split-section{ padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 5rem); }
.grid-split-intro{ max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.grid-split{ display:grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.75rem, 4vw, 3rem); align-items:stretch; }
.grid-split-media{
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border);
  display:flex; align-items:center; justify-content:center; overflow:hidden; min-height: 320px;
}
.grid-split-media img{ width:100%; height:100%; object-fit: cover; }
.grid-split-media .grapefruit{ width: 58%; }
.grid-split-media .marketing-illustration{ width: 78%; height: auto; }
.grid-boxes{ display:grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.grid-box{
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem; transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.grid-box:hover{ transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.grid-box h4{ font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--rind); margin-bottom: .4rem; }
.grid-box p{ font-size: .9rem; margin:0; color: var(--ink-dim); }

/* Varijanta sa ikonicama (npr. "Društvene mreže" na Marketing stranici) —
   namerno drugačiji fazon od običnih kutija (Grafički dizajn): oštrije ivice,
   ikonica u obojenoj "čauri" gore levo, akcentna linija sa strane pri hover-u. */
.grid-boxes--icons{ grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-boxes--icons .grid-box{
  border-radius: var(--radius-sm); border-left: 3px solid var(--border);
  padding: 1.5rem 1.3rem 1.4rem; background: var(--bg-2);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.grid-boxes--icons .grid-box:hover{ transform: translateY(-3px); border-left-color: var(--zest); background: var(--surface); }
.grid-box-icon{
  display:inline-flex; align-items:center; justify-content:center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--flesh-soft); color: var(--flesh); margin-bottom: 1rem;
}
.grid-icon-svg{ width: 22px; height: 22px; }
.grid-boxes--icons .grid-box h4{ font-size: .98rem; }
.grid-boxes--icons .grid-box p{ font-size: .87rem; }

@media (max-width: 900px){
  .grid-boxes--icons{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .grid-boxes--icons{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .grid-split{ grid-template-columns: 1fr; }
  .grid-split-media{ min-height: 220px; }
}
@media (max-width: 560px){
  .grid-boxes{ grid-template-columns: 1fr; }
}

.grapefruit .grape-rind{ fill: var(--flesh); }
.grapefruit .grape-pith{ fill: var(--pith); }
.grapefruit .grape-core{ fill: var(--zest); }
.grapefruit .grape-seeds ellipse{ fill: var(--bg); opacity:.85; }
.grapefruit .wedge-a{ fill: var(--flesh); }
.grapefruit .wedge-b{ fill: var(--flesh-2); }
.grapefruit .wedge-c{ fill: color-mix(in srgb, var(--flesh) 70%, var(--flesh-2)); }
.grape-wedge{ transform-origin: 200px 200px; animation: wedge-in .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes wedge-in{ from{ opacity:0; transform: scale(.7); } to{ opacity:1; transform: scale(1); } }

.contact-wrap{ padding-block: clamp(3rem, 6vw, 5rem); }
.contact-grid{ display:grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 5vw, 4rem); }
.contact-info{ display:flex; flex-direction:column; gap: 1.75rem; }
.contact-info-item{ display:flex; gap: 1rem; align-items:flex-start; }
.contact-info-icon{ width: 46px; height:46px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--flesh); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-icon svg{ width:22px; height:22px; }
.contact-info-item h4{ font-family: var(--font-body); font-size: 1rem; color: var(--ink); margin-bottom: .2rem; }
.contact-info-item a, .contact-info-item p{ font-size: .95rem; }

.contact-form{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field{ margin-bottom: 1.1rem; }
.field label{ display:block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field input, .field textarea, .field select{
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong);
  background: var(--bg-2); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field select option{ background: var(--bg-2); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus{ border-color: var(--flesh); box-shadow: 0 0 0 4px var(--flesh-soft); outline: none; }
.field textarea{ resize: vertical; min-height: 130px; }
.form-note{ font-size: .82rem; color: var(--ink-faint); margin-top: .75rem; }

.alert{ padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: .95rem; }
.alert-success{ background: rgba(217,238,85,0.12); border: 1px solid var(--zest-dark); color: var(--zest); }
.alert-error{ background: var(--flesh-soft); border: 1px solid var(--flesh); color: #FFB6C4; }

@media (max-width: 850px){ .contact-grid{ grid-template-columns: 1fr; } }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }

[data-reveal]{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible{ opacity:1; transform: translateY(0); }
[data-reveal-left]{ opacity:0; transform: translateX(-56px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal-left].is-visible{ opacity:1; transform: translateX(0); }

.site-footer{ background: var(--bg-2); color: var(--ink); margin-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--border); }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-brand p{ color: var(--ink-faint); font-size: .92rem; margin-top: 1rem; max-width: 32ch; }
.site-footer .bm-pith{ fill: var(--bg-2); }
.footer-col h3{ font-family: var(--font-mono); font-size: .78rem; text-transform:uppercase; letter-spacing:.1em; color: var(--zest); margin-bottom: 1.1rem; font-weight:500; }
.footer-col ul{ display:flex; flex-direction:column; gap: .7rem; }
.footer-col a{ color: var(--ink-dim); font-size: .92rem; display:inline-flex; align-items:center; gap:.5rem; }
.footer-col a:hover{ color: var(--flesh-2); }
.footer-col svg{ width:16px; height:16px; }

.footer-bottom{ border-top: 1px solid var(--border); padding-block: 1.5rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap: .75rem; font-size: .82rem; color: var(--ink-faint); align-items:center; }
.footer-social{ display:flex; gap: .9rem; margin-top: 1.1rem; }
.footer-social a{ color: var(--ink-faint); display:inline-flex; align-items:center; justify-content:center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; transition: color .2s ease, border-color .2s ease; }
.footer-social a:hover{ color: var(--flesh); border-color: var(--flesh); }
.footer-social svg{ width: 17px; height: 17px; }

@media (max-width: 900px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }

/* ==========================================================================
   BLOG — dodatak dizajn sistemu (koristi iste tokene kao ostatak sajta)
   ========================================================================== */
.blog-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2.5rem; }
.blog-card{
  display:flex; flex-direction:column; background: var(--surface); border:1px solid var(--line);
  border-radius: var(--radius-md); overflow:hidden; transition: transform .25s ease, border-color .25s ease;
}
.blog-card:hover{ transform: translateY(-4px); border-color: var(--border-strong); }
.blog-card-img{ height:190px; background: var(--pith) center/cover no-repeat; }
.blog-card-body{ padding: 1.6rem; display:flex; flex-direction:column; gap:.6rem; }
.blog-card-date{ font-family: var(--font-mono); font-size:.76rem; letter-spacing:.08em; text-transform:uppercase; color: var(--zest); }
.blog-card h3{ font-size:1.2rem; }
.blog-card p{ font-size:.95rem; margin:0; }
.blog-empty{ color: var(--ink-faint); margin-top: 2rem; }

.blog-post-header{ max-width: 760px; margin: 0 auto; }
.blog-post-header .breadcrumb{ margin-bottom: 1.2rem; }
.blog-post-cover{ width:100%; aspect-ratio: 1200 / 630; object-fit:cover; border-radius: var(--radius-lg); margin: 2rem auto; max-width: 820px; }
.blog-post-body{ max-width: 720px; margin: 0 auto; font-size: 1.08rem; color: var(--ink-dim); }
.blog-post-body h2{ margin-top: 1.6em; color: var(--rind); }
.blog-post-body p{ margin-bottom: 1.1em; }
.blog-post-back{ max-width: 720px; margin: 3rem auto 0; }

@media (max-width: 900px){
  .blog-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .blog-grid{ grid-template-columns: 1fr; }
}

/* ---------- Back to top dugme ---------- */
.back-to-top{
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-2);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, border-color .25s ease, color .25s ease, background .25s ease;
  z-index: 150;
}
.back-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover{
  border-color: var(--zest);
  color: var(--zest);
}
.back-to-top:active{
  transform: translateY(0) scale(.94);
}
@media (max-width: 600px){
  .back-to-top{ right: 1rem; bottom: 1rem; width: 44px; height: 44px; }
}