/* =========================================================
   Lekos d.o.o. — Web stranica
   Svjetla tema s plavim detaljima (#2F4586)
   ========================================================= */

/* ---------- CSS varijable ---------- */
:root {
  --blue: #2F4586;
  --blue-dark: #223361;
  --blue-light: #3f57a3;
  --blue-tint: #eef1f8;
  --blue-tint-2: #f6f8fc;

  --text: #1f2433;
  --muted: #5d6478;
  --heading: #1b2340;

  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --border: #e4e8f2;
  --white: #ffffff;

  --shadow-sm: 0 2px 10px rgba(31, 45, 90, 0.06);
  --shadow-md: 0 10px 30px rgba(31, 45, 90, 0.10);
  --shadow-lg: 0 20px 50px rgba(31, 45, 90, 0.16);

  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 84px;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; font-weight: 700; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 60px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .96rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(47, 69, 134, 0.28); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(47, 69, 134, 0.36); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--ghost-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-white:hover { background: #fff; color: var(--blue); }

/* =========================================================
   HEADER / NAVIGACIJA
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  z-index: 1000;
  transition: box-shadow .3s, height .3s, background .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { flex-shrink: 0; }
.nav__logo img { height: 42px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__item { position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-weight: 500;
  font-size: .98rem;
  color: var(--text);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item.active > .nav__link { color: var(--blue); }
.nav__link .caret { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__item--has-dropdown:hover .caret { transform: rotate(180deg); }

/* Underline effect */
.nav__link::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
  border-radius: 2px;
}
.nav__link:hover::after, .nav__item.active > .nav__link::after { transform: scaleX(1); }
.nav__item--has-dropdown > .nav__link::after { display: none; }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 258px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -18px; left: 0; right: 0; height: 18px;
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text);
  transition: background .2s, color .2s;
}
.nav__dropdown a:hover { background: var(--blue-tint); color: var(--blue); }
.nav__dropdown a .dot {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--blue-tint);
  display: grid; place-items: center;
  color: var(--blue);
  transition: background .2s, color .2s;
}
.nav__dropdown a:hover .dot { background: var(--blue); color: #fff; }
.nav__dropdown a .dot svg { width: 23px; height: 23px; }

/* Logo na vrhu mobilnog izbornika (skriven na desktopu) */
.nav__menu-logo { display: none; }
.nav__menu-logo img { height: 38px; width: auto; }

/* Hamburger — desna strana */
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1200;
  flex-shrink: 0;
  border-radius: 10px;
}
.nav__toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2.5px;
  background: var(--blue);
  border-radius: 3px;
  transition: transform .38s var(--ease), opacity .25s, top .38s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 29px; }
body.menu-open .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .nav__toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 28, 56, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
  z-index: 1100;
  backdrop-filter: blur(2px);
}
body.menu-open .nav__overlay { opacity: 1; visibility: visible; }

/* =========================================================
   HERO SLIDER (početna)
   ========================================================= */
.hero {
  position: relative;
  margin-top: var(--header-h);
  height: calc(100vh - var(--header-h));
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: var(--blue-dark);
}
.slider { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.slide.active { opacity: 1; visibility: visible; }
.slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 7s ease-out;
}
.slide.active .slide__bg { transform: scale(1); }
.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26, 35, 64, 0.90) 0%, rgba(47, 69, 134, 0.66) 45%, rgba(47, 69, 134, 0.30) 100%);
}
.slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.slide__eyebrow {
  color: #cdd6ef;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(24px);
}
.slide__title {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 640px;
  opacity: 0;
  transform: translateY(24px);
}
.slide__text {
  color: #e4e9f6;
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
}
.slide__actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(24px); }
.slide.active .slide__eyebrow { animation: heroIn .8s var(--ease) .3s forwards; }
.slide.active .slide__title { animation: heroIn .8s var(--ease) .45s forwards; }
.slide.active .slide__text { animation: heroIn .8s var(--ease) .6s forwards; }
.slide.active .slide__actions { animation: heroIn .8s var(--ease) .75s forwards; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* Slider kontrole */
/* Kontrole slidera poravnate sa širinom stranice (kao .container) */
.slider__arrows {
  position: absolute; z-index: 5; bottom: 42px;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--container);
  padding: 0 24px; box-sizing: border-box;
  display: flex; gap: 12px; justify-content: flex-end;
  pointer-events: none;
}
.slider__arrow { pointer-events: auto; }
.slider__arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
  backdrop-filter: blur(4px);
}
.slider__arrow:hover { background: #fff; color: var(--blue); border-color: #fff; transform: scale(1.06); }
.slider__arrow svg { width: 20px; height: 20px; }

.slider__dots {
  position: absolute; z-index: 5; bottom: 42px;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--container);
  padding: 0 24px; box-sizing: border-box;
  display: flex; gap: 12px; align-items: center; justify-content: center;
  pointer-events: none;
}
.slider__dot { pointer-events: auto; }
.slider__dot {
  width: 40px; height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  border: none;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: background .3s;
}
.slider__dot.active { background: rgba(255,255,255,.35); }
.slider__dot .fill {
  position: absolute; inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.slider__dot.active .fill { animation: dotFill 6s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

/* =========================================================
   PAGE HERO (unutarnje stranice)
   ========================================================= */
.page-hero {
  margin-top: var(--header-h);
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 340px; height: 340px;
  border: 60px solid rgba(255,255,255,.05);
  border-radius: 50%;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: #dbe1f2; font-size: 1.1rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: #b9c2e0; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .6; }

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}
/* Kartice se slažu po 3 u red; nepotpuni zadnji red ostaje centriran */
.services-grid > * {
  flex: 1 1 300px;
  max-width: 360px;
}
/* Kad su točno 4 kartice — sve u jednom redu na desktopu */
@media (min-width: 1024px) {
  .services-grid:has(> .service-card:nth-child(4):last-child) > .service-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 84px; height: 84px;
  border-radius: 20px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid; place-items: center;
  margin: 0 auto 24px;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--blue); color: #fff; }
.service-card__icon svg { width: 46px; height: 46px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: .96rem; margin-bottom: 20px; }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: .92rem;
}
.service-card .card-link svg { width: 16px; height: 16px; transition: transform .25s; }
.service-card:hover .card-link svg { transform: translateX(5px); }

/* =========================================================
   FEATURE / SPLIT SECTION
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.split__media .badge {
  position: absolute;
  bottom: -26px; left: -26px;
  background: var(--blue);
  color: #fff;
  padding: 22px 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.split__media .badge strong { display: block; font-size: 2rem; line-height: 1; }
.split__media .badge span { font-size: .82rem; opacity: .85; }
.split__body .eyebrow {
  color: var(--blue);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.split__body h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 20px; }
.split__body p { color: var(--muted); margin-bottom: 18px; }

.check-list { display: grid; gap: 14px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ci {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid; place-items: center;
}
.check-list .ci svg { width: 19px; height: 19px; }
.check-list li span.txt { color: var(--text); font-weight: 500; }

/* =========================================================
   STATS
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; padding: 20px; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--blue); font-weight: 700; }
.stat span { color: var(--muted); font-size: .96rem; }

/* =========================================================
   PARTNERS
   ========================================================= */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 22px; }
/* Jednake kartice — logotipi različitih oblika skaliraju se unutar okvira */
.partners img {
  box-sizing: border-box;
  width: 205px;
  height: 100px;
  object-fit: contain;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.partners img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
@media (max-width: 480px) {
  .partners img { width: 150px; height: 84px; padding: 20px 22px; }
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: linear-gradient(120deg, var(--blue), var(--blue-dark));
  border-radius: 24px;
  padding: 60px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.05);
}
.cta-banner::before { width: 260px; height: 260px; top: -120px; left: -60px; }
.cta-banner::after { width: 200px; height: 200px; bottom: -100px; right: -40px; }
.cta-banner__inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.cta-banner p { color: #dde3f4; margin-bottom: 30px; font-size: 1.08rem; }
.cta-banner .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   CONTENT (pravni dokumenti, opisi)
   ========================================================= */
.content { max-width: 820px; margin: 0 auto; }
.content h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.content h3 { font-size: 1.18rem; margin: 28px 0 12px; }
.content p { color: var(--text); margin-bottom: 16px; }
.content ul.bullets { margin: 0 0 20px; display: grid; gap: 10px; }
.content ul.bullets li { position: relative; padding-left: 28px; color: var(--text); }
.content ul.bullets li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.content .lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 30px; }
.content a { color: var(--blue); text-decoration: underline; }
.content .updated { color: var(--muted); font-size: .9rem; margin-bottom: 30px; font-style: italic; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 20px; }
.contact-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .3s, transform .3s;
}
.contact-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.contact-card .ic {
  width: 58px; height: 58px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid; place-items: center;
}
.contact-card .ic svg { width: 30px; height: 30px; }
.contact-card h4 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .96rem; }
.contact-card a:hover { color: var(--blue); }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 8px; color: var(--heading); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .96rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47,69,134,.10);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--blue); }
.form-check a { color: var(--blue); text-decoration: underline; }
.form-note { margin-top: 18px; font-size: .85rem; color: var(--muted); text-align: center; }
.form-note.success { color: #1a8a4a; font-weight: 600; }
.form-note.error { color: #c0392b; font-weight: 600; }

.map-wrap { margin-top: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--blue-dark); color: #c7cee4; padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: .02em;
}
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { font-size: .94rem; color: #a8b1d0; max-width: 320px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: #fff;
  transition: background .25s, transform .25s;
}
.footer-social a:hover { background: var(--blue-light); transform: translateY(-3px); }
.footer-social svg { width: 21px; height: 21px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .94rem; color: #a8b1d0; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: .94rem; color: #a8b1d0; }
.footer-contact svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--blue-light); margin-top: 2px; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  font-size: .88rem;
  color: #97a1c4;
}
.footer-bottom a { color: #cfd6ee; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom .copyright { color: #97a1c4; }
.footer-bottom .designed { display: inline; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 15px; font-size: .74rem; }
.footer-legal a { color: #a8b1d0; }
.footer-legal a:hover { color: #fff; }

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: auto; right: 24px; bottom: 24px;
  width: calc(100% - 48px);
  max-width: 440px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
  z-index: 1500;
  transform: translateY(140%);
  transition: transform .5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.cookie-banner__icon svg { width: 30px; height: 30px; }
.cookie-banner h4 { font-size: 1.12rem; margin-bottom: 8px; }
.cookie-banner p { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.cookie-banner p a { color: var(--blue); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: 11px 22px; font-size: .9rem; }
.btn--sm-text { background: none; border: none; color: var(--muted); padding: 11px 14px; cursor: pointer; font-family: inherit; font-weight: 500; font-size: .9rem; border-radius: 50px; }
.btn--sm-text:hover { color: var(--blue); background: var(--bg-alt); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .split { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }

  .nav__toggle { display: block; }

  /* Mobilni izbornik — klizi s desne strane */
  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(86vw, 360px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 26px 40px;
    box-shadow: -14px 0 40px rgba(20, 28, 56, 0.18);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    overflow-y: auto;
    z-index: 1150;
  }
  body.menu-open .nav__menu { transform: translateX(0); }

  /* Logo na vrhu mobilnog izbornika */
  .nav__menu-logo {
    display: block;
    padding: 4px 4px 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }

  /* Staggered ulaz svih stavki (uklj. logo) */
  .nav__menu > * {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  body.menu-open .nav__menu > * { opacity: 1; transform: translateX(0); }
  body.menu-open .nav__menu > *:nth-child(1) { transition-delay: .08s; }
  body.menu-open .nav__menu > *:nth-child(2) { transition-delay: .14s; }
  body.menu-open .nav__menu > *:nth-child(3) { transition-delay: .20s; }
  body.menu-open .nav__menu > *:nth-child(4) { transition-delay: .26s; }
  body.menu-open .nav__menu > *:nth-child(5) { transition-delay: .32s; }

  .nav__item { width: 100%; }
  .nav__link {
    padding: 15px 12px;
    font-size: 1.05rem;
    border-radius: 10px;
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
  }
  .nav__link::after { display: none; }

  /* Mobilni dropdown — accordion */
  .nav__menu .nav__dropdown,
  .nav__item--has-dropdown:hover .nav__dropdown,
  .nav__item--has-dropdown:focus-within .nav__dropdown {
    position: static;
    left: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    min-width: 0;
    padding: 4px 0 4px 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav__item--has-dropdown.open .nav__dropdown { max-height: 500px; }
  .nav__item--has-dropdown.open .caret { transform: rotate(180deg); }
  .nav__dropdown::before { display: none; }
  .nav__dropdown a { padding: 12px 10px; }
  .nav__dropdown a .dot { width: 30px; height: 30px; }

  .section { padding: 60px 0; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__media { order: 0; }
  .split__media .badge { left: 20px; bottom: -20px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-banner { padding: 44px 26px; }

  /* Slider — sve centrirano na mobitelu */
  .slide__content { align-items: center; text-align: center; padding-bottom: 40px; }
  .slide__text { margin-left: auto; margin-right: auto; }
  .slide__actions { justify-content: center; }
  .slider__dots { bottom: 26px; justify-content: center; }
  .slider__arrows { top: 50%; bottom: auto; left: 0; right: 0; transform: translateY(-50%); justify-content: space-between; padding: 0 14px; }
  .slider__arrow { width: 44px; height: 44px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-legal { justify-content: center; }
  /* "Designed by Medialab." u novom redu na mobitelu */
  .footer-bottom .copyright .designed { display: block; }

  .cookie-banner { left: 16px; right: 16px; bottom: 16px; width: auto; margin: 0; max-width: none; padding: 22px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cookie-banner__actions { flex-direction: column; }
  .cookie-banner__actions .btn, .btn--sm-text { width: 100%; justify-content: center; }
}

/* Nav hidden helper (desktop dropdown accessible) */
@media (hover: none) and (min-width: 861px) {
  .nav__item--has-dropdown:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}
