:root{
  --bg:#0b1220;
  --card:#0f1a33;
  --muted:#95a6c9;
  --text:#eaf0ff;
  --brand:#2dd4bf;
  --brand2:#60a5fa;
  --danger:#fb7185;
  --border:rgba(255,255,255,.10);
  --shadow: 0 14px 38px rgba(0,0,0,.45);
  --radius:18px;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}


body{
  margin:0;
  font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Helvetica Neue",Arial;
  color:var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(96,165,250,.25), transparent 60%),
              radial-gradient(900px 600px at 90% 0%, rgba(45,212,191,.22), transparent 60%),
              var(--bg);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}
.section{padding:64px 0}
.section.compact{padding:42px 0}
.kicker{color:var(--brand);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}
.h2{font-size:2rem;line-height:1.2;margin:.35rem 0 1rem}
.p{color:var(--muted);line-height:1.65;margin:0}
.grid{display:grid;gap:18px}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card.pad{padding:18px}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  color:var(--text);
  font-weight:650;
}
.badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:12px;
  border:1px solid var(--border);
  font-weight:750;
  transition:transform .12s ease, filter .12s ease, background .12s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px);filter:brightness(1.07)}
.btn.primary{
  background:linear-gradient(90deg, rgba(45,212,191,.95), rgba(96,165,250,.95));
  border:none;color:#08101f;
}
.btn.ghost{background:rgba(255,255,255,.06)}
.btn.small{padding:10px 12px;border-radius:10px;font-weight:700}
.btn.danger{background:rgba(251,113,133,.15);border-color:rgba(251,113,133,.35);color:#ffd7de}

.topbar{
  position:sticky;top:0;z-index:40;
  backdrop-filter:saturate(140%) blur(10px);
  background:rgba(11,18,32,.70);
  border-bottom:1px solid var(--border);
}

/* Sticky header – malo tamnije na scroll (JS dodaje .is-scrolled) */
.topbar.is-scrolled{
  background: rgba(11,18,32,.88);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex;align-items:center;gap:10px;font-weight:900;
  letter-spacing:.02em;
}
.brand img{width:36px;height:36px;border-radius:10px;border:1px solid var(--border);background:rgba(255,255,255,.06)}
.navlinks{display:flex;align-items:center;gap:18px}
.navlinks a{color:var(--muted);font-weight:700}
.navlinks a.active,.navlinks a:hover{color:var(--text)}
.nav-cta{display:flex;align-items:center;gap:10px}
.burger{display:none}
.drawer{display:none}

.hero{
  padding:34px 0 54px;
}
.hero .wrap{
  display:grid;grid-template-columns: 1.2fr .8fr;gap:18px;align-items:stretch;
}
.heroMedia{
  position:relative;
  border-radius:calc(var(--radius) + 6px);
  overflow:hidden;border:1px solid var(--border);
  box-shadow:var(--shadow);
  min-height:420px;
  background:#070b12;
}
.heroMedia img{width:100%;height:100%;object-fit:cover;opacity:.92}
.heroOverlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg, rgba(5,8,14,.86), rgba(5,8,14,.25) 55%, rgba(5,8,14,.20));
}
.heroContent{
  position:absolute;inset:0;
  padding:26px;
  display:flex;flex-direction:column;justify-content:flex-end;
}
.heroTitle{font-size:2.45rem;line-height:1.05;margin:0 0 10px;font-weight:950}
.heroLead{color:rgba(234,240,255,.86);line-height:1.55;margin:0;max-width:60ch}
.heroActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.heroSide{
  display:flex;flex-direction:column;gap:18px;
}
.sideCard h3{margin:0 0 8px;font-size:1.05rem}
.sideCard .p{font-size:.98rem}
.sideList{display:grid;gap:10px;margin-top:14px}
.sideItem{
  display:flex;gap:10px;align-items:flex-start;
  padding:12px;border-radius:14px;
  background:rgba(255,255,255,.06);border:1px solid var(--border);
}
.icon{
  width:30px;height:30px;border-radius:10px;
  display:grid;place-items:center;
  background:rgba(96,165,250,.16);
  border:1px solid rgba(96,165,250,.25);
}

.cols3{grid-template-columns:repeat(3,1fr)}
.cols2{grid-template-columns:repeat(2,1fr)}
.cols4{grid-template-columns:repeat(4,1fr)}
@media (max-width: 920px){
  .hero .wrap{grid-template-columns:1fr}
  .heroMedia{min-height:380px}
  .cols3{grid-template-columns:1fr}
  .cols4{grid-template-columns:1fr 1fr}
  .cols2{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .navlinks{display:none}
  .nav-cta{display:none}
  .burger{display:inline-flex}
  .drawer{
    display:none;position:fixed;inset:0;z-index:60;
    background:rgba(5,8,14,.62);
  }
  .drawer.open{display:block}
  .panel{
    position:absolute;right:0;top:0;height:100%;width:min(86vw,360px);
    background:rgba(11,18,32,.92);
    border-left:1px solid var(--border);
    padding:18px;
    backdrop-filter:saturate(140%) blur(10px);
  }
  .panel .brand{margin-bottom:14px}
  .panel a{display:block;padding:12px 10px;border-radius:12px;color:var(--text);font-weight:800}
  .panel a:hover{background:rgba(255,255,255,.06)}
  .panel .nav-cta{display:flex;flex-direction:column;gap:10px;margin-top:10px}
  .heroTitle{font-size:2.05rem}
}

.serviceCard .thumb{
  height:160px;border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.05);
}
.serviceCard .thumb img{width:100%;height:100%;object-fit:cover}
.serviceCard h3{margin:14px 0 8px;font-size:1.1rem}
.serviceCard ul{margin:10px 0 0;padding-left:18px;color:var(--muted);line-height:1.6}
.serviceCard .btn{margin-top:14px}

.steps{align-items:stretch}
.step{
  padding:18px;border-radius:16px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  display:flex;flex-direction:column;gap:8px;
}
.step .num{
  width:38px;height:38px;border-radius:14px;
  display:grid;place-items:center;
  background:rgba(45,212,191,.16);
  border:1px solid rgba(45,212,191,.25);
  font-weight:950;
}
.step h4{margin:0;font-size:1.05rem}
.step .p{font-size:.95rem}

.gallery{
  grid-template-columns:repeat(3,1fr);
}
.gallery a{
  border-radius:16px;overflow:hidden;border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}
.gallery img{width:100%;height:220px;object-fit:cover;transition:transform .18s ease}
.gallery a:hover img{transform:scale(1.03)}
@media (max-width: 920px){ .gallery{grid-template-columns:repeat(2,1fr)} }
@media (max-width: 520px){ .gallery{grid-template-columns:1fr} .gallery img{height:210px} }

.footer{
  padding:36px 0;
  border-top:1px solid var(--border);
  background:rgba(0,0,0,.18);
}
.footer .grid{grid-template-columns:1.2fr 1fr 1fr;gap:18px}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}
.footer small{color:var(--muted)}
@media (max-width: 920px){ .footer .grid{grid-template-columns:1fr} }

.form{
  display:grid;gap:12px;
}
.field{
  display:grid;gap:8px;
}
label{color:var(--muted);font-weight:750;font-size:.92rem}
input, textarea{
  padding:12px 12px;border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  color:var(--text);
  outline:none;
}
textarea{min-height:120px;resize:vertical}
.note{color:var(--muted);font-size:.92rem;line-height:1.6}
.hr{height:1px;background:var(--border);margin:16px 0}
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid var(--border);
}
.table th,.table td{
  padding:12px 12px;
  border-bottom:1px solid var(--border);
}
.table th{color:var(--muted);text-align:left;font-size:.92rem}
.table tr:last-child td{border-bottom:none}

#cookie-banner{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background:rgba(0,0,0,.9);
  color:#fff;
  z-index:99999;
  display:none;
}

.cookie-wrapper{
  max-width:1100px;
  margin:auto;
  padding:15px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  flex-wrap:wrap;
}

#cookie-banner p{
  margin:0;
  font-size:14px;
}

#cookie-banner a{
  color:#f7931e;
  text-decoration:underline;
}

.cookie-buttons{
  display:flex;
  gap:10px;
}

/* Cookie banner buttons alias (ako koristiš .cookie-actions u HTML-u) */
.cookie-actions{ display:flex; gap:10px; }

#cookie-banner button{
  border:none;
  padding:8px 16px;
  border-radius:6px;
  cursor:pointer;
  font-weight:600;
}

#cookie-reject,
#cookie-decline{
  background:#444;
  color:#fff;
}

#cookie-accept{
  background:#f7931e;
  color:#000;
}

/* ========== TESTIMONIALS (Dark Clean Version) ========== */
.testimonials{ background: transparent; }

.t-slider{ position: relative; margin-top: 22px; }

.t-viewport{
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
}

.t-track{
  display: flex;
  gap: 16px;
  transition: transform .45s ease;
  will-change: transform;
}

.t-card{
  min-width: calc((100% - 32px) / 3);
  background: linear-gradient(180deg, rgba(15,23,42,.88), rgba(15,23,42,.70));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 22px;
  color: #e2e8f0;
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  transition: transform .3s ease, box-shadow .3s ease;
  opacity: 1;
  transform: translateY(0);
}

.t-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,.55);
}

.t-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.t-stars{
  display: inline-flex;
  gap: 3px;
  font-size: 14px;
  line-height: 1;
  color: var(--brand);
  opacity: .95;
}

.t-badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.06);
  color: #e2e8f0;
  font-weight: 700;
}

.testimonial p{
  margin: 0 0 14px;
  color: rgba(203,213,225,.95);
  font-style: italic;
  line-height: 1.6;
}

.testimonial span{
  display: block;
  font-weight: 800;
  color: #f8fafc;
  opacity: .95;
}

/* Nav buttons */
.t-nav{
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(15,23,42,.88);
  backdrop-filter: blur(8px);
  color: #e2e8f0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}
.t-nav:hover{ filter: brightness(1.08); }
.t-nav.prev{ left: -6px; }
.t-nav.next{ right: -6px; }

/* Dots */
.t-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.t-dots button{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.t-dots button.active{
  background: linear-gradient(90deg, rgba(45,212,191,.95), rgba(96,165,250,.95));
  border-color: transparent;
}

@media (max-width: 920px){
  .t-card{ min-width: calc((100% - 16px) / 2); }
  .t-nav.prev{ left: 6px; }
  .t-nav.next{ right: 6px; }
}
@media (max-width: 520px){
  .t-card{ min-width: 100%; }
}

/* CTA button glow */
a.cta, .btn-cta, .nav-cta, button.cta, .btn.primary{
  position: relative;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

a.cta:hover, .btn-cta:hover, .nav-cta:hover, button.cta:hover, .btn.primary:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 20px 45px rgba(0,0,0,.45);
}
/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 22px;
}
.lightbox.open{ display: flex; }
.lightbox img{
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
