/* ==========================================================================
   DISTRI — glavni stil
   Sadržaj je najviše 1170 px širok; veličine su fluidne (clamp + vw)
   i rastu do širine ekrana od ~1460 px, a na manjim ekranima se smanjuju.
   ========================================================================== */

/* ---------- Fontovi (Newson, Type Network — web licenca) ---------- */
@font-face {
  font-family: "Newson";
  src: url("../fonts/newson-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newson";
  src: url("../fonts/newson-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newson";
  src: url("../fonts/newson-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newson";
  src: url("../fonts/newson-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Varijable ---------- */
:root {
  --green: #4a9d2b;
  --green-dark: #4a8524;      /* linije karte */
  --green-text: #3b7f22;      /* zelena za tekst na bijelom (AA kontrast) */
  --orange: #ff6600;
  --orange-hover: #e85d00;
  --navy: #2f313f;
  --navy-hero: #2d3142;
  --grey: #5c6360;
  --line: #dde3e0;
  --bg: #f7f9f8;
  --white: #fff;
  --black: #000;

  --font: "Newson", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 48px);
  --container: 1170px;
  --radius-lg: clamp(28px, 3.1vw, 45px);
  --radius-md: clamp(18px, 2vw, 29px);
  --shadow: 0 10px 40px rgba(20, 30, 25, .12);

  --fs-display: clamp(2.375rem, 3.96vw, 58px);
  --fs-card-title: clamp(2.125rem, 3.8vw, 56px);
  --fs-lead: clamp(1.125rem, 1.56vw, 23px);
  --fs-body-lg: clamp(1.125rem, 1.87vw, 27px);
  --fs-body: clamp(1.0625rem, 1.25vw, 18px);
  --fs-nav: clamp(1rem, 1.1vw, 16px);
  --fs-btn: clamp(1rem, 1.04vw, 16px);

  --section-y: clamp(88px, 11.5vw, 168px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Pomoćne klase ---------- */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: clamp(48px, 3.33vw, 49px);
  padding: 0 clamp(24px, 2.4vw, 35px);
  border: 0;
  border-radius: 999px;
  font-family: var(--font);
  font-size: var(--fs-btn);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn--orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(255, 102, 0, .28);
}
.btn--orange:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn--orange:active { transform: translateY(0); }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85);
}
.btn--outline-white:hover { background: rgba(255, 255, 255, .12); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ==========================================================================
   Zaglavlje / navigacija
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: clamp(12px, 2.24vw, 33px);
  pointer-events: none;
  transition: padding .25s ease;
}
.site-header.is-scrolled { padding-top: 12px; }

.nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--container), 100% - 2 * var(--gutter));
  min-height: clamp(64px, 6.56vw, 96px);
  margin-inline: auto;
  padding: 0 clamp(16px, 1.9vw, 28px) 0 clamp(22px, 3.15vw, 46px);
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  transition: min-height .25s ease;
}
.site-header.is-scrolled .nav { min-height: clamp(60px, 4.6vw, 67px); }

.nav__logo { display: block; flex: none; line-height: 0; }
.nav__logo img { width: clamp(108px, 8.4vw, 123px); height: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 31px);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links > li > a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--white);
  font-size: var(--fs-nav);
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}
.nav__links > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__links > li > a:hover::after,
.nav__links > li > a[aria-current="page"]::after,
.nav__links > li.is-active > a::after { transform: scaleX(1); }

/* Padajući izbornik (usluge) */
.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__sub-toggle {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-right: -6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav__sub-toggle svg { width: 16px; height: 16px; transition: transform .2s ease; }
.nav__sub {
  position: absolute;
  top: calc(100% + 14px);
  left: -22px;
  z-index: 10;
  display: grid;
  gap: 2px;
  min-width: 300px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(20, 30, 25, .2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.nav__sub::before { /* most za miš između poveznice i izbornika */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -18px;
  height: 18px;
}
.nav__sub a {
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--navy);
  text-decoration: none;
  transition: background-color .15s ease;
}
.nav__sub a span { font-size: 1.0625rem; font-weight: 600; line-height: 1.25; }
.nav__sub a small { font-size: .875rem; color: var(--grey); line-height: 1.3; }
.nav__sub a:hover,
.nav__sub a[aria-current="page"] { background: rgba(74, 157, 43, .1); }
.nav__sub a[aria-current="page"] span { color: var(--green-text); }

@media (min-width: 1101px) {
  .has-sub:hover .nav__sub,
  .has-sub:focus-within .nav__sub,
  .has-sub.is-open .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .has-sub:hover .nav__sub-toggle svg,
  .has-sub.is-open .nav__sub-toggle svg { transform: rotate(180deg); }
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  display: block;
  width: 24px; height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -7px; }
.nav__toggle-bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav { border-radius: 32px; flex-wrap: wrap; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: calc(100svh - 120px);
    overflow-y: auto;
    padding: 4px 6px 22px;
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links > li + li { border-top: 1px solid rgba(255, 255, 255, .22); }
  .nav__links > li > a { display: block; padding: 13px 0; font-size: 1.1875rem; }
  .nav__links > li > a::after { display: none; }
  .nav__links > li > a[aria-current="page"] { font-weight: 600; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .nav__sub-toggle { display: none; }
  .nav__sub {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    padding: 0 0 10px 14px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__sub::before { display: none; }
  .nav__sub a { padding: 8px 12px; border-left: 2px solid rgba(255, 255, 255, .35); border-radius: 0; color: var(--white); }
  .nav__sub a span { font-size: 1.0625rem; font-weight: 500; }
  .nav__sub a small { display: none; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(255, 255, 255, .1); }
  .nav__sub a[aria-current="page"] span { color: var(--white); font-weight: 600; }
  .nav__menu .btn { margin-top: 8px; }
}

/* ==========================================================================
   Hero — naslovnica
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 49.85vw, 957px);
  padding: clamp(120px, 11vw, 200px) 0 clamp(56px, 6vw, 110px);
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
/* Zeleni sloj iste boje kao lukovi: čitljivost teksta bez promjene lukova */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(74, 157, 43, .55) 0%, rgba(74, 157, 43, .25) 45%, rgba(74, 157, 43, 0) 70%);
}
.hero__content { position: relative; }
.hero__title {
  font-size: clamp(2.5rem, 4.17vw, 61px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -.025em;
}
.hero__title span { display: block; }
.br-lg { display: none; }
@media (min-width: 1100px) { .br-lg { display: inline; } }
.hero__lead {
  max-width: 24em;
  margin-top: clamp(20px, 2.9vw, 42px);
  font-size: clamp(1.125rem, 1.6vw, 23px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.03em;
}
.hero__cta { margin-top: clamp(32px, 3.8vw, 56px); }

@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: 100svh; max-height: 860px; }
  .hero__media img { object-position: 74% 50%; }
  .hero::before {
    background: linear-gradient(0deg, rgba(74, 157, 43, .9) 0%, rgba(74, 157, 43, .55) 40%, rgba(74, 157, 43, 0) 65%);
  }
}

/* Hero s videom (originalne boje) i vektorskim lukovima preko videa */
.hero--video { background: var(--navy-hero); }
.hero--video::before { display: none; }
.hero--video .hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.hero--video .hero__title,
.hero--video .hero__lead { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero__arcs {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: max(300px, 37.5vw);
  height: auto;
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero--video .hero__media video { object-position: 65% 50%; }
  /* na mobitelu tekst stoji preko videa: blago tamnjenje samo pri dnu */
  .hero--video .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, 0) 65%);
  }
}

/* ==========================================================================
   Prednosti (3 kolone)
   ========================================================================== */
.benefits { padding: clamp(32px, 3.6vw, 53px) 0 0; }
.coverage { padding-top: var(--section-y); }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 73px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefit { max-width: 26em; }
.benefit__icon {
  width: clamp(52px, 3.6vw, 53px);
  height: auto;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit__icon .ic-accent { stroke: var(--green); stroke-width: 2.25; }
.benefit__icon .ic-fill { fill: var(--green); stroke: var(--green); }
.benefit__title {
  margin-top: clamp(24px, 2.2vw, 32px);
  font-size: clamp(1.75rem, 2.1vw, 31px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--navy);
}
.benefit__text {
  margin-top: clamp(14px, 1.2vw, 18px);
  font-size: clamp(1.0625rem, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--grey);
}
@media (max-width: 900px) {
  .benefits__grid { grid-template-columns: 1fr; gap: 48px; }
  .benefit { max-width: 34em; }
}

/* ==========================================================================
   Hero — podstranice (tamnoplava s lukovima)
   ========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(380px, 30.36vw, 444px);
  padding: clamp(130px, 14.3vw, 209px) 0 clamp(56px, 6vw, 88px);
  background: var(--navy-hero);
  color: var(--white);
}
.page-hero__arcs {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: clamp(300px, 34.4vw, 503px);
  height: auto;
}
.page-hero__title {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.page-hero__lead {
  max-width: 32ch;
  margin-top: clamp(14px, 1.5vw, 22px);
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}

/* ==========================================================================
   Klijenti
   ========================================================================== */
.clients { padding: clamp(48px, 5vw, 73px) 0 clamp(40px, 4.2vw, 61px); }
.clients__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 44px);
  margin: 0;
  padding: 0 clamp(0px, 1vw, 15px);
  list-style: none;
}
.clients__list li { flex: 0 1 auto; display: flex; justify-content: center; }
/* --w = širina logotipa u px na 1920 px; skalira se s ekranom */
.clients__list img {
  width: clamp(calc(var(--w, 150) * .6px), calc(var(--w, 150) * .0521vw), calc(var(--w, 150) * 1px));
  height: auto;
  max-width: 100%;
}
@media (max-width: 760px) {
  .clients__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
    column-gap: 20px;
    padding: 0;
  }
  .clients__list img { width: calc(var(--w, 150) * .62px); }
}

/* ==========================================================================
   Pokrivenost — zelena kartica s kartom
   ========================================================================== */
.coverage__card {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 40vw, 585px);
  padding: clamp(64px, 6.6vw, 97px) clamp(28px, 6vw, 88px);
  border-radius: var(--radius-lg);
  background: var(--green) url("../img/karta-hrvatske.webp") center / cover no-repeat;
  color: var(--white);
  text-align: center;
}
.coverage__title {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.coverage__text {
  max-width: 34.5em;
  margin: clamp(20px, 2.3vw, 34px) auto 0;
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.3;
}
.coverage__text strong { font-weight: 700; }
@media (max-width: 760px) {
  .coverage__card { background-size: 220% auto; background-position: 40% 100%; }
}

/* ==========================================================================
   Distri Tracker — video
   ========================================================================== */
.tracker { padding-top: var(--section-y); }
.section-head { text-align: center; }
.section-head__title {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--navy);
}
.section-head__lead {
  margin-top: clamp(14px, 1.3vw, 19px);
  font-size: clamp(1.0625rem, 1.42vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.03em;
  color: var(--grey);
}
.section-head__lead sup, .hero__lead sup { font-size: .55em; vertical-align: .55em; line-height: 0; }

.tracker__video {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 4.6vw, 67px);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: #dedede;
  box-shadow: var(--shadow);
}
.tracker__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 760px) {
  .tracker__video { aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   Usluge
   ========================================================================== */
.services { padding: var(--section-y) 0 clamp(96px, 12vw, 176px); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3.98vw, 58px);
}
.service {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--green);
  color: var(--white);
}
.service__body {
  padding: clamp(44px, 4.6vw, 67px) clamp(28px, 4.2vw, 61px) clamp(28px, 2.4vw, 35px);
}
.service__title {
  font-size: var(--fs-card-title);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.service__text {
  max-width: 24em;
  margin-top: clamp(16px, 1.8vw, 26px);
  font-size: clamp(1.0625rem, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.02em;
}
.service__media { margin-top: auto; }
.service__media img { width: 100%; }
@media (max-width: 760px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   O nama
   ========================================================================== */
.about { padding: var(--section-y) 0; background: var(--white); }
.about__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.eyebrow {
  display: inline-block;
  margin-bottom: clamp(12px, 1vw, 15px);
  color: var(--green-text);
  font-size: clamp(.875rem, .83vw, 14px);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.h2 {
  font-size: clamp(2rem, 3.1vw, 45px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--navy);
}
.prose { margin-top: clamp(18px, 1.6vw, 23px); }
.prose p {
  max-width: 40em;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--grey);
}
.prose p + p { margin-top: 1em; }
.prose .lead {
  font-size: clamp(1.1875rem, 1.56vw, 23px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -.01em;
  color: var(--navy);
}

.stat {
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius-md);
  background: var(--green);
  color: var(--white);
}
.stat__number {
  display: block;
  font-size: clamp(4rem, 7.3vw, 107px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
}
.stat__label {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.125rem, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.stat__note {
  margin-top: clamp(16px, 1.5vw, 22px);
  padding-top: clamp(16px, 1.5vw, 22px);
  border-top: 1px solid rgba(255, 255, 255, .3);
  font-size: clamp(1rem, 1vw, 16px);
  line-height: 1.5;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 37px);
  margin-top: clamp(48px, 6vw, 88px);
}
.value {
  position: relative;
  padding: clamp(28px, 3.2vw, 47px);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.value::before {
  content: "";
  display: block;
  width: 56px; height: 6px;
  margin-bottom: clamp(18px, 1.6vw, 23px);
  border-radius: 6px;
  background: var(--green);
}
.value__title {
  font-size: clamp(1.625rem, 2.1vw, 31px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--navy);
}
.value__text {
  margin-top: clamp(12px, 1vw, 15px);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--grey);
}
.value--vision .value__text {
  font-size: clamp(1.25rem, 1.6vw, 23px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--navy);
}

@media (max-width: 900px) {
  .about__intro, .values { grid-template-columns: 1fr; }
}

/* CTA traka */
.cta-band { padding: 0 0 var(--section-y); background: var(--white); }
.cta-band__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 44px);
  padding: clamp(36px, 4.6vw, 67px) clamp(24px, 5vw, 73px);
  border-radius: var(--radius-lg);
  background: var(--green) url("../img/karta-hrvatske.webp") 60% 40% / 140% auto no-repeat;
  color: var(--white);
}
.cta-band__title {
  font-size: clamp(1.875rem, 3.1vw, 45px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.cta-band__text {
  max-width: 34em;
  margin-top: clamp(10px, 1vw, 15px);
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }
@media (max-width: 900px) {
  .cta-band__card { flex-direction: column; align-items: flex-start; background-size: 260% auto; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { padding: clamp(40px, 3.6vw, 53px) 0 var(--section-y); background: var(--white); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.2vw, 61px);
  align-items: start;
}
.form-card {
  padding: clamp(24px, 2.6vw, 38px) clamp(20px, 2.6vw, 38px) clamp(28px, 3vw, 44px);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 6px 34px rgba(20, 30, 25, .14);
}
.form-card__title {
  font-size: clamp(1.625rem, 2.1vw, 31px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.form-card__intro {
  margin-top: 10px;
  color: var(--grey);
  font-size: var(--fs-body);
  line-height: 1.5;
}
.form { margin-top: clamp(20px, 2vw, 29px); }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(14px, 1.3vw, 19px);
}
.field { margin-bottom: clamp(16px, 1.25vw, 18px); }
.field label,
.field .label {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1rem, .94vw, 16px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.field .req { color: var(--orange); }
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--navy);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 200px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8a918e; opacity: 1; }
.field input:hover,
.field textarea:hover { border-color: #c4ccc8; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(74, 157, 43, .18);
}
.field.has-error input,
.field.has-error textarea { border-color: #d93a1f; background: #fff7f5; }
.field__error {
  display: none;
  margin-top: 6px;
  color: #c4321a;
  font-size: .9375rem;
  font-weight: 500;
}
.field.has-error .field__error { display: block; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 clamp(20px, 1.6vw, 23px);
  font-size: .9688rem;
  line-height: 1.5;
  color: var(--grey);
}
.consent input {
  flex: none;
  width: 22px; height: 22px;
  margin: 1px 0 0;
  accent-color: var(--green);
  cursor: pointer;
}
.consent a { color: var(--green-text); font-weight: 600; }
.consent.has-error { color: #c4321a; }

.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.form__note { color: var(--grey); font-size: .9375rem; }

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 500;
  line-height: 1.45;
}
.form-status.is-visible { display: block; }
.form-status--success { background: #eaf5e5; color: #2c6517; border: 1.5px solid #bfe0b2; }
.form-status--error { background: #fff1ee; color: #a8301a; border: 1.5px solid #f5c6bb; }

@media (max-width: 1100px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form__footer .btn { width: 100%; }
}

/* Desni stupac — podaci */
.contact-info__title {
  font-size: clamp(2rem, 2.9vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--navy);
}
.contact-list {
  display: grid;
  gap: 18px;
  margin: clamp(22px, 2vw, 29px) 0 0;
  padding: 0;
  list-style: none;
}
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(74, 157, 43, .12);
  color: var(--green-text);
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list__label {
  display: block;
  color: var(--grey);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.contact-list a,
.contact-list address {
  font-size: clamp(1.125rem, 1.2vw, 18px);
  font-weight: 600;
  font-style: normal;
  line-height: 1.35;
  color: var(--navy);
  text-decoration: none;
}
.contact-list a:hover { color: var(--green-text); text-decoration: underline; text-underline-offset: 3px; }
.contact-list a.is-green { color: var(--green-text); }

.company {
  margin-top: clamp(28px, 2.6vw, 38px);
  padding-top: clamp(24px, 2.2vw, 32px);
  border-top: 1px solid var(--line);
}
.company__title {
  font-size: clamp(1.125rem, 1.2vw, 18px);
  font-weight: 700;
  color: var(--navy);
}
.company dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 14px 0 0;
  font-size: var(--fs-body);
}
.company dt { color: var(--grey); }
.company dd { margin: 0; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }

.offer-cta {
  margin-top: clamp(28px, 2.6vw, 38px);
  padding: clamp(26px, 2.6vw, 38px);
  border-radius: var(--radius-md);
  background: var(--green) url("../img/karta-hrvatske.webp") 70% 30% / 260% auto no-repeat;
  color: var(--white);
}
.offer-cta__title {
  font-size: clamp(1.5rem, 1.9vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.offer-cta__text {
  margin-top: 12px;
  font-size: clamp(1.0625rem, 1.1vw, 17px);
  font-weight: 500;
  line-height: 1.45;
}
.offer-cta__list {
  display: grid;
  gap: 6px;
  margin: 14px 0 22px;
  padding: 0;
  list-style: none;
  font-weight: 600;
}
.offer-cta__list li { display: flex; gap: 10px; align-items: baseline; }
.offer-cta__list li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-2px);
}

/* ==========================================================================
   Tekstualne stranice (pravne)
   ========================================================================== */
.legal { padding: clamp(48px, 5vw, 73px) 0 var(--section-y); background: var(--white); }
.legal__body { max-width: 860px; }
.legal__body h2 {
  margin: 2.2em 0 .6em;
  font-size: clamp(1.375rem, 1.6vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--navy);
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body p,
.legal__body li {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--grey);
}
.legal__body p + p { margin-top: .9em; }
.legal__body ul { margin: .6em 0 0; padding-left: 1.25em; }
.legal__body li + li { margin-top: .35em; }
.legal__body a { color: var(--green-text); font-weight: 600; }
.legal__body strong { color: var(--navy); font-weight: 600; }
.legal__updated { margin-top: 2.5em; font-size: .9375rem; color: var(--grey); }

.center-page { padding: var(--section-y) 0; background: var(--white); text-align: center; }
.center-page .prose p { margin-inline: auto; }
.center-page .btn { margin-top: 32px; }

/* ==========================================================================
   Podnožje
   ========================================================================== */
.site-footer {
  padding: clamp(48px, 4.6vw, 67px) 0;
  background: var(--black);
  color: var(--white);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}
.site-footer__logo { display: block; line-height: 0; }
.site-footer__logo img { width: clamp(120px, 8.3vw, 121px); height: auto; }
.site-footer__meta { display: grid; justify-items: end; gap: clamp(14px, 1.2vw, 18px); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(.9375rem, .9vw, 15px);
  font-weight: 600;
  letter-spacing: -.01em;
}
.footer-links li + li::before {
  content: "|";
  margin: 0 .6em;
  opacity: .9;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__copy {
  font-size: clamp(.9375rem, .9vw, 15px);
  font-weight: 600;
  letter-spacing: -.01em;
}
@media (max-width: 760px) {
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__meta { justify-items: start; }
  .footer-links { flex-direction: column; justify-content: flex-start; gap: 10px; }
  .footer-links li + li::before { display: none; }
}

/* ==========================================================================
   Podstranice: zajednički blokovi (usluge, Distri Tracker®, karijere, objave)
   ========================================================================== */
.crumbs { margin-bottom: clamp(14px, 1.4vw, 20px); }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(.875rem, .85vw, 14px);
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
}
.crumbs li + li::before { content: "/"; margin: 0 .55em; opacity: .6; }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--white); }

.page-hero--tall { padding-top: clamp(124px, 12.5vw, 183px); }
.page-hero--tall .page-hero__lead { max-width: 36ch; }
.page-hero__cta { margin-top: clamp(24px, 2.4vw, 35px); }
.post-meta--hero { margin-top: 18px; color: rgba(255, 255, 255, .8); }
.post-meta--hero .post-meta__cat { background: var(--green); color: var(--white); }

.section { padding: var(--section-y) 0; }
.section--white { background: var(--white); }
.section-intro { max-width: 46em; margin-bottom: clamp(32px, 3.6vw, 53px); }
.section-intro--center { margin-inline: auto; text-align: center; }
.section-intro__text {
  margin-top: clamp(12px, 1.1vw, 16px);
  font-size: clamp(1.125rem, 1.35vw, 20px);
  line-height: 1.45;
  color: var(--grey);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.split--center { align-items: center; }
.split__media { overflow: hidden; border-radius: var(--radius-lg); background: var(--green); }
.split__media img { width: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist {
  display: grid;
  gap: 12px;
  margin: clamp(22px, 2vw, 29px) 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 38px;
  font-size: clamp(1.0625rem, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .05em;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.benefits__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benefit__text a, .text-link, .section-head__link a {
  color: var(--green-text);
  font-weight: 600;
  text-underline-offset: 3px;
}
.section-head__link { margin-top: 14px; text-align: center; font-size: clamp(1rem, 1.05vw, 16px); }
.text-link { text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Koraci */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.step {
  position: relative;
  padding: clamp(26px, 2.4vw, 35px);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 6px 30px rgba(20, 30, 25, .07);
}
.section--white .step { background: var(--bg); box-shadow: none; }
.step__num {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.375rem;
  font-weight: 700;
}
.step__title {
  margin-top: clamp(18px, 1.6vw, 23px);
  font-size: clamp(1.375rem, 1.6vw, 23px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--navy);
}
.step__text { margin-top: 10px; font-size: var(--fs-body); line-height: 1.55; color: var(--grey); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Lokacije (chips) */
.chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 1.6vw, 23px) clamp(18px, 1.8vw, 26px);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 6px 30px rgba(20, 30, 25, .07);
  font-size: clamp(1.0625rem, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.chips .benefit__icon { flex: none; width: 36px; }
@media (max-width: 900px) { .chips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .chips { grid-template-columns: 1fr; } }

/* Česta pitanja */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 73px); align-items: start; }
.faq__list { display: grid; gap: 14px; }
.faq__item {
  border-radius: 20px;
  background: var(--bg);
  transition: background-color .2s ease;
}
.section:not(.section--white) .faq__item { background: var(--white); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(18px, 1.6vw, 23px) clamp(20px, 2vw, 29px);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 {
  font-size: clamp(1.125rem, 1.3vw, 19px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--navy);
}
.faq__icon {
  position: relative;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2.5px;
  border-radius: 2px;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 clamp(20px, 2vw, 29px) clamp(20px, 1.8vw, 26px); }
.faq__answer p { max-width: 46em; font-size: var(--fs-body); line-height: 1.6; color: var(--grey); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* CTA traka — varijante pozadine */
.cta-band--bg { background: transparent; }
.cta-band--white { background: var(--white); }

/* Kartice usluga s poveznicom (cijela kartica je klikabilna) */
.service--link { position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.service--link:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(46, 90, 25, .25); }
.service__title a { color: inherit; text-decoration: none; }
.service__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.service__title a:focus-visible { outline: none; }
.service--link:focus-within { outline: 3px solid var(--orange); outline-offset: 4px; }
.service__more {
  display: inline-flex;
  gap: .4em;
  margin-top: clamp(16px, 1.6vw, 23px);
  font-size: clamp(1rem, 1.1vw, 16px);
  font-weight: 700;
}
.service__more span { transition: transform .2s ease; }
.service--link:hover .service__more span { transform: translateX(5px); }

/* Objave */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 38px);
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20, 30, 25, .12); }
.post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2vw, 29px); }
.post-card__title {
  margin-top: 12px;
  font-size: clamp(1.375rem, 1.55vw, 23px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { margin-top: 12px; font-size: clamp(1rem, 1.05vw, 16px); line-height: 1.55; color: var(--grey); }
.post-card__more { margin-top: auto; padding-top: 18px; color: var(--green-text); font-weight: 700; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .9375rem; color: var(--grey); }
.post-meta__cat {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(74, 157, 43, .14);
  color: var(--green-text);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (max-width: 1100px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

.article__inner { max-width: 860px; }
.article__cover { overflow: hidden; margin-bottom: clamp(32px, 3.4vw, 50px); border-radius: var(--radius-md); background: var(--green); }
.article__cover img { width: 100%; }
.article__body .lead {
  font-size: clamp(1.1875rem, 1.45vw, 21px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}
.article__body h2 { margin-top: 1.8em; }
.article__back { margin-top: clamp(32px, 3vw, 44px); }
.article__back a { color: var(--green-text); font-weight: 700; text-decoration: none; }
.article__back a:hover { text-decoration: underline; }

/* Forma — padajući izbornik i kvačice */
.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 14px 44px 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  font-size: 1.0625rem;
  color: var(--navy);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(74, 157, 43, .18); }
.field.has-error select { border-color: #d93a1f; background: #fff7f5; }
fieldset.field { margin-inline: 0; padding: 0; border: 0; min-width: 0; }
.options__list { display: flex; flex-wrap: wrap; gap: 10px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.option--day span { justify-content: center; min-width: 58px; padding: 10px 12px; }
.option:hover span { border-color: #c4ccc8; }
.option input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.option input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.options.has-error .option span { border-color: #d93a1f; }

.contact-info .checklist { margin-top: clamp(20px, 1.8vw, 26px); }
.link-white { color: var(--white); font-weight: 700; }

/* Podnožje — poveznice */
.site-footer__inner { align-items: flex-start; }
.site-footer__brand { display: grid; gap: clamp(18px, 1.6vw, 23px); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(16px, 1.6vw, 23px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(.9375rem, .9vw, 15px);
  font-weight: 500;
}
.footer-nav a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .footer-nav { flex-direction: column; }
}
.stat--list .stat__label { margin-top: 0; }
.checklist--white li { color: var(--white); }
.checklist--white li::before { background-color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%234A9D2B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Podnožje u dva reda (logo + poveznice / pravne poveznice + copyright) */
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: normal; gap: clamp(24px, 2.4vw, 36px); }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: clamp(20px, 2vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.footer-links { justify-content: flex-start; }
@media (max-width: 760px) {
  .site-footer__brand, .site-footer__meta { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Kartice s fotografijom (usluge na naslovnici, „Ljudi koje volimo“)
   ========================================================================== */
:root { --green-light: #57c62d; }
.hl { color: var(--green-light); }

.services { padding-bottom: clamp(64px, 7vw, 110px); }
.photo-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: #121316;
  color: var(--white);
  box-shadow: 0 18px 50px rgba(20, 30, 25, .18);
}
.photo-card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 11, 14, .94) 0%, rgba(10, 11, 14, .78) 24%, rgba(10, 11, 14, .25) 50%, rgba(10, 11, 14, 0) 64%);
  pointer-events: none;
}
.photo-card--service { aspect-ratio: 556 / 812; }
.photo-card__body { padding: clamp(34px, 4.4vw, 64px) clamp(26px, 3.9vw, 57px); }
.photo-card__title {
  font-size: var(--fs-card-title);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.photo-card__title a { color: inherit; text-decoration: none; }
.photo-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.photo-card__title a:focus-visible { outline: none; }
.photo-card:focus-within { outline: 3px solid var(--orange); outline-offset: 4px; }
.photo-card__text {
  max-width: 25em;
  margin-top: clamp(16px, 1.8vw, 28px);
  font-size: clamp(1.0625rem, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.02em;
}
.photo-card--service:hover .photo-card__img { transform: scale(1.04); }

.team { padding-bottom: var(--section-y); }
.photo-card--team { aspect-ratio: 1170 / 767; min-height: 520px; }
.photo-card--team .photo-card__img { object-position: center bottom; }
.photo-card--team::before {
  background: linear-gradient(180deg, rgba(10, 11, 14, .9) 0%, rgba(10, 11, 14, .7) 22%, rgba(10, 11, 14, .2) 44%, rgba(10, 11, 14, 0) 58%);
}
.photo-card__body--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.photo-card__title--lg { font-size: var(--fs-display); }
.photo-card__body--center .photo-card__text { max-width: 36em; }
.photo-card__cta { position: relative; z-index: 2; margin-top: clamp(20px, 2vw, 32px); }

@media (max-width: 760px) {
  .photo-card--service { aspect-ratio: 4 / 5.4; }
  .photo-card--team { aspect-ratio: auto; min-height: 560px; }
  .photo-card--team .photo-card__img { object-position: 45% bottom; }
}
.photo-card--service .photo-card__title .hl { display: block; }

/* Prednosti u bijelim boxovima s vrlo laganom sjenom */
.benefits__grid { gap: clamp(20px, 2.2vw, 32px); align-items: stretch; }
.benefit {
  max-width: none;
  padding: clamp(28px, 2.8vw, 42px) clamp(24px, 2.6vw, 38px) clamp(30px, 3vw, 44px);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 2px 6px rgba(20, 30, 25, .03), 0 10px 32px rgba(20, 30, 25, .06);
}
.section--white .benefit { box-shadow: 0 2px 6px rgba(20, 30, 25, .04), 0 10px 32px rgba(20, 30, 25, .08); }
@media (max-width: 900px) {
  .benefits__grid { gap: 16px; }
  .benefit { max-width: none; }
}

/* Prednosti su ispod usluga */
.benefits { padding: 0 0 clamp(64px, 7vw, 110px); }

/* Logotipi klijenata: 8 u redu, optički izjednačene veličine (--w = širina u px) */
.clients__list {
  --ls: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
}
.clients__list li { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.clients__list img { width: calc(var(--w, 80) * var(--ls) * 1px); max-width: none; height: auto; }
@media (max-width: 1100px) {
  .clients__list {
    --ls: .9;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 36px;
    column-gap: 24px;
  }
}
@media (max-width: 560px) {
  .clients__list { --ls: .66; column-gap: 12px; row-gap: 28px; }
}
/* 7 logotipa: na manjim ekranima drugi red centriran */
@media (max-width: 1100px) {
  .clients__list { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0; }
  .clients__list li { flex: 0 0 25%; }
}
@media (max-width: 560px) {
  .clients__list { --ls: .55; row-gap: 26px; }
  .clients__list li { padding: 0 4px; }
}
@media (max-width: 1100px) {
  .clients__list li { min-width: 0; }
  .clients__list img { max-width: 100%; }
}

/* ==========================================================================
   Polja obrazaca: bijela pozadina, čisti crni rub
   ========================================================================== */
.form { margin-top: 0; }
.field input,
.field textarea,
.field select {
  border: 1.5px solid #000;
  background: var(--white);
}
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: #000; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #000;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(74, 157, 43, .25);
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #d93a1f; background: var(--white); }
.option span { border-color: #000; background: var(--white); }
.option:hover span { border-color: #000; }
.consent input { accent-color: #000; }

/* Kontakt podaci (desni stupac) */
.contact-list--plain { margin-top: clamp(4px, .6vw, 10px); }
.contact-list--plain a { font-size: clamp(1.125rem, 1.3vw, 1.375rem); }
.company--plain { margin-top: clamp(24px, 2.2vw, 36px); }
.company--plain p,
.company--plain address {
  font-size: var(--fs-body);
  font-style: normal;
  line-height: 1.6;
  color: var(--navy);
}
.company--plain .company__name { font-weight: 700; }
.company--plain a { color: inherit; text-decoration: none; }
.company--plain a:hover { color: var(--green-text); text-decoration: underline; text-underline-offset: 3px; }

/* Karijere: forma na prvom mjestu, puna širina */
.section--form { padding-top: clamp(40px, 4.4vw, 72px); }
.form-card--wide { max-width: none; }
@media (min-width: 900px) {
  .form-card--wide { padding: clamp(32px, 3.4vw, 52px) clamp(32px, 3.8vw, 56px); }
}
.form-card__intro + .form { margin-top: clamp(22px, 2.2vw, 34px); }

/* ==========================================================================
   O nama — jednostavan tekst uz fotografiju
   ========================================================================== */
.story { padding: clamp(48px, 5vw, 88px) 0 var(--section-y); background: var(--white); }
.story__inner { max-width: 860px; }
.story__title,
.story__inner h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy);
}
.story__inner h2 { margin-top: clamp(36px, 3.4vw, 56px); }
.story__inner p {
  margin-top: 16px;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--grey);
}
.story__inner p strong { color: var(--navy); font-weight: 700; }
.story__lead { font-size: clamp(1.1875rem, 1.45vw, 1.5rem) !important; line-height: 1.55 !important; color: var(--navy) !important; }
.story__image {
  overflow: hidden;
  margin: clamp(32px, 3.4vw, 52px) 0 clamp(20px, 2vw, 32px);
  border-radius: var(--radius-md);
}
.story__image img { width: 100%; }
/* O nama: tekst čisto crn, bez podebljanja */
.story__title, .story__inner h2, .story__inner p, .story__lead { color: #000 !important; }
.story__inner p strong { font-weight: inherit; color: inherit; }
.story__inner p + p { margin-top: 1em; }
/* Kontakt: e-mail i telefon bez ikona, običnim tekstom */
.contact-list--plain { gap: 4px; margin-top: 0; }
.contact-list--plain a {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.6;
}
.company--plain { margin-top: clamp(18px, 1.6vw, 26px); padding-top: clamp(18px, 1.6vw, 26px); }

/* CTA gumbi: bez sjene i bez pomaka na hover */
.btn--orange,
.btn--orange:hover,
.btn--orange:active,
.btn--orange:focus { box-shadow: none; transform: none; }
.btn { transition: background-color .2s ease; }

/* Sav sivi tekst je čisto crn */
:root { --grey: #000; }

/* Naslovnica — hero: bez sjena, manji razmaci, podtekst bez razmaka slova */
.hero--video .hero__title,
.hero--video .hero__lead,
.hero__title,
.hero__lead { text-shadow: none; }
.hero__cta { box-shadow: none; }
.hero__lead { margin-top: clamp(12px, 1.2vw, 18px); letter-spacing: 0; }
.hero__cta { margin-top: clamp(20px, 2vw, 28px); }

/* O nama: naslov i podnaslov na sredini */
.page-hero--center .container { text-align: center; }
.page-hero--center .page-hero__lead { margin-inline: auto; }

/* Prednosti: zeleni lukovi (kao u heroju) u donjem desnom kutu boxa */
.benefit {
  position: relative;
  overflow: hidden;
  padding-right: clamp(64px, 6vw, 96px);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%234A9D2B' stroke-width='22'%3E%3Ccircle cx='128' cy='136' r='100'/%3E%3Ccircle cx='128' cy='136' r='48'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: clamp(96px, 8.5vw, 124px) auto;
}
@media (max-width: 900px) {
  .benefit { padding-right: clamp(24px, 6vw, 40px); padding-bottom: clamp(56px, 14vw, 80px); background-size: 92px auto; }
}
.benefit {
  padding-right: clamp(24px, 2.6vw, 38px);
  padding-bottom: clamp(76px, 7vw, 100px);
  background-size: clamp(84px, 7vw, 104px) auto;
}
@media (max-width: 900px) {
  .benefit { padding-bottom: 76px; background-size: 84px auto; }
}
/* Kartice usluga nisu poveznice: bez efekta na hover */
.photo-card--service:hover .photo-card__img { transform: none; }

/* ==========================================================================
   Podnožje: svijetla pozadina #F6F6F6 + zeleni lukovi kao u heroju
   ========================================================================== */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(120px, 12vw, 170px);
  background: #f6f6f6;
  color: #000;
}
.site-footer__arcs {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: clamp(150px, 14vw, 210px);
  height: auto;
  pointer-events: none;
}
.site-footer a,
.footer-nav a { color: #000; }
.footer-nav a:hover,
.footer-links a:hover { color: var(--green-text); }
.site-footer__meta { border-top-color: rgba(0, 0, 0, .14); }
.footer-links li + li::before { opacity: .5; }
.site-footer { padding-bottom: clamp(148px, 12vw, 180px); }
.site-footer__arcs { width: clamp(112px, 9vw, 140px); }

/* Podnožje: kontakt podaci */
.site-footer__brand {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px clamp(32px, 5vw, 72px);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px clamp(16px, 2vw, 28px);
  font-style: normal;
  font-size: clamp(.9375rem, .9vw, 1.0625rem);
  font-weight: 500;
  color: #000;
}
.footer-contact a { color: #000; text-decoration: none; }
.footer-contact a:hover { color: var(--green-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .site-footer__brand { grid-template-columns: auto 1fr; }
  .footer-nav { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
  .footer-contact { flex-direction: column; }
}
.story__inner--plain { max-width: none; } .story__inner--plain .story__title + .story__lead { margin-top: clamp(16px, 1.4vw, 22px); }

/* Naslovnica: manji razmak između logotipa klijenata i „Dođite do novih kupaca” */
.clients { padding-bottom: clamp(32px, 3vw, 48px); }
.coverage { padding-top: 0; }

/* Distri Tracker — poveznica na prijavu ispod videa */
.tracker__login { margin-top: clamp(20px, 2vw, 32px); text-align: center; font-size: clamp(16px, 1.1vw, 18px); color: #000; }
.tracker__login a { color: var(--green); font-weight: 600; text-underline-offset: 3px; }

/* ==========================================================================
   Gornja traka iznad navigacije (Login · FAQ · HR/EN)
   ========================================================================== */
.topbar {
  pointer-events: auto;
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin: 0 auto clamp(8px, .8vw, 12px);
  overflow: hidden;
  max-height: 40px;
  transition: max-height .25s ease, opacity .2s ease, margin .25s ease;
}
.topbar__links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(20px, 2.2vw, 32px);
  margin: 0;
  padding: 0 clamp(16px, 1.9vw, 28px) 0 0;
  list-style: none;
}
.topbar__links li { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.6; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.topbar__links a:hover { text-decoration-thickness: 2px; }
.topbar__links svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.topbar__lang a[aria-current] { text-decoration: none; font-weight: 600; }
.topbar__sep { opacity: .6; }
.topbar__soon { opacity: .6; cursor: default; }
.topbar a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; margin-bottom: 0; pointer-events: none; }

@media (max-width: 760px) {
  .topbar__links { justify-content: center; gap: 22px; padding: 0; }
  .topbar__links li { font-size: 14px; }
  .topbar__links svg { width: 16px; height: 16px; }
}

/* ==========================================================================
   Česta pitanja
   ========================================================================== */
.qa { padding: clamp(56px, 6vw, 96px) 0 clamp(72px, 7vw, 120px); background: #fff; }
.qa__inner { max-width: 880px; }
.qa__item { border-bottom: 1px solid #dcdcdc; }
.qa__item:first-child { border-top: 1px solid #dcdcdc; }
.qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 1.8vw, 26px) 0;
  cursor: pointer;
  list-style: none;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q h2 { margin: 0; font-size: clamp(18px, 1.4vw, 22px); font-weight: 500; line-height: 1.35; color: #000; }
.qa__q:hover h2 { color: var(--green); }
.qa__q:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.qa__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); }
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff; border-radius: 2px;
  transition: transform .2s ease;
}
.qa__icon::after { transform: rotate(90deg); }
.qa__item[open] .qa__icon::after { transform: rotate(0); }
.qa__a { padding: 0 52px clamp(22px, 2vw, 28px) 0; }
.qa__a p { margin: 0; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; color: #000; }
.qa__a a, .qa__more a { color: var(--green); font-weight: 500; text-underline-offset: 3px; }
.qa__more { margin: clamp(32px, 3vw, 44px) 0 0; font-size: clamp(16px, 1.15vw, 18px); color: #000; }
@media (max-width: 760px) { .qa__a { padding-right: 0; } }

/* gornja traka spušta navigaciju – više mjesta iznad naslova podstranica */
.page-hero { padding-top: calc(clamp(130px, 14.3vw, 209px) + 36px); }
@media (max-width: 420px) { .topbar__long { display: none; } }

/* Hero: CTA + poveznica na Distri Tracker */
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(24px, 2.4vw, 36px); margin-top: clamp(20px, 2vw, 28px); }
.hero__actions .hero__cta { margin-top: 0; }
.hero__link { color: #fff; font-size: clamp(16px, 1.15vw, 18px); font-weight: 600; white-space: nowrap; }
.hero__link span { display: inline-block; transition: transform .2s ease; }
.hero__link:hover span { transform: translateX(3px); }
.hero__link span { color: var(--green-light); }
.hero__link { text-decoration: underline; text-decoration-color: var(--green-light); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Hero: niži, u omjeru pozadinskog videa 1920 × 720 */
.hero {
  min-height: clamp(540px, 37.5vw, 720px);
  padding: clamp(150px, 12.2vw, 190px) 0 clamp(40px, 3.4vw, 64px);
}
.hero--video .hero__media video { object-position: 50% 50%; }
@media (min-width: 761px) {
  .hero__arcs { width: auto; height: 100%; }
  /* blago tamnjenje lijeve strane radi čitljivosti bijelog teksta na svijetlom videu */
  .hero--video .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .18) 40%, rgba(0, 0, 0, 0) 60%);
  }
}
@media (max-width: 760px) {
  .hero { min-height: 580px; max-height: none; padding-bottom: 40px; }
}

/* ==========================================================================
   SEO: ključna rečenica u heroju, gradovi, uvodni tekst, slogan u podnožju
   ========================================================================== */
.hero__kicker {
  margin: 0 0 clamp(10px, 1vw, 16px);
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
}
.hero__kicker::before {
  content: "";
  display: inline-block;
  width: 28px; height: 3px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--green-light);
  border-radius: 2px;
}
.coverage__cities {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  max-width: 860px;
  margin: clamp(22px, 2.2vw, 32px) auto 0;
  padding: 0;
  list-style: none;
}
.coverage__cities li {
  padding: 6px 14px;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}
.seo-intro { padding: var(--section-y) 0 0; }
.seo-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.seo-intro__title {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy);
}
.seo-intro__text p { margin: 0; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; color: #000; }
.seo-intro__text p + p { margin-top: 1em; }
.seo-intro__text a { color: var(--green-text); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 860px) { .seo-intro__inner { grid-template-columns: minmax(0, 1fr); } }
.footer-tagline { margin: 14px 0 0; max-width: 30em; font-size: 14px; line-height: 1.5; color: #000; }
.seo-intro { padding-bottom: clamp(16px, 2.5vw, 40px); }
.seo-intro { padding-top: clamp(24px, 3vw, 48px); }
