/* ==========================================================================
   PROTOTIP CIJELOG WEBA (uključuje se s ?proto=1, isključuje s ?proto=0)
   Jedan sustav preko svih stranica: radijus, oznake, naslovi, hover, prijelazi.
   ========================================================================== */
:root{--p-radius:14px;--p-ease:cubic-bezier(.16,1,.3,1)}

.wm-proto-badge{position:fixed;right:16px;bottom:16px;z-index:9999;padding:9px 14px;border-radius:999px;background:#111111;color:#fff;font:500 12px/1 'Inter Tight',sans-serif;text-decoration:none;opacity:.55;transition:opacity .2s}
.wm-proto-badge:hover{opacity:1;color:#fff}
body.wm-proto .hp-switch{display:none}

/* 1. Jedan radijus za sve kartice i medije */
body.wm-proto #site-content :is(.wm-portfolio-item__image,.image-reveal,.wm-svc26__card,.hc-tcard,.wm-sp-ed__video,.wm-sp-ed__visual,.wm-ab-clients__item,.wm-blog-card__media,.wm-tfloat__card,.wm-rad-images__item,.wm-rad-design__swatch,.wm-rad-final-images__item,.wm-b2b26-cmp__wrap,.wm-blog-single__toc,.wm-ab-reviews__card,.hpB__video){border-radius:var(--p-radius)!important}

/* 2. Jedna oznaka: kockica + 19px, svugdje */
body.wm-proto #site-content .wm-eye26{font-size:19px!important;font-weight:400;letter-spacing:-.02em;display:inline-flex;align-items:center;gap:10px}
body.wm-proto #site-content .wm-eye26::before{content:"";width:7px;height:7px;border-radius:1px!important;background:currentColor;flex:none}
body.wm-proto .hc-eye::before{border-radius:1px}

/* 3. Hover: mediji se blago zumiraju */
body.wm-proto :is(.wm-portfolio-item__image,.wm-blog-card__media){overflow:hidden}
body.wm-proto :is(.wm-portfolio-item__image,.wm-blog-card__media) :is(img,video){transition:transform 1.1s var(--p-ease)}
body.wm-proto :is(.wm-portfolio-item,.wm-blog-card):hover :is(.wm-portfolio-item__image,.wm-blog-card__media) :is(img,video){transform:scale(1.035)}

/* 4. Početna: radovi u velikim karticama (2 stupca, pomak, svaki treći preko cijele širine) */
@media (min-width:900px){
body.wm-proto .hp-works-clay .wm-portfolio-preview__grid{display:grid!important;grid-template-columns:1fr 1fr!important;column-gap:clamp(20px,2.2vw,40px)!important;row-gap:clamp(56px,5.5vw,104px)!important;align-items:start}
body.wm-proto .hp-works-clay .wm-portfolio-item{width:auto!important;max-width:none!important;margin:0!important;grid-column:auto!important}
body.wm-proto .hp-works-clay .wm-portfolio-item:nth-child(3n+2){margin-top:clamp(72px,9vw,170px)!important}
body.wm-proto .hp-works-clay .wm-portfolio-item:nth-child(3n){grid-column:1/-1!important}
body.wm-proto .hp-works-clay .wm-portfolio-item__image{aspect-ratio:10/9!important;height:auto!important}
body.wm-proto .hp-works-clay .wm-portfolio-item:nth-child(3n) .wm-portfolio-item__image{aspect-ratio:16/7.4!important}
body.wm-proto #site-content .hp-works-clay .wm-portfolio-item__title{font-size:clamp(26px,1.9vw,34px)!important}
}

/* 5. Prikaz projekta: sljedeći projekt */
.wm-next{background:#fff;padding:clamp(72px,7vw,130px) var(--r26-gutter,50px) clamp(72px,7vw,130px)}
.wm-next__link{display:block;color:#000;text-decoration:none;border-top:1px solid var(--r26-line,#e2e2e2);padding-top:clamp(32px,2.6vw,48px)}
.wm-next__head{display:grid;grid-template-columns:1fr 3fr auto;gap:32px;align-items:baseline}
.wm-next__title{font:500 var(--t-h1,86px)/1 'Inter Tight',sans-serif;letter-spacing:-.05em}
.wm-next__arrow{font:400 clamp(40px,4vw,72px)/1 'Inter Tight',sans-serif;transition:transform .6s var(--p-ease)}
.wm-next__link:hover .wm-next__arrow{transform:translateX(14px)}
.wm-next__media{display:block;margin-top:clamp(40px,4vw,72px);border-radius:var(--p-radius);overflow:hidden;aspect-ratio:16/7;background:#f0f0f0}
.wm-next__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.4s var(--p-ease)}
.wm-next__link:hover .wm-next__media img{transform:scale(1.04)}
body.wm-proto .wm-rad-related{display:none}
@media (max-width:767px){.wm-next{padding-inline:16px}.wm-next__head{grid-template-columns:1fr auto;row-gap:12px}.wm-next__head .wm-eye26{grid-column:1/-1}.wm-next__title{font-size:44px}.wm-next__media{aspect-ratio:4/3}}

/* 6. Kontakt: isti h1 i lijeva linija kao na ostalim stranicama */
#site-content .wm-ct__proto-title,.wm-ct__proto-title{margin:0 0 clamp(48px,5vw,96px)!important;padding-top:clamp(24px,3vw,56px);font:500 var(--t-h1,86px)/1.02 'Inter Tight',sans-serif!important;letter-spacing:-.05em!important;color:#fff!important;max-width:none}
@media (max-width:1199px){.wm-ct__proto-title{font-size:56px!important}}
@media (max-width:599px){.wm-ct__proto-title{font-size:40px!important}}

/* 7. Blagi prijelaz pri učitavanju stranice */
@media (prefers-reduced-motion:no-preference){
body.wm-proto #site-content{animation:wmProtoIn .7s var(--p-ease) both}
@keyframes wmProtoIn{from{opacity:0}to{opacity:1}}
}

/* ==========================================================================
   v3 — POČETNA (manje sekcija, jedan sustav) + MINIMALNI FOOTER
   Pravilo sustava: svaka sekcija = tanka crta, oznaka lijevo (1/4), sadržaj desno (3/4).
   ========================================================================== */
body.wm-proto{--v3-line:#e2e2e2;--v3-muted:#8a8a8a;--v3-gap:clamp(96px,8.5vw,160px)}

/* Hero: sadržaj niže u kompoziciji */
body.wm-proto .hpB--video .hpB__shell{padding-top:clamp(120px,25vh,290px)}
body.wm-proto #site-content .hpB__title{font-size:clamp(42px,5.4vw,108px)!important;line-height:1!important}
body.wm-proto .hpB__vwrap{padding-bottom:var(--v3-gap)}

.v3{background:#fff;color:#000;font-family:'Inter Tight',sans-serif}
.v3 *{box-sizing:border-box}
.v3-shell{padding-inline:var(--r26-gutter,50px)}
.v3-sec{padding:0 0 var(--v3-gap)}
.v3-sec>.v3-shell:first-child::before{content:"";display:block;height:1px;background:var(--v3-line);margin-bottom:clamp(28px,2.4vw,44px);grid-column:1/-1}
.v3-grid{display:grid;grid-template-columns:1fr 3fr;column-gap:32px}
.v3-label{align-self:start;margin:0}
.v3-main{min-width:0}

#site-content .v3 .v3-lead{margin:0!important;max-width:25em;font-size:clamp(26px,2.5vw,44px)!important;font-weight:400!important;line-height:1.16!important;letter-spacing:-.035em!important;color:#000}
#site-content .v3 .v3-h2{margin:0 0 clamp(40px,3.6vw,64px)!important;font-size:var(--t-h2,48px)!important;font-weight:500!important;line-height:1.08!important;letter-spacing:-.04em!important}

/* Tekstualna poveznica — jedino sekundarno "dugme" u sustavu */
.v3-link,.fp .v3-link{display:inline-flex;align-items:center;gap:10px;padding-bottom:4px;border-bottom:1px solid currentColor;font:500 16px/1.2 'Inter Tight',sans-serif;letter-spacing:-.01em;color:inherit;text-decoration:none}
.v3-link i{font-style:normal;transition:transform .5s var(--p-ease)}
.v3-link:hover i{transform:translateX(6px)}
.v3-intro .v3-link{margin-top:clamp(32px,3vw,52px)}

/* Radovi: 3 u redu, slika je glavni element */
.v3-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:clamp(28px,2.6vw,44px)}
.v3-head .wm-eye26{margin:0}
.v3-works__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.3vw,24px)}
.v3-work{display:block;color:#000;text-decoration:none}
.v3-work__media{display:block;aspect-ratio:4/5;border-radius:var(--p-radius);overflow:hidden;background:#f0f0f0}
.v3-work__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.3s var(--p-ease)}
.v3-work:hover .v3-work__media img{transform:scale(1.045)}
.v3-work__meta{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:18px}
.v3-work__title{font:500 clamp(20px,1.45vw,26px)/1.15 'Inter Tight',sans-serif;letter-spacing:-.03em}
.v3-work__title::after{content:"→";display:inline-block;margin-left:10px;opacity:0;transform:translateX(-8px);transition:opacity .35s,transform .5s var(--p-ease)}
.v3-work:hover .v3-work__title::after{opacity:1;transform:none}
.v3-work__tag{font:400 15px/1.2 'Inter Tight',sans-serif;color:var(--v3-muted);white-space:nowrap}

/* Usluge: redovi */
.v3-rows{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--v3-line)}
.v3-rows li{margin:0;border-top:1px solid var(--v3-line)}
.v3-row{display:grid;grid-template-columns:56px minmax(0,1fr) minmax(0,1.25fr) 32px;align-items:center;column-gap:24px;padding:clamp(22px,1.9vw,32px) 0;color:#000;text-decoration:none;transition:opacity .35s}
.v3-row__num{font:400 15px/1 'Inter Tight',sans-serif;color:var(--v3-muted)}
.v3-row__title{font:500 clamp(22px,1.7vw,30px)/1.1 'Inter Tight',sans-serif;letter-spacing:-.035em;transition:transform .55s var(--p-ease)}
.v3-row__text{font:400 16px/1.5 'Inter Tight',sans-serif;letter-spacing:-.01em;color:#5e5e5e;max-width:46ch}
.v3-row__arrow{font:400 22px/1 'Inter Tight',sans-serif;justify-self:end;opacity:0;transform:translateX(-10px);transition:opacity .35s,transform .55s var(--p-ease)}
@media (hover:hover){
.v3-rows:hover .v3-row:not(:hover){opacity:.4}
.v3-row:hover .v3-row__title{transform:translateX(12px)}
.v3-row:hover .v3-row__arrow{opacity:1;transform:none}
}

/* Povjerenje: jedna recenzija, tipografija nosi sekciju */
.v3-quotes{position:relative}
.v3-quote{position:absolute;inset:0 0 auto 0;margin:0;opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .7s var(--p-ease);pointer-events:none}
.v3-quote.is-on{opacity:1;transform:none;pointer-events:auto}
#site-content .v3 .v3-quote blockquote{margin:0!important;padding:0!important;border:0!important;background:none!important;quotes:none;max-width:25em;font-size:clamp(24px,2.3vw,40px)!important;font-weight:400!important;font-style:normal!important;line-height:1.2!important;letter-spacing:-.035em!important;color:#000}
#site-content .v3 .v3-quote blockquote::before,#site-content .v3 .v3-quote blockquote::after{content:none!important}
.v3-quote figcaption{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:clamp(28px,2.4vw,40px);font:400 16px/1.3 'Inter Tight',sans-serif}
.v3-quote figcaption strong{font-weight:500}
.v3-quote figcaption span{color:var(--v3-muted)}
.v3-quotes__nav{display:flex;align-items:center;gap:8px;margin-top:clamp(32px,3vw,48px)}
.v3-quotes__count{margin-right:14px;font:400 15px/1 'Inter Tight',sans-serif;color:var(--v3-muted);font-variant-numeric:tabular-nums}
.v3-quotes__count b{font-weight:500;color:#000}
.v3-quotes__nav button{width:44px;height:44px;border-radius:50%;border:1px solid var(--v3-line);background:none;color:#000;font:400 17px/1 'Inter Tight',sans-serif;cursor:pointer;transition:background .25s,color .25s,border-color .25s}
.v3-quotes__nav button:hover{background:#111111;border-color:#000;color:#fff}
.v3-logos{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:32px 40px;margin-top:clamp(72px,7vw,128px);padding-top:clamp(28px,2.4vw,44px);border-top:1px solid var(--v3-line)}
.v3-logo{display:block;width:clamp(84px,7vw,128px);height:clamp(36px,2.8vw,48px);background:#9c9c9c;-webkit-mask:var(--logo) center/contain no-repeat;mask:var(--logo) center/contain no-repeat;transition:background-color .35s}
.v3-logo:hover{background:#111111}
.v3-trust{padding-bottom:var(--v3-gap)}

@media (max-width:1023px){
.v3-grid{grid-template-columns:1fr;row-gap:24px}
.v3-row{grid-template-columns:40px minmax(0,1fr) minmax(0,1.2fr)}
.v3-row__arrow{display:none}
}
@media (max-width:767px){
.v3-shell{padding-inline:16px}
.v3-works__row{grid-template-columns:1fr;gap:40px}
.v3-work__media{aspect-ratio:1/1}
.v3-row{grid-template-columns:32px minmax(0,1fr);row-gap:8px}
.v3-row__text{grid-column:2}
.v3-logos{justify-content:flex-start;gap:28px 36px}
}

/* ---------- Footer (isti na svim stranicama) ---------- */
body.wm-proto:has(.fp) .wm-main{margin-bottom:0!important}
.fp{position:relative;z-index:1;background:#111111;color:#fff;font-family:'Inter Tight',sans-serif;padding:clamp(80px,7.5vw,140px) var(--r26-gutter,50px) 28px}
.fp *{box-sizing:border-box}
.fp__cta{display:grid;grid-template-columns:1fr 3fr;column-gap:32px}
.fp .fp__eye{align-self:start;margin:0;color:#fff;font-size:19px;display:inline-flex;align-items:center;gap:10px}
.fp .fp__eye::before{content:"";width:7px;height:7px;border-radius:1px;background:currentColor}
.fp .fp__title{margin:0;font:500 clamp(44px,6vw,116px)/.98 'Inter Tight',sans-serif;letter-spacing:-.055em;color:#fff}
.fp__actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px 36px;margin-top:clamp(36px,3.4vw,60px)}
.fp__mail{font:400 clamp(20px,1.6vw,28px)/1.2 'Inter Tight',sans-serif;letter-spacing:-.02em;color:#fff;text-decoration:none;padding-bottom:4px;border-bottom:1px solid rgba(255,255,255,.35);transition:border-color .3s}
.fp__mail:hover{color:#fff;border-color:#fff}
.fp .fp__btn{background:#fff!important;color:#0a0a0a!important}
.fp .fp__btn svg{color:#0a0a0a}
.fp__bottom{display:grid;grid-template-columns:1fr 1.5fr 1.5fr;column-gap:32px;align-items:center;margin-top:clamp(80px,7.5vw,140px);padding-top:24px;border-top:1px solid rgba(255,255,255,.14)}
.fp__logo img{display:block;height:22px;width:auto}
.fp__nav{display:flex;flex-wrap:wrap;gap:8px 28px}
.fp__nav a,.fp__legal a,.fp__legal span{font:400 15px/1.3 'Inter Tight',sans-serif;letter-spacing:-.01em;text-decoration:none;transition:color .25s}
.fp__nav a{color:rgba(255,255,255,.78)}
.fp__legal{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 24px;margin:0}
.fp__legal a,.fp__legal span{color:rgba(255,255,255,.45)}
.fp__nav a:hover,.fp__legal a:hover{color:#fff}
@media (max-width:1023px){
.fp__cta{grid-template-columns:1fr;row-gap:24px}
.fp__bottom{grid-template-columns:1fr;row-gap:20px;align-items:start}
.fp__legal{justify-content:flex-start}
}
@media (max-width:767px){.fp{padding-inline:16px}}
@media (max-width:1023px){.v3-work__meta{flex-direction:column;align-items:flex-start;gap:4px;margin-top:14px}}
body.wm-proto .hpB--video .hpB__shell{min-height:calc(82svh - var(--hp-hdr,72px));padding-top:clamp(110px,21vh,240px)}
/* hero: manji razmak do videa; mali video kreće s dna ekrana */
body.wm-proto .hpB--video .hpB__shell{min-height:0!important;padding-bottom:clamp(56px,7vh,96px)!important}
body.wm-proto .hpB--video .hpB__vrow{margin-top:0}
body.wm-proto .hpB--video .hpB__vslot{aspect-ratio:auto;height:0}
body.wm-proto .hpB__video{aspect-ratio:auto!important;height:max(320px,min(43vw,calc(100svh - 190px)))}
/* radovi: klasične kartice unutar v3 (bez dvostrukih rubova/razmaka) */
body.wm-proto .v3-works__classic{padding:0!important;margin:0!important;background:none!important}
body.wm-proto .v3-works__classic .wm-portfolio-preview__grid{margin:0!important}

/* uvod s prošle početne */
body.wm-proto .v3 .hp-intro-b{padding:clamp(40px,4vw,72px) 0 var(--v3-gap)}
body.wm-proto .v3 .hp-intro-b__grid{align-items:start}
body.wm-proto .v3 .hp-intro-b__copy{grid-column:1/8!important}
body.wm-proto .v3 .hp-intro-b__cta{grid-column:10/13;justify-self:end}
@media (max-width:1023px){body.wm-proto .v3 .hp-intro-b__copy,body.wm-proto .v3 .hp-intro-b__cta{grid-column:1/-1!important}body.wm-proto .v3 .hp-intro-b__cta{justify-self:start;margin-top:32px}}
/* usluge (kartice) na početnoj, ispod radova */
body.wm-proto .v3 .wm-svc26--nohead{padding:0 0 var(--v3-gap)!important;background:none}
body.wm-proto .v3 .wm-svc26--nohead .wm-svc26__cards{margin-top:0!important}
body.wm-proto .v3 .wm-svc26--nohead .wm-b2b26__shell{padding-inline:var(--r26-gutter,50px)}
/* radovi → usluge: crta točno po sredini, naslov + gumb iznad kartica */
body.wm-proto .v3 .v3-works{padding:0 0 clamp(80px,6.5vw,124px)}
body.wm-proto .v3 .wm-svc26{padding:0 0 var(--v3-gap)!important;background:none}
body.wm-proto .v3 .wm-svc26 .wm-svc26__head{padding-top:clamp(80px,6.5vw,124px)!important;margin-top:0!important;border-top:1px solid var(--v3-line)!important}
body.wm-proto .v3 .wm-svc26 .wm-svc26__cards{margin-top:clamp(48px,4vw,64px)!important}

/* uvod i usluge: tekst bliže sadržaju ispod, gumb poravnat s dnom teksta (ne s vrhom) */
body.wm-proto .v3 .hp-intro-b{padding-bottom:clamp(48px,4.2vw,80px)}
body.wm-proto .v3 .hp-intro-b__grid{align-items:end}
body.wm-proto .v3 .hp-intro-b__copy>p:last-child{margin-bottom:0!important}
body.wm-proto .v3 .wm-svc26 .wm-svc26__head{align-items:end!important}
body.wm-proto .v3 .wm-svc26 .wm-svc26__cards{margin-top:clamp(32px,2.8vw,44px)!important}
/* hero: "Bok, mi smo Webmindex" zasad skriveno; manji razmak video → uvod */
/* pozdrav je opet vidljiv */
body.wm-proto .hpB__vwrap{padding-bottom:clamp(88px,7.2vw,140px)!important}
body.wm-proto .v3 .hp-intro-b{padding-top:0!important}
/* blog na dnu početne */
body.wm-proto .v3 .wm-home-blog{padding-top:0!important;padding-bottom:var(--v3-gap)!important}
/* hero: pozdrav + naslov niže */
body.wm-proto .hpB--video .hpB__shell{padding-top:clamp(130px,26vh,300px)!important}
/* pilula klijenata: ista pozadina kao navigacija */
body.wm-proto .hpB__clients{background:rgba(248,248,248,.78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-color:transparent}
body.wm-proto .hpB__clients:hover{border-color:#e2e2e2}
body.wm-proto .hpB__clients-logo{box-shadow:0 0 0 3px #f8f8f8}
body.wm-proto .hpB__clients{border:1px solid #e6e6e6!important}
body.wm-proto .hpB__clients:hover{border-color:#d0d0d0!important}
body.wm-proto #site-footer.wm-ftc{padding-bottom:0!important;overflow:hidden}
body.wm-proto .wm-ftc__news{display:none!important}
body.wm-proto .wm-ftc__mark{display:block;text-align:center;margin:clamp(24px,2.6vw,50px) calc(-1 * clamp(20px,2.6vw,50px)) 0;height:calc(var(--ftc-h,1px) * .7);overflow:hidden;line-height:0}
body.wm-proto .wm-ftc__word{display:inline-block;vertical-align:top;margin:0;padding:0;color:#000!important;-webkit-text-stroke:2px #3a3b3f;paint-order:stroke fill;text-align:center;line-height:.82}
/* početna: bijeli container zaobljen prema footeru (kao O nama) */
body.wm-proto.home #site-content{background:linear-gradient(#fff calc(100% - 40px),transparent 0)!important}
body.wm-proto.home .v3{border-radius:0 0 40px 40px;overflow:clip}
/* zaobljeni kutovi preklapaju vrh footera i na samom dnu stranice */
body.wm-proto.home .v3{position:relative;z-index:3;margin-bottom:-40px}
body.wm-proto.home #site-content{background:transparent!important}
body.wm-proto.home .wm-main{background:transparent!important}
body.wm-proto.home :is(.hpB,.hpB__vwrap){background:#fff}
body.wm-proto.home .hpB{border-radius:0!important}
body.wm-proto .v3 .wm-tfloat + .wm-home-blog{padding-top:clamp(96px,8vw,160px)!important}
/* početna: linija između recenzija i bloga na sredini, bez animacije crtanja */
body.wm-proto.home .v3 .wm-home-blog__rule{margin-bottom:clamp(90px,7.9vw,150px)!important;transform:none!important;transition:none!important}
body.wm-proto.home #faq .wm-sp-faq__layout{max-width:none!important;width:100%!important}body.wm-proto.home #faq .wm-sp-faq__list{margin-left:0!important;margin-right:0!important;width:100%!important}
body.wm-proto.home #faq .wm-sp-faq__list{inset-inline-start:0!important;left:0!important}

/* Početna v3: manji razmak naslov/gumb → blog objave; crta iznad FAQ-a; FAQ naslov u dva reda */
body.wm-proto.home .v3 .wm-home-blog .wm-home-blog__intro{margin-bottom:clamp(24px,1.9vw,36px)!important}
body.wm-proto.home .v3 #faq{padding-top:0!important}
body.wm-proto.home .v3 #faq .wm-sp-faq__shell{border-top:1px solid rgba(15,17,21,.1);padding-top:clamp(90px,7.9vw,150px)}
body.wm-proto.home #site-content #faq h2 .wm-sp-faq__title-line{display:block!important}
/* početna: pozadina mrvicu tamnija od bijele (da se video odvoji) */ html body.wm-proto.home,html body.wm-proto.home :is(.hpB,.hpB__vwrap,.v3,.wm-tfloat,.wm-home-blog,#faq){background:#fdfdfd!important}
html body.wm-proto.home .wm-site-intro{background:#fdfdfd!important}
html body.wm-proto.home .hpB__video{box-shadow:0 0 0 1px #ececec!important}
@media (max-width:767px){body.wm-proto .hpB--video .hpB__shell{padding-top:clamp(96px,16vh,140px)!important}}
/* Početna, blog: malo više kartice (bilo 4/3) */
body.wm-proto .wm-home-blog__grid:not(.wm-home-blog__grid--r26) .wm-blog-card__media{aspect-ratio:10/9!important;height:auto!important}

/* Bez tanke linije (subpiksel šav) između hero naslova i videa nakon prijelaza sa druge stranice */
body.wm-proto .hpB--video + .hpB__vwrap, body.wm-proto .hpB__vwrap { margin-top: -1px; }

/* Crta između bloga i recenzija na početnoj (kao crta iznad usluga) */
body.wm-proto .v3-sep-wrap { margin-top: clamp(32px, 3.35vw, 64px); margin-bottom: calc(-1 * clamp(32px, 3.35vw, 64px)); position: relative; z-index: 1; }
body.wm-proto .v3-sep { border-top: 1px solid rgb(226, 226, 226); height: 0; }

/* Početna — tamna navigacija dok je iza nje crna sekcija s brojkama (kao na O nama) */
body.is-front-page.is-about-dark-nav .wm-header .wm-header__logo-img,
body.is-front-page.is-about-dark-nav .wm-header .custom-logo-link img { filter: brightness(0) invert(1) !important; }
body.is-front-page.is-about-dark-nav .wm-header .wm-header__logo-text { color: #fff !important; }
body.is-front-page.is-about-dark-nav .wm-header .wm-header__nav-shell { background: #111111 !important; border: 1px solid rgba(255,255,255,.2) !important; box-shadow: none !important; }
body.is-front-page.is-about-dark-nav .wm-header .wm-header__nav a,
body.is-front-page.is-about-dark-nav .wm-header .wm-nav-menu a { color: rgba(255,255,255,.72) !important; }
body.is-front-page.is-about-dark-nav .wm-header .wm-nav-menu a:hover { color: #fff !important; }
body.is-front-page.is-about-dark-nav .wm-header .wm-nav-indicator { background: #fff !important; }
body.is-front-page.is-about-dark-nav .wm-header .wm-nav-menu a.is-nav-pill-active { color: #000 !important; }
body.is-front-page.is-about-dark-nav .wm-header .wm-lang-switch { background: #111111 !important; border-color: rgba(255,255,255,.2) !important; }
body.is-front-page.is-about-dark-nav .wm-header .wm-lang-switch, body.is-front-page.is-about-dark-nav .wm-header .wm-lang-switch * { color: #fff !important; }
body.is-front-page.is-about-dark-nav .wm-header .wm-header__burger { color: #fff !important; }

/* Početna: recenzije — manje praznog prostora na dnu i malo manje na vrhu */
body.wm-proto.home .wm-tfloat { height: 160vh !important; margin-top: clamp(28px, 2.6vw, 50px) !important; }
body.wm-proto.home .wm-tfloat__stage { height: 56vh !important; top: 20vh !important; }
@media (max-width: 1023px) { body.wm-proto.home .wm-tfloat { height: auto !important; margin-top: 0 !important; } body.wm-proto.home .wm-tfloat__stage { height: auto !important; } }

/* Početna: više zraka iznad i ispod crte između radova i usluga */
html body.wm-proto.home .v3 section.v3-works { padding-bottom: clamp(100px, 8.3vw, 160px) !important; }
html body.wm-proto.home .v3 .wm-svc26 .wm-svc26__head { padding-top: clamp(100px, 8.3vw, 160px) !important; }

/* Početna: malo više zraka između bloga i crne sekcije */
html body.wm-proto.home .v3 section.wm-home-blog:has(+ .wm-strows) { padding-bottom: clamp(150px, 10.5vw, 200px) !important; }

/* Početna — crna sekcija s logotipima (kopija crne sekcije s brojkama) */
body.wm-proto .wm-strows--clients { margin-top: 14px; }
body.wm-proto .wm-cdark__grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); margin-top: clamp(56px, 5vw, 96px); }
body.wm-proto .wm-cdark__item { height: clamp(130px, 9vw, 176px); display: flex; align-items: center; justify-content: center; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); padding: 0 10%; transition: background-color .45s ease; }
body.wm-proto .wm-cdark__img { display: block; width: calc(clamp(52px, 3.9vw, 76px) * sqrt(var(--logo-ar, 1))); height: auto; max-width: 100%; max-height: 62%; object-fit: contain; filter: grayscale(1) invert(1) contrast(1.05); opacity: .6; mix-blend-mode: lighten; transition: filter .45s ease, opacity .45s ease; }
body.wm-proto .wm-cdark__item:hover { background-color: #fff; }
body.wm-proto .wm-cdark__item:hover .wm-cdark__img { filter: none; opacity: 1; mix-blend-mode: normal; }
@media (max-width: 1024px) { body.wm-proto .wm-cdark__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { body.wm-proto .wm-cdark__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.wm-proto .wm-cdark__item { height: 110px; } }

/* Početna — logotipi na bijeloj pozadini (umjesto crne), bez naslova; kao verzija A na Uslugama */
body.wm-proto .wm-clients-white { background: #fdfdfd; padding: clamp(72px, 6.2vw, 120px) 0; }
body.wm-proto .wm-clients-white .wm-cdark__grid { margin-top: 0; border-top-color: #e2e2e2; border-left-color: #e2e2e2; }
body.wm-proto .wm-clients-white .wm-cdark__item { border-right-color: #e2e2e2; border-bottom-color: #e2e2e2; height: clamp(150px, 10.5vw, 200px); }
body.wm-proto .wm-clients-white .wm-cdark__img { width: calc(clamp(60px, 4.6vw, 88px) * sqrt(var(--logo-ar, 1))); filter: grayscale(1) contrast(.9); opacity: .6; mix-blend-mode: normal; }
body.wm-proto .wm-clients-white .wm-cdark__item:hover { background-color: transparent; }
body.wm-proto .wm-clients-white .wm-cdark__item:hover .wm-cdark__img { filter: none; opacity: 1; }

/* Početna C — zaobljeni tamni blok s logotipima (bez naslova) */
body.wm-proto .wm-od--logos{padding:clamp(16px,1.4vw,24px) clamp(12px,1vw,20px)}
body.wm-proto .wm-od--logos .wm-od__box{background:#111;border-radius:clamp(22px,2.2vw,36px);padding:clamp(24px,2.4vw,48px) clamp(20px,2vw,40px)}
body.wm-proto .wm-od--logos .wm-cdark__grid{margin-top:0;border:0!important}
body.wm-proto .wm-od--logos .wm-cdark__item{border-right:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.14)}
body.wm-proto .wm-od--logos .wm-cdark__img{filter:grayscale(1) invert(1) brightness(1.55) contrast(1.05);opacity:.82;mix-blend-mode:lighten}
body.wm-proto .wm-od--logos .wm-cdark__item:hover{background:#fff;border-radius:0}
body.wm-proto .wm-od--logos .wm-cdark__item:hover .wm-cdark__img{filter:none;opacity:1;mix-blend-mode:normal}
@media (min-width:1025px){
body.wm-proto .wm-od--logos .wm-cdark__item:nth-child(5n){border-right:0}
body.wm-proto .wm-od--logos .wm-cdark__item:nth-last-child(-n+5):nth-child(5n+1),body.wm-proto .wm-od--logos .wm-cdark__item:nth-last-child(-n+5):nth-child(5n+1) ~ .wm-cdark__item{border-bottom:0}
}
@media (min-width:768px) and (max-width:1024px){
body.wm-proto .wm-od--logos .wm-cdark__item:nth-child(3n){border-right:0}
body.wm-proto .wm-od--logos .wm-cdark__item:nth-last-child(-n+3):nth-child(3n+1),body.wm-proto .wm-od--logos .wm-cdark__item:nth-last-child(-n+3):nth-child(3n+1) ~ .wm-cdark__item{border-bottom:0}
}
@media (max-width:767px){
body.wm-proto .wm-od--logos .wm-cdark__item:nth-child(2n){border-right:0}
body.wm-proto .wm-od--logos .wm-cdark__item:nth-last-child(-n+2):nth-child(2n+1),body.wm-proto .wm-od--logos .wm-cdark__item:nth-last-child(-n+2):nth-child(2n+1) ~ .wm-cdark__item{border-bottom:0}
}
