@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root{
  /* PRVI KOD – 3 boje */
  --brand:#0943C8;
  --white:#FFFFFF;
  --black:#000000;

  /* UI izvedenice */
  --text: rgba(0,0,0,.92);
  --muted: rgba(0,0,0,.70);
  --line: rgba(0,0,0,.10);

  --border-radius:1rem;

  /* FINAL: fixed topbar+header */
  --header-h: 64px; /* po potrebi 60–72px */

  --dark-bg: #000;
    /* radial-gradient(900px 420px at 50% 0%, rgba(9,67,200,.16), transparent 60%),
    linear-gradient(180deg, #000 0%, #0a0f1f 100%); */
	
}

*{ box-sizing:border-box; }
html, body { height:100%; }

body{
  font-family:'Inter',Arial,sans-serif;
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 8% 0%, rgba(9,67,200,.10), transparent 60%),
    radial-gradient(1200px 650px at 100% 6%, rgba(0,0,0,.06), transparent 62%),
    linear-gradient(180deg, var(--white) 0%, var(--white) 100%);
  background-attachment:fixed, fixed, scroll;

  /* Da sadržaj ne ode ispod fixed topbara + headera */
  padding-top: calc(var(--topbar-h) + var(--header-h));
}

/* Global img safety */
img{
  max-width:100%;
  height:auto;
  display:block;
}

video{
  display:block;
}


/* ===== Layout ===== */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 1.2rem;
}

/* ===== Sekcije / pozadine ===== */
.section{
  position:relative;
  padding:3.5rem 0 2.2rem;
  text-align:center;
  /* border-top:1px solid rgba(0,0,0,.05); */
}
/* .section::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:56px;
  background:linear-gradient(to bottom, rgba(255,255,255,0), var(--white));
  pointer-events:none;
  z-index:0;
} */

h2{
  color:#fff;
}

.scroll-progress{
  height:3px;
  background:transparent;
}
.scroll-progress span{
  display:block;
  height:100%;
  width:0;
  background:linear-gradient(90deg, rgba(0,140,255,.9), rgba(0,200,255,.9));
}




/* ===== DARK HEADER / NAV (FINAL) ===== */
/* VAŽNO: više ne stiliziramo globalni <header>, nego samo .site-header */
.site-header{
  position:fixed;
  top:var(--topbar-h);
  left:0; right:0;
  z-index:10000;
  background:#000;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header.shrink{
  box-shadow:
    0 10px 30px rgba(0,0,0,.85),
    0 0 25px rgba(0,140,255,.25);
}

.nav-wrapper{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.5rem 1rem;
  position:relative;
  min-height: var(--header-h);
}

/* LOGO */
.logo-wrap{ display:flex; align-items:center; gap:.5rem; }
.logo-img{
  width:40px;
  height:40px;
  border-radius:10px;
  object-fit:cover;
  box-shadow:0 0 18px rgba(0,140,255,.55);
  background:var(--white);
  flex:0 0 auto;
}
.logo-text{
  font-weight:900;
  font-size:1.3rem;
  color:#fff;
  letter-spacing:.08em;
}

/* NAV */
.nav-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:1rem;
}
.nav-links a{
  text-decoration:none;
  color:rgba(255,255,255,.85);
  font-weight:700;
  transition:color .2s;
}
.nav-links a:hover{ color:#fff; }

.nav-toggle{
  display:none;
  font-size:1.6rem;
  background:none;
  border:0;
  cursor:pointer;
  padding:.25rem .4rem;
  border-radius:10px;
  color:#fff;
}

/* Icon “bubble” */
.nav-icon{
  width:38px;
  height:38px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  transition:.2s;
  flex:0 0 auto;
}
/* IKONE: hard limit */
.nav-icon img{
  width:22px;
  height:22px;
  display:block;
}
.nav-icon:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.35);
}

/* plain ikonica bez “balona” */
.nav-icon--plain{
  background:transparent;
  box-shadow:none;
  width:auto;
  height:auto;
  border-radius:0;
  padding:0;
}
.nav-icon--plain img{
  width:22px !important;
  height:22px !important;
  max-width:22px !important;
  max-height:22px !important;
  display:inline-block;
}

/* ===== Hero (FINAL: video) ===== */
.hero{
  position:relative;
  min-height:80vh;
  overflow:hidden;
  background:none;
  
  display:flex;
  align-items:center;     /* vertikalno centriranje */
  justify-content:center; /* horizontalno centriranje */
}
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(9,67,200,.55), rgba(0,0,0,.75));
  z-index:1;
}
.hero-content{
  position:relative;
  z-index:2;
  color:#fff;
  text-align:center;
  
  width:100%;
  padding:0 1.2rem;       /* malo zraka sa strane */
}
.hero h1{
  font-size:2.4rem;
  color:rgba(255,255,255,.92);
  margin-bottom:.6rem;
}
.hero p{
  font-size:1.15rem;
  margin-bottom:2rem;
  color:rgba(255,255,255,.78);
}

/* ===== Buttons ===== */
.btn{
  display:inline-block;
  padding:.8rem 2rem;
  background:var(--brand);
  color:var(--white);
  border:0;
  border-radius:var(--border-radius);
  font-weight:900;
  font-size:1.05rem;
  cursor:pointer;
  text-decoration:none;
  box-shadow:0 10px 26px rgba(9,67,200,.28);
  transition:filter .2s, transform .1s, box-shadow .1s;
  position:relative;
  isolation:isolate;
  z-index:4;
}
.btn:hover{
  filter:brightness(.92);
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(9,67,200,.34);
}
.btn--shine{ position:relative; overflow:hidden; }
.btn--shine::after{
  content:"";
  position:absolute;
  inset:0 auto 0 -50%;
  width:40%;
  background:linear-gradient(115deg, transparent 0%, rgba(255,255,255,.95) 50%, transparent 100%);
  transform:skewX(-20deg);
  opacity:.35;
  animation:btnShine 4s ease-in-out infinite;
}
@keyframes btnShine{
  0%{left:-60%}
  15%{left:120%}
  100%{left:120%}
}
.btn-block{ display:block; width:100%; text-align:center; }

/* ===== Cards grid ===== */
.grid{
  display:flex;
  gap:2rem;
  flex-wrap:wrap;
  justify-content:center;
}
.card{
  background:var(--white);
  border-radius:var(--border-radius);
  box-shadow:0 14px 34px rgba(0,0,0,.06);
  padding:2rem 1.4rem;
  flex:1 1 270px;
  max-width:320px;
  min-width:220px;
  margin-bottom:1.2rem;
  transition:transform .15s, box-shadow .15s;
  border:1px solid rgba(0,0,0,.06);
}
.card:hover{
  transform:translateY(-7px) scale(1.02);
  box-shadow:0 22px 60px rgba(0,0,0,.10);
}
.card h3{ color:var(--brand); margin-bottom:.6rem; }

/* ===== FAQ ===== */
.faq details{
  border:1px solid rgba(0,0,0,.10);
  border-radius:12px;
  padding:.8rem 1rem;
  margin:.5rem 0;
  background:var(--white);
}
.faq summary{ cursor:pointer; font-weight:900; color:rgba(0,0,0,.90); }
.faq p{ margin:.6rem 0 0; color:rgba(0,0,0,.78); }


/* ===== Helpers ===== */
.center{text-align:center;}
.muted{opacity:.8;}
.tiny{font-size:.85rem;}

/* ===== Cijene ===== */
.price-grid{
  display:grid;
  gap:2rem;
  margin:2rem auto 0;
  max-width:1300px;
  grid-template-columns:repeat(auto-fit, minmax(300px,1fr));
}
.price-card{
  position:relative;
  background:var(--white);
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:1.8rem 1.4rem 2rem;
  box-shadow:0 16px 40px rgba(0,0,0,.06);
  transition:transform .2s, box-shadow .2s;
  line-height:1.6;
}
.price-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 60px rgba(0,0,0,.08);
}
/* ostaje namjerno: header unutar kartice */
.price-card header h3{
  margin:.2rem 0;
  font-size:1.25rem;
  line-height:1.25;
  color:var(--brand);
}
.price-card .subtitle{margin:0; opacity:.8; font-size:1rem;}
.price-card.highlight{
  outline:2px solid rgba(9,67,200,.22);
  background:linear-gradient(180deg, var(--white) 0%, rgba(9,67,200,.05) 100%);
  box-shadow:0 22px 60px rgba(9,67,200,.14);
}
.price-tag{
  display:flex;
  align-items:flex-end;
  gap:.45rem;
  margin:1rem 0 1.1rem;
}
.price-tag .amount{font-size:2.7rem; line-height:1; font-weight:900;}
.features{
  list-style:none;
  padding:0;
  margin:0 0 1.4rem;
  display:grid;
  gap:.55rem;
}
.features li{
  display:flex;
  gap:.55rem;
  align-items:flex-start;
}
@media (max-width:480px){
  .price-tag .amount{font-size:2.3rem;}
  .price-card{padding:1.4rem 1rem 1.6rem;}
}

/* ===== Footer SEO tekst ===== */
.footer-seo{
  max-width:900px;
  margin:1.5rem auto;
  padding:0 1rem;
  text-align:center;
  font-size:.9rem;
  opacity:.85;
  line-height:1.5;
}
.footer{
  color:rgba(255,255,255,.8);
  margin:0.6rem 0;
  font-size:.6rem;
  text-align:center;
}

/* ===== WhatsApp FAB ===== */
.wa-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9999;

  width:56px;
  height:56px;
  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:#000;
  overflow:hidden;

  border:2px solid #fff;
  box-shadow:0 10px 25px rgba(0,0,0,.35);
  text-decoration:none;

  transition:transform .15s ease, box-shadow .15s ease;
}
.wa-fab:hover{
  transform:translateY(-2px);
  box-shadow:
    0 14px 30px rgba(0,0,0,.45),
    0 0 18px rgba(0,140,255,.55);
}
.wa-fab .wa-icon{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media (hover:none){
  .wa-fab{ right:12px; bottom:12px; }
}

/* ===== Testimonial slider ===== */
.t-slider{max-width:820px; margin:0 auto;}
.t-viewport{overflow:hidden; border-radius:16px; width:100%;}
.t-track{display:grid; grid-auto-flow:row; grid-auto-rows:auto;}
.t-card{
  background:var(--white);
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:1.2rem;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
  margin-bottom:1rem;
}
.t-card blockquote{margin:0 0 .6rem; font-size:1.05rem; line-height:1.55;}
.t-card figcaption{opacity:.8;}

/* ===== Kontakt ===== */
#kontakt p{margin:.1rem 0; font-size:1rem;}

/* Kontakt red poravnanje */
#kontakt p{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
}

/* === KONTAKT: smanji visinu na sadržaj === */



/* ===== SEO blok u bg-soft-3 ===== */
.section.bg-soft-3 .container{
  max-width:900px;
  margin:0 auto;
  padding:2.4rem 1.6rem 2.1rem;
  background:rgba(255,255,255,.94);
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  position:relative;
  z-index:1;
}
.section.bg-soft-3 h2{
  margin-bottom:1rem;
  font-size:1.9rem;
  color:var(--brand);
  font-weight:900;
}
.section.bg-soft-3 p{
  max-width:720px;
  margin:.6rem auto;
  font-size:1.02rem;
  line-height:1.7;
  color:rgba(0,0,0,.86);
}

/* ===== MODAL ===== */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:20000;
}
.modal.show{display:block;}
.modal__backdrop{position:absolute; inset:0; background:rgba(0,0,0,.45);}
.modal__content{
  position:relative;
  max-width:560px;
  margin:8vh auto;
  background:var(--white);
  border-radius:16px;
  padding:1.25rem 1.25rem 1.5rem;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.modal__close{
  position:absolute;
  right:.75rem;
  top:.5rem;
  background:transparent;
  border:0;
  font-size:1.8rem;
  line-height:1;
  cursor:pointer;
  color:rgba(0,0,0,.85);
}
#quoteForm label{
  display:block;
  margin:.6rem 0;
  text-align:left;
  font-weight:800;
}
#quoteForm input,
#quoteForm textarea,
#quoteForm select{
  width:100%;
  padding:.7rem;
  border:1px solid rgba(0,0,0,.18);
  border-radius:10px;
  margin-top:.35rem;
  font-weight:600;
}
.form-small{opacity:.8; font-size:.9rem; margin-top:.6rem;}

/* ===== Before/After ===== */
.ba-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:1.2rem;
  margin-top:1.2rem;
}
.ba-card{
  background:var(--white);
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:1rem;
  box-shadow:0 16px 40px rgba(0,0,0,.06);
}
.ba-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.8rem;
}
.ba-pair figure{margin:0; position:relative;}
.ba-pair img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.ba-pair figcaption{
  position:absolute;
  left:10px;
  bottom:10px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.08);
  padding:.25rem .55rem;
  border-radius:999px;
  font-size:.85rem;
  font-weight:900;
  color:rgba(0,0,0,.88);
}
a[data-lg]{cursor:zoom-in;}

/* ===== LIGHTBOX ===== */
.lb{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
}
.lb.show{display:block;}
.lb__bg{ position:absolute; inset:0; background:rgba(0,0,0,.55); }
.lb__box{
  position:relative;
  max-width:min(980px, 92vw);
  max-height:86vh;
  margin:7vh auto;
  background:var(--white);
  border-radius:18px;
  padding:14px;
  box-shadow:0 26px 80px rgba(0,0,0,.35);
  display:grid;
  place-items:center;
}
.lb__img{
  max-width:calc(92vw - 28px);
  max-height:calc(86vh - 28px);
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:14px;
  background:rgba(0,0,0,.04);
}
.lb__close{
  position:absolute;
  top:-14px;
  right:-14px;
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.10);
  background:var(--white);
  color:rgba(0,0,0,.90);
  font-size:24px;
  font-weight:900;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
  transition:transform .15s, background .15s, color .15s;
}
.lb__close:hover{
  background:var(--black);
  color:var(--white);
  transform:translateY(-1px);
}
.lb__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.10);
  background:var(--white);
  color:rgba(0,0,0,.90);
  font-size:28px;
  font-weight:900;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
  transition:transform .15s, background .15s, color .15s;
}
.lb__nav:hover{
  background:var(--black);
  color:var(--white);
  transform:translateY(-50%) scale(1.04);
}
.lb__prev{left:-18px;}
.lb__next{right:-18px;}


/* ===== Section backgrounds (final overrides) ===== */
#cjenik{
  background:
    radial-gradient(1000px 420px at 50% 0%, rgba(9,67,200,.12), transparent 60%),
    linear-gradient(180deg,#fff 0%, #f8faff 100%);
}
#proces{
  background: linear-gradient(180deg,#fff 0%, #f5f7ff 100%);
}

/* ===== Page loader ===== */
.page-loader{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(9,67,200,.18), transparent 60%),
    linear-gradient(180deg, #000 0%, #0a0f1f 100%);
  transition:opacity 0.45s ease, visibility 0.45s ease;
}
.page-loader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.loader-inner{
  display:grid;
  place-items:center;
  gap:.9rem;
  text-align:center;
}
/* ===== Loader video ===== */
.loader-video{
  width:80px;
  height:80px;
  object-fit:contain;
  border-radius:16px;
}

/* Mobile */
@media (max-width:480px){
  .loader-video{
    width:64px;
    height:64px;
  }
}

.loader-text{
  font-weight:900;
  letter-spacing:.18em;
  font-size:.95rem;
  color:#fff;
  opacity:.92;
}
@media (prefers-reduced-motion: reduce){
  .loader-mark::before{ animation:none; }
  .page-loader{ transition:none; }
}
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ===== Scroll reveal ===== */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease, transform .7s ease;
  will-change:opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}
.reveal--left{ transform:translateX(-18px); }
.reveal--right{ transform:translateX(18px); }
.reveal--small{ transform:translateY(10px); transition-duration:.55s; }
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}

/* ===== Kontakt ikonice ===== */
.contact-item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  margin:.5rem 0;
}
.contact-icon{
  width:20px;
  height:20px;
  object-fit:contain;
  flex-shrink:0;
  opacity:.85;
}

#kontakt{
  padding:0.2rem 0;
}

/* ===== Dark section ===== */
.section-dark{
  background: var(--dark-bg);
  color:#fff;
}
.section-dark h2{ color:#fff; }
.section-dark p{ color:rgba(255,255,255,.9); }
.section-dark a{
  color:#fff;
  text-decoration:none;
}
.section-dark a:hover{ text-decoration:underline; }
/* ne radi bijeli fade na dark sekcijama */
.section.section-dark::after{ display:none; }

/* ===== Dark footer ===== */
footer{
  background: var(--dark-bg);
  color:#fff;
  padding:1.2rem 0 1.6rem;
}
footer .footer-seo{
  opacity:.9;
  color:rgba(255,255,255,.85);
}
footer .footer{
  color:rgba(255,255,255,.8);
}
footer a{
  color:#fff;
  text-decoration:none;
}
footer a:hover{ text-decoration:underline; }

/* ===== Responsive NAV ===== */
@media (max-width:900px){
  .nav-toggle{display:block;}
  .nav-links{
    position:absolute;
    top: calc(var(--header-h) - 4px);
    left:0;
    right:0;
    background:#000;
    flex-direction:column;
    align-items:center;
    gap:1rem;
    padding:1rem;
    border-top:1px solid rgba(255,255,255,.08);
    box-shadow:0 10px 30px rgba(0,0,0,.10);
    display:none;
    z-index:2000;
  }
  .nav-links.show{display:flex;}
}

@media (max-width:600px){
  /* :root{--topbar-h:50px;} */
  .hero h1{font-size:2rem;}
  .hero p{font-size:1rem;}
  .section.bg-soft-3 .container{padding:1.8rem 1.2rem 1.6rem;}
  .section.bg-soft-3 h2{font-size:1.6rem;}
  .section.bg-soft-3 p{font-size:.97rem;}
  .modal__content{margin:10vh 12px;}
  .ba-pair{grid-template-columns:1fr;}
  .ba-pair img{height:240px;}
  .tb-inner span{font-size:.85rem;}
  .tb-call{padding:.4rem .85rem; font-size:.9rem;}
  .lb__box{margin:10vh 12px; max-width:calc(100vw - 24px);}
  .lb__prev{left:8px;}
  .lb__next{right:8px;}
  .lb__close{right:8px; top:8px;}
}

/* ===== USLUGE – uređivanje sekcije ===== */

#usluge{
  background:
    linear-gradient(
      180deg,
      #041c57 0%,
      #2f6fff 50%,
	  #041c57 100%
    );
}

#usluge h2{
	color:#fff;
}

#usluge p{
  color:#000;
}

#usluge .card{
  background:#fff;
  color:#000;
  box-shadow:
    0 20px 50px rgba(0,0,0,.25);
}

#usluge .card h3{
  color:#0943C8;
}

#usluge > .container > p{
  color:rgba(255,255,255,.9);
  
}

#usluge.section::after{
  display:none;
}


/* ===== PROCES – video background ===== */
#proces{
  position:relative;
  overflow:hidden;
}

/* video kao hero */
#proces .proces-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

/* svijetli overlay (razlika u odnosu na hero) */
/* #proces .proces-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(
      rgba(255,255,255,.85),
      rgba(255,255,255,.75)
    );
} */

/* sadržaj iznad */
#proces h2,
#proces .grid{
  position:relative;
  z-index:2;
}

@media (prefers-reduced-motion: reduce){
  #proces .proces-video{
    display:none;
  }
}

/* ===== CJENIK – njegove đinđe ===== */

#cjenik{
  background:
    linear-gradient(
      180deg,
      #041c57 0%,
      #2f6fff 50%,
	  #041c57 100%
    );
}

/* ===== ONAMA – tekst kartica ===== */

#onama{
  position:relative;
  overflow:hidden;
}

/* video kao hero */
#onama .proces-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}


#onama h2{
  position:relative;
  z-index:2;
  color:#fff;
  margin-bottom:1.4rem;
}

.onama-card{
  max-width:720px;
  margin:2rem auto 0;
  background:#fff;
  padding:2.2rem 2rem;
  border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.15);
}

.onama-card p{
  color:#111;
  line-height:1.7;
  margin:0 0 1.1rem;
  font-size:1.02rem;
}

.onama-card p.lead{
  color:#0943C8;
  font-size:1.15rem;
  font-weight:700;
}


#onama .onama-card{
  backdrop-filter: blur(2px);
}


@media (prefers-reduced-motion: reduce){
  #onama .proces-video{
    display:none;
  }
}

#iskustva{
  background:
    linear-gradient(
      180deg,
      #041c57 0%,
      #2f6fff 50%,
	  #041c57 100%
    );
}

#faq{
  background:
    linear-gradient(
      180deg,
      #041c57 0%,
      #2f6fff 50%,
	  #041c57 100%
    );
}

:root{
  --sticky-offset: calc(var(--topbar-h) + var(--header-h) + 12px);
}

section[id]{
  scroll-margin-top: var(--sticky-offset);
}

html{ scroll-behavior:smooth; }

/* === Kill 1px seam: cover the join with a 3px strip === */
#proces,
#onama{
  position: relative;
  overflow: hidden;
}

/* === 1px seam fix: cover the join from the BLUE section side === */
#cjenik{
  position: relative;
}

/* === Seam killer (stable on mobile + zoom) === */
#usluge, #cjenik, #iskustva, #faq{
  position: relative;
}

/* === Mobile-proof seam fix: cover join from VIDEO section side === */
#proces,
#onama{
  position:relative;
  overflow:hidden;
  background:#041c57; /* da nikad ne "proviri" bijelo */
}

#proces::after,
#onama::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-6px;     /* ide malo ispod */
  height:12px;     /* dovoljno debelo za sve zoom/subpixel slučajeve */
  background:#041c57;
  z-index:9999;
  pointer-events:none;
  transform:translateZ(0);
}

@media (max-width: 900px){
  #cjenik::before,
  #iskustva::before{
    content:"";
    position:absolute;
    left:0; right:0;
    top:-10px;
    height:16px;
    background:#041c57;
    z-index:9999;
    pointer-events:none;
  }
}


@media (max-width: 900px){
  body{
    background-attachment: scroll, scroll, scroll;
  }
}
