:root{
  --brand:#2d6cdf;
  --light:#f8f9fa;
}

/* RESET / BASE -------------------------------------------------------*/
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Inter,sans-serif;background:var(--light);color:#222;line-height:1.6}
img{max-width:100%;display:block}

/* LANGUAGE TOGGLE ----------------------------------------------------*/
.lang-switch{
  position:fixed;top:1rem;right:1rem;z-index:20;
  display:flex;gap:.25rem;padding:.3rem .4rem;
  background:rgba(255,255,255,.75);backdrop-filter:blur(6px);
  border-radius:8px
}
.lang-switch button{
  border:none;background:transparent;color:#444;
  font-weight:600;cursor:pointer;padding:.45rem .8rem;border-radius:4px;
  transition:background .2s,color .2s
}
.lang-switch button:hover,
.lang-switch button:focus-visible{background:var(--brand);color:#fff}

/* HERO — split layout -----------------------------------------------*/
.hero-split{display:flex;flex-wrap:wrap;min-height:300px}
.hero-split__img,
.hero-split__txt{flex:1 1 50%;min-width:300px}
.hero-split__img{position:relative}
.hero-split__img picture,
.hero-split__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-split__txt{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  background:#fff;text-align:center;padding:1.5rem
}
.hero-split__txt h1{font-size:2.5rem;color:var(--brand);margin-bottom:.8rem}
.hero-split__txt p {font-weight:600}

/* GLOBAL LAYOUT SPACING ---------------------------------------------*/
section{max-width:960px;margin:auto;padding:1rem 1rem}
h2{color:var(--brand);margin-top:0.6rem;font-weight:700;border-bottom:2px solid var(--brand);padding-bottom:.4rem}

/* WHY CHOOSE US ------------------------------------------------------*/
.why-cards{margin-top:1rem}
.card-grid{
  list-style:none;padding:0;margin-top:.2rem;
  display:grid;gap:1.2rem;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))
}
.card-grid li{
  background:#fff;border:1px solid #dfe3e7;border-radius:10px;
  padding:1.4rem .8rem;text-align:center;
  box-shadow:0 2px 4px rgba(0,0,0,.06);
  display:flex;flex-direction:column;align-items:center;gap:.6rem
}
.card-grid img{width:64px;height:64px;object-fit:contain}

/* GALLERY ------------------------------------------------------------*/
.gallery{
  display:grid;gap:.8rem;margin-top:1.4rem;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))
}
.gallery a{border-radius:8px;overflow:hidden}
.gallery img{height:100%;object-fit:cover;transition:transform .25s}
.gallery a:hover img{transform:scale(1.05)}

/* FEATURES (ako se ikad koristi klasični grid) ----------------------*/
.features{list-style:none;padding-left:0;display:flex;flex-wrap:wrap;gap:2rem;justify-content:space-between;margin:2rem 0}
.features li{flex:1 1 160px;display:flex;flex-direction:column;align-items:center}
.features img{width:120px;height:120px;object-fit:contain;filter:grayscale(.2) contrast(1.1);transition:transform .2s}
.features img:hover{transform:scale(1.05)}
@media(max-width:600px){
  .features li{flex:1 1 110px}
  .features img{width:90px;height:90px}
}

/* CTA STRIPE ---------------------------------------------------------*/
.cta-stripe{
  background:var(--brand);color:#fff;text-align:center;
  padding:2rem 1rem;margin-top:3rem
}
.cta-stripe a{
  display:inline-block;background:#fff;color:var(--brand);
  padding:.9rem 2rem;border-radius:8px;font-weight:700;
  text-decoration:none;transition:background .25s,color .25s
}
.cta-stripe a:hover{background:rgba(255,255,255,.85)}

/* KLASIČNI CTA (ako ga koristiš negdje drugdje) ---------------------*/
.cta{text-align:center;margin-top:3rem}
.cta a{
  display:inline-block;background:var(--brand);color:#fff;
  padding:1rem 2.2rem;font-size:1.1rem;border-radius:8px;
  text-decoration:none;transition:background .25s
}
.cta a:hover{background:#1a50bf}
