/* ==========================================================================
   KRALJ – ZAŠTITA d.o.o. – one-page site
   Brand tokens taken from the Kralj Zaštita design system (identity manual):
   orange #f05a28 (PANTONE 7626C), ink #2c2e35, Lato + Montserrat, squared
   corners, 3px orange rule. Layout and components are original to this page.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Montserrat:wght@600;700&display=swap");

/* ---------- tokens ---------- */
:root {
  --orange-50: #fdf0eb;
  --orange-100: #fbdcd1;
  --orange-200: #f8bda9;
  --orange-400: #f27a51;
  --orange-500: #f05a28;
  --orange-600: #d34617;
  --orange-700: #a93712;

  --ink-900: #191c22;
  --ink-800: #2c2e35;
  --ink-700: #3f434b;
  --ink-600: #5a5f68;
  --ink-500: #7c828d;
  --ink-400: #a1a7b2;
  --ink-300: #c3c8d1;
  --ink-200: #dfe2e8;
  --ink-100: #eef0f4;
  --ink-50: #f6f7fa;
  --white: #fff;

  --font-display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-accent: "Montserrat", "Inter", Arial, sans-serif;

  --container: 1240px;
  --gutter: 40px;
  --header-h: 78px;

  --radius-button: 2px;
  --radius-input: 2px;
  --radius-card: 3px;
  --rule: 3px;

  --shadow-sm: 0 1px 3px rgba(25, 28, 34, .09), 0 1px 2px rgba(25, 28, 34, .05);
  --shadow-md: 0 6px 18px rgba(25, 28, 34, .10), 0 1px 3px rgba(25, 28, 34, .06);
  --shadow-lg: 0 18px 44px rgba(25, 28, 34, .18), 0 3px 8px rgba(25, 28, 34, .07);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --focus-ring: 0 0 0 3px rgba(240, 90, 40, .40);
  --focus-ring-dark: 0 0 0 3px rgba(255, 255, 255, .48);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font: 400 17px/1.65 var(--font-body);
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink-900); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
figure, figcaption, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-xs, 2px); }
.on-dark :focus-visible { box-shadow: var(--focus-ring-dark); }
::selection { background: var(--orange-200); color: var(--ink-900); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--orange-500); color: #fff; padding: 12px 20px;
  font: 700 14px/1 var(--font-body); transition: top .18s var(--ease-out);
}
.skip-link:focus { top: 14px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 104px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--subtle { background: var(--ink-50); }
.section--ink { background: var(--ink-900); color: rgba(255, 255, 255, .78); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.eyebrow {
  font: 700 13px/1.15 var(--font-accent);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-600);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: var(--rule);
  background: var(--orange-500);
  flex: none;
}
.section--ink .eyebrow, .hero .eyebrow { color: var(--orange-400); }

h2.h-section {
  font: 900 clamp(30px, 3.4vw, 44px)/1.12 var(--font-display);
  letter-spacing: -.022em;
}
h3.h-card { font: 900 21px/1.25 var(--font-display); letter-spacing: -.012em; }

.lead { font-size: 19px; line-height: 1.62; color: var(--ink-600); }
.section--ink .lead { color: rgba(255, 255, 255, .74); }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head .lead { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 14px/1 var(--font-body);
  letter-spacing: .07em; text-transform: uppercase;
  padding: 17px 28px; min-height: 50px;
  border: 1px solid transparent; border-radius: var(--radius-button);
  cursor: pointer; text-align: center;
  transition: background-color .12s var(--ease-out), color .12s var(--ease-out),
              border-color .12s var(--ease-out), transform .12s var(--ease-out);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--orange-500); color: #fff; border-color: var(--orange-500); }
.btn--primary:hover { background: var(--orange-600); border-color: var(--orange-600); }
.btn--primary:active { background: var(--orange-700); border-color: var(--orange-700); transform: translateY(1px); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .40); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .10); border-color: #fff; }
.btn--ghost-light:active { transform: translateY(1px); }
.btn--ink { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.btn--ink:hover { background: #000; border-color: #000; }
.btn--outline-ink { background: transparent; color: var(--ink-900); border-color: var(--ink-800); }
.btn--outline-ink:hover { background: var(--ink-100); }
.btn--white { background: #fff; color: var(--ink-900); border-color: #fff; }
.btn--white:hover { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.btn--sm { padding: 13px 20px; min-height: 42px; font-size: 12.5px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: var(--ink-900);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  transition: box-shadow .2s var(--ease-out);
}
.header.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.header__inner {
  display: flex; align-items: center; gap: 20px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 16px; flex: none; }
.brand img { height: 46px; width: auto; }
.brand__tag {
  font: 700 10.5px/1.35 var(--font-accent);
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .60);
  padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .20);
  max-width: 168px;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: block; position: relative;
  padding: 10px 7px; white-space: nowrap;
  font: 700 12px/1 var(--font-body);
  letter-spacing: .03em; text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
  transition: color .12s var(--ease-out);
}
.nav__link::after {
  content: ""; position: absolute; left: 7px; right: 7px; bottom: -1px;
  height: var(--rule); background: var(--orange-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .18s var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 14px/1 var(--font-body); color: #fff; white-space: nowrap;
}
.header__phone svg { width: 16px; height: 16px; color: var(--orange-500); }
.header__phone:hover { color: var(--orange-400); }

.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-button); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 20px; height: 2px; background: #fff; position: relative;
  transition: background .12s var(--ease-out);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff;
  transition: transform .2s var(--ease-out), top .2s var(--ease-out);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 89;
  background: var(--ink-900);
  padding: 28px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.mobile-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a.mlink {
  display: block; padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font: 900 20px/1.2 var(--font-display); color: #fff; letter-spacing: -.012em;
}
.mobile-nav a.mlink:active { color: var(--orange-400); }
.mobile-nav .btn { margin-top: 28px; }
.mobile-nav__contact {
  margin-top: 24px; font-size: 15px; color: rgba(255, 255, 255, .66);
}
.mobile-nav__contact a { color: #fff; font-weight: 700; }
body.nav-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink-900);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(25, 28, 34, .55) 0%, rgba(25, 28, 34, 0) 26%, rgba(25, 28, 34, .55) 78%, var(--ink-900) 100%),
    linear-gradient(94deg, rgba(25, 28, 34, .96) 0%, rgba(25, 28, 34, .90) 32%, rgba(25, 28, 34, .62) 60%, rgba(25, 28, 34, .34) 100%);
}
.hero__inner { padding: clamp(72px, 9vw, 132px) 0 clamp(72px, 8vw, 116px); max-width: 780px; }
.hero h1 {
  color: #fff;
  font: 900 clamp(34px, 5.1vw, 62px)/1.06 var(--font-display);
  letter-spacing: -.024em;
  margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--orange-500); }
.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6;
  color: rgba(255, 255, 255, .82); max-width: 600px;
}
.hero__points { margin: 34px 0 40px; display: grid; gap: 13px; }
.hero__points li {
  display: flex; gap: 13px; align-items: flex-start;
  font: 700 16px/1.45 var(--font-body); color: rgba(255, 255, 255, .94);
}
.hero__points svg { width: 20px; height: 20px; flex: none; color: var(--orange-500); margin-top: 1px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* trust bar */
.trustbar { background: var(--ink-900); border-top: 1px solid rgba(255, 255, 255, .10); }
.trustbar__list {
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.trustbar__list li {
  display: flex; align-items: center; gap: 11px;
  padding: 22px 22px;
  border-left: 1px solid rgba(255, 255, 255, .10);
  font: 700 13.5px/1.3 var(--font-body); color: rgba(255, 255, 255, .90);
}
.trustbar__list li:first-child { border-left: 0; padding-left: 0; }
.trustbar__list svg { width: 22px; height: 22px; flex: none; color: var(--orange-500); }

/* ---------- claims strip ---------- */
.claims { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.claims > div {
  padding: 0 34px;
  border-left: 1px solid var(--ink-200);
}
.claims > div:first-child { border-left: 0; padding-left: 0; }
.claims > div:last-child { padding-right: 0; }
.claims dt {
  font: 700 12px/1.2 var(--font-accent); letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange-600); margin-bottom: 14px;
}
.claims dd {
  margin: 0; font: 700 18px/1.42 var(--font-display);
  letter-spacing: -.012em; color: var(--ink-900);
}

/* ---------- o nama ---------- */
.about { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: start; }
.about__copy p + p { margin-top: 20px; }
.about__figure { position: relative; padding-left: 22px; }
.about__figure::before {
  content: ""; position: absolute; left: 0; top: 34px; bottom: 34px;
  width: 14px; background: var(--orange-500);
}
.about__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }
.about__figure figcaption {
  margin-top: 14px; font-size: 13.5px; color: var(--ink-500);
}

.team { margin-top: 84px; }
.team__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.team__head h3 { font: 900 24px/1.2 var(--font-display); letter-spacing: -.015em; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  background: #fff; border: 1px solid var(--ink-200); border-top: var(--rule) solid var(--orange-500);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  padding: 26px 24px 28px;
  transition: box-shadow .18s var(--ease-out), border-color .18s var(--ease-out);
}
.tcard:hover { box-shadow: var(--shadow-md); border-color: var(--ink-300); border-top-color: var(--orange-500); }
.tcard__mono {
  width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--ink-900); color: #fff;
  font: 900 18px/1 var(--font-display); letter-spacing: .02em;
  margin-bottom: 20px;
}
.tcard__name { font: 900 17.5px/1.28 var(--font-display); letter-spacing: -.01em; color: var(--ink-900); }
.tcard__deg { margin-top: 5px; font-size: 13px; color: var(--ink-500); }
.tcard__role {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ink-100);
  font-size: 15px; line-height: 1.5; color: var(--ink-700);
}

/* ---------- usluge ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.scard {
  background: #fff; border: 1px solid var(--ink-200); border-top: var(--rule) solid var(--orange-500);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  padding: 32px 30px 34px;
  display: flex; flex-direction: column;
  transition: box-shadow .18s var(--ease-out), transform .18s var(--ease-out);
}
.scard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.scard__icon { color: var(--orange-500); margin-bottom: 22px; }
.scard__icon svg { width: 34px; height: 34px; }
.scard h3 { margin-bottom: 10px; }
.scard__sum { font-size: 15.5px; line-height: 1.55; color: var(--ink-500); font-style: italic; }
.scard__list { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--ink-100); display: grid; gap: 11px; }
.scard__list li { display: flex; gap: 11px; font-size: 15.5px; line-height: 1.5; color: var(--ink-700); }
.scard__list svg { width: 17px; height: 17px; flex: none; color: var(--orange-500); margin-top: 4px; }

.scard--wide {
  grid-column: span 3;
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-900); border-color: var(--ink-900);
  color: rgba(255, 255, 255, .80);
}
.scard--wide::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("img/pausal-1400.webp") center 38% / cover no-repeat;
}
.scard--wide::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(96deg, rgba(25, 28, 34, .97) 0%, rgba(25, 28, 34, .93) 46%, rgba(25, 28, 34, .62) 100%);
}
.scard--wide:hover { transform: none; box-shadow: none; }
.scard--wide h3 { color: #fff; font-size: 24px; }
.scard--wide .scard__sum { color: var(--orange-200); }
.scard--wide .scard__list { border-top-color: rgba(255, 255, 255, .18); grid-template-columns: 1fr 1fr; gap: 11px 32px; }
.scard--wide .scard__list li { color: rgba(255, 255, 255, .88); }
.scard--wide .scard__inner { max-width: 640px; }

/* orange CTA band */
.ctaband { background: var(--orange-500); color: #fff; padding: 56px 0; }
.ctaband__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.ctaband p.k { font: 900 clamp(24px, 2.6vw, 32px)/1.2 var(--font-display); letter-spacing: -.018em; color: #fff; }
.ctaband p.s { margin-top: 10px; font-size: 17px; color: rgba(255, 255, 255, .92); }

/* ---------- za koga radimo ---------- */
.sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.sectors li {
  background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-card);
  padding: 32px 16px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 18px;
  font: 700 14.5px/1.35 var(--font-display); color: var(--ink-900);
  transition: border-color .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.sectors li:hover { border-color: var(--orange-500); box-shadow: var(--shadow-sm); }
.sectors svg { width: 32px; height: 32px; color: var(--orange-500); }
.sectors-note { margin-top: 24px; font-size: 16px; color: var(--ink-500); }

.highlight {
  margin-top: 64px;
  display: grid; grid-template-columns: 1.15fr .85fr;
  background: var(--ink-900); border-radius: var(--radius-card); overflow: hidden;
}
.highlight__body { padding: 56px 56px 58px; }
.highlight__body h3 {
  color: #fff; font: 900 clamp(24px, 2.4vw, 32px)/1.16 var(--font-display);
  letter-spacing: -.02em; margin-bottom: 20px;
}
.highlight__body p { color: rgba(255, 255, 255, .80); font-size: 17.5px; line-height: 1.62; }
.highlight__media { position: relative; min-height: 340px; }
.highlight__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- zakonske obveze ---------- */
.obveze { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.infobox {
  margin-top: 32px; padding: 24px 26px;
  background: rgba(255, 255, 255, .05);
  border-left: var(--rule) solid var(--orange-500);
  display: flex; gap: 16px;
}
.infobox svg { width: 24px; height: 24px; flex: none; color: var(--orange-500); margin-top: 2px; }
.infobox p { color: rgba(255, 255, 255, .86); font-size: 16.5px; line-height: 1.58; }
.obveze .btn { margin-top: 34px; }

.checkcard {
  background: #fff; border-top: var(--rule) solid var(--orange-500);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  padding: 38px 36px 40px;
}
.checkcard h3 {
  font: 700 12px/1.2 var(--font-accent); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 26px;
}
.checkcard ul { display: grid; gap: 0; }
.checkcard li {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--ink-100);
  font: 700 16.5px/1.45 var(--font-display); color: var(--ink-900);
}
.checkcard li:last-child { border-bottom: 0; padding-bottom: 0; }
.checkcard li:first-child { padding-top: 0; }
.checkcard svg { width: 20px; height: 20px; flex: none; color: var(--orange-500); margin-top: 2px; }

.checkcard__note {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ink-100);
  font: 400 15px/1.5 var(--font-body); color: var(--ink-500);
}

.propisi { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .16); }
.propisi summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0;
  font: 900 19px/1.3 var(--font-display); color: #fff; letter-spacing: -.012em;
}
.propisi summary::-webkit-details-marker { display: none; }
.propisi summary:hover { color: var(--orange-400); }
.propisi summary svg { width: 22px; height: 22px; flex: none; transition: transform .2s var(--ease-out); color: var(--orange-500); }
.propisi[open] summary svg { transform: rotate(180deg); }
.propisi__body { padding-bottom: 34px; }
.propisi__body ul { columns: 2; column-gap: 56px; }
.propisi__body li {
  break-inside: avoid; padding: 9px 0 9px 20px; position: relative;
  font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .74);
}
.propisi__body li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 2px; background: var(--orange-500);
}
.propisi__note { margin-top: 20px; font-size: 13.5px; color: rgba(255, 255, 255, .48); }

/* ---------- učilište ---------- */
.uciliste { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.uciliste__figure { position: relative; padding-bottom: 20px; }
.uciliste__figure::after {
  content: ""; position: absolute; left: 0; width: 42%; bottom: 0; height: 14px; background: var(--orange-500);
}
.uciliste__figure img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius-card); }
.programs {
  margin: 34px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px;
  border-top: 1px solid var(--ink-200);
}
.programs li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid var(--ink-200);
  font: 700 16px/1.45 var(--font-display); color: var(--ink-900);
}
.programs svg { width: 18px; height: 18px; flex: none; color: var(--orange-500); margin-top: 3px; }
.partners { margin-bottom: 32px; }
.partners span.lbl {
  display: block; margin-bottom: 12px;
  font: 700 12px/1.2 var(--font-accent); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500);
}
.partners__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 9px 15px;
  background: var(--ink-100); color: var(--ink-800);
  font: 700 13.5px/1.2 var(--font-body); border-radius: var(--radius-card);
}

/* ---------- proces ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { border-top: var(--rule) solid var(--orange-500); padding-top: 26px; }
.step h3 { font: 900 22px/1.2 var(--font-display); letter-spacing: -.015em; margin-bottom: 12px; }
.step p { font-size: 16px; line-height: 1.58; color: var(--ink-600); }
.step p.step__n {
  font: 900 36px/1 var(--font-display); color: var(--orange-500);
  letter-spacing: -.03em; margin-bottom: 16px;
}

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 48px); }
.faq-aside .lead { margin-top: 18px; }
.faq-aside .btn { margin-top: 28px; }
.faq { border-top: 1px solid var(--ink-200); }
.faq details { border-bottom: 1px solid var(--ink-200); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font: 900 18.5px/1.4 var(--font-display); color: var(--ink-900); letter-spacing: -.012em;
  transition: color .12s var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-600); }
.faq summary svg {
  width: 22px; height: 22px; flex: none; color: var(--orange-500); margin-top: 2px;
  transition: transform .22s var(--ease-out);
}
.faq details[open] summary svg { transform: rotate(180deg); }
.faq__a { padding: 0 60px 26px 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-600); }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: .92fr 1.08fr; gap: 68px; align-items: start; }
.contact__lead { margin-bottom: 36px; }
.people { border-top: 1px solid rgba(255, 255, 255, .16); }
.person {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: baseline;
  padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.person__name { font: 700 16px/1.35 var(--font-display); color: #fff; }
.person__links { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.person a { font-size: 14.5px; color: rgba(255, 255, 255, .74); transition: color .12s var(--ease-out); white-space: nowrap; }
.person a:hover { color: var(--orange-400); }
.person a.tel { font-weight: 700; color: #fff; }
.office { margin-top: 34px; display: grid; gap: 14px; }
.office div { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: rgba(255, 255, 255, .82); }
.office svg { width: 20px; height: 20px; flex: none; color: var(--orange-500); margin-top: 3px; }
.office a:hover { color: var(--orange-400); }

.formcard {
  background: #fff; border-top: var(--rule) solid var(--orange-500);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  padding: 42px 42px 46px; box-shadow: var(--shadow-lg);
}
.formcard h3 {
  font: 900 22px/1.25 var(--font-display); letter-spacing: -.015em;
  color: var(--ink-900); margin-bottom: 28px;
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field > label, .fieldset > legend {
  display: block; margin-bottom: 8px;
  font: 700 13px/1.2 var(--font-body); color: var(--ink-800); letter-spacing: .01em;
}
.field .req { color: var(--orange-600); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--font-body); color: var(--ink-900);
  padding: 13px 15px; background: #fff;
  border: 1px solid var(--ink-300); border-radius: var(--radius-input);
  transition: border-color .12s var(--ease-out), box-shadow .12s var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field textarea:focus { border-color: var(--orange-500); box-shadow: var(--focus-ring); outline: none; }
.field textarea { resize: vertical; min-height: 118px; }
.fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-700); cursor: pointer; }
.check input { flex: none; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--orange-500); cursor: pointer; }
.gdpr { margin: 6px 0 26px; font-size: 14.5px; line-height: 1.55; }
.gdpr a { color: var(--orange-600); text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-500); }
.form-error { display: none; margin-top: 16px; padding: 12px 16px; background: #fbeae8; border-left: 3px solid #da291c; font-size: 15px; color: #7f1a12; }
.form-error.is-on { display: block; }

.formcard.is-sent .form-body { display: none; }
.form-success { display: none; text-align: center; padding: 34px 10px 24px; }
.formcard.is-sent .form-success { display: block; }
.form-success svg { width: 52px; height: 52px; color: var(--orange-500); margin: 0 auto 22px; }
.form-success h4 {
  font: 900 22px/1.3 var(--font-display); letter-spacing: -.015em;
  color: var(--ink-900); margin-bottom: 12px;
}
.form-success p { font-size: 16.5px; color: var(--ink-600); }

.map { height: 400px; background: var(--ink-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* ---------- footer ---------- */
.footer { background: #12151a; color: rgba(255, 255, 255, .62); padding: 72px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 56px; padding-bottom: 56px; }
.footer__brand img { height: 62px; width: auto; margin-bottom: 22px; }
.footer__brand p { font-size: 15.5px; line-height: 1.6; max-width: 330px; }
.footer h4 {
  font: 700 12px/1.2 var(--font-accent); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .50); margin-bottom: 20px;
}
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 24px; }
.footer__links a { color: rgba(255, 255, 255, .72); transition: color .12s var(--ease-out); }
.footer__links a:hover { color: var(--orange-400); }
.footer__contact { display: grid; gap: 13px; }
.footer__contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; color: var(--orange-500); margin-top: 3px; }
.footer__contact a { color: rgba(255, 255, 255, .82); }
.footer__contact a:hover { color: var(--orange-400); }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 24px 0 30px;
  display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center;
  font-size: 13.5px; color: rgba(255, 255, 255, .46);
}
.footer__bar .sep { margin-left: auto; }
.footer__bar button {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: rgba(255, 255, 255, .60); font-size: 13.5px; text-decoration: underline; text-underline-offset: 2px;
}
.footer__bar button:hover { color: var(--orange-400); }

/* ---------- floating mobile call ---------- */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: none; align-items: center; gap: 10px;
  padding: 15px 20px; min-height: 54px;
  background: var(--orange-500); color: #fff;
  font: 700 14px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--radius-button); box-shadow: var(--shadow-lg);
}
.fab svg { width: 19px; height: 19px; }
.fab:active { background: var(--orange-700); transform: translateY(1px); }

/* ---------- dialogs ---------- */
dialog.doc {
  width: min(720px, calc(100vw - 32px)); max-height: 82vh; padding: 0;
  border: 0; border-top: var(--rule) solid var(--orange-500); border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow-lg); color: var(--ink-700);
}
dialog.doc::backdrop { background: rgba(25, 28, 34, .62); }
.doc__head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 32px; border-bottom: 1px solid var(--ink-200);
  position: sticky; top: 0; background: #fff;
}
.doc__head h3 { font: 900 20px/1.25 var(--font-display); letter-spacing: -.015em; }
.doc__close {
  background: none; border: 1px solid var(--ink-300); border-radius: 2px;
  width: 36px; height: 36px; cursor: pointer; color: var(--ink-700);
  font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.doc__close:hover { background: var(--ink-100); }
.doc__body { padding: 26px 32px 34px; font-size: 15.5px; line-height: 1.65; }
.doc__body h4 { font: 900 16px/1.3 var(--font-display); margin: 22px 0 8px; }
.doc__body h4:first-child { margin-top: 0; }
.doc__body p + p { margin-top: 12px; }
.doc__body ul { margin: 10px 0; display: grid; gap: 7px; }
.doc__body li { padding-left: 18px; position: relative; }
.doc__body li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--orange-500); }

/* ---------- scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .62s var(--ease-out), transform .62s var(--ease-out); transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1240px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .header__cta .btn { display: none; }
  .brand__tag { display: none; }
}

@media (max-width: 1080px) {
  :root { --gutter: 28px; }
  .section { padding: 84px 0; }
  .about, .uciliste, .obveze, .contact, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-aside { position: static; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .scard--wide { grid-column: span 2; }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .highlight { grid-template-columns: 1fr; }
  .highlight__media { min-height: 300px; order: -1; }
  .highlight__body { padding: 44px 36px 46px; }
  .trustbar__list { grid-template-columns: repeat(3, 1fr); }
  .trustbar__list li { padding: 18px 18px; border-top: 1px solid rgba(255, 255, 255, .10); }
  .trustbar__list li:nth-child(-n+3) { border-top: 0; }
  .trustbar__list li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .claims { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .claims > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .claims > div { padding: 0 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .about__figure { padding-left: 18px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 66px; }
  body { font-size: 16px; }
  .section { padding: 62px 0; }
  .section--tight { padding: 48px 0; }
  .sec-head { margin-bottom: 38px; }
  .lead { font-size: 17px; }

  .brand img { height: 38px; }
  .hero__media img { object-position: 64% 42%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(25, 28, 34, .70) 0%, rgba(25, 28, 34, .82) 46%, var(--ink-900) 100%),
      linear-gradient(96deg, rgba(25, 28, 34, .78) 0%, rgba(25, 28, 34, .40) 100%);
  }
  .hero__inner { padding: 56px 0 60px; }
  .hero__points { margin: 28px 0 32px; }
  .hero__actions .btn { width: 100%; }

  .trustbar__list { grid-template-columns: 1fr 1fr; }
  .trustbar__list li { padding: 15px 14px; font-size: 12.5px; gap: 9px; }
  .trustbar__list li:nth-child(3n+1) { border-left: 1px solid rgba(255, 255, 255, .10); padding-left: 14px; }
  .trustbar__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trustbar__list li:nth-child(-n+2) { border-top: 0; }
  .trustbar__list li:nth-child(3) { border-top: 1px solid rgba(255, 255, 255, .10); }
  .trustbar__list svg { width: 19px; height: 19px; }

  .claims { grid-template-columns: 1fr; gap: 26px; }
  .claims > div,
  .claims > div:first-child,
  .claims > div:nth-child(odd) {
    padding: 0 0 0 18px;
    border-left: var(--rule) solid var(--orange-500);
  }
  .claims dd { font-size: 17px; }
  .claims dt { margin-bottom: 10px; }

  .team { margin-top: 56px; }
  .team__grid { grid-template-columns: 1fr; gap: 16px; }
  .team__head { flex-direction: column; gap: 10px; }

  .services { grid-template-columns: 1fr; }
  .scard--wide { grid-column: span 1; }
  .scard--wide .scard__list { grid-template-columns: 1fr; }
  .scard { padding: 28px 24px 30px; }

  .sectors { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sectors li { padding: 20px 12px; font-size: 13.5px; }
  .highlight { margin-top: 44px; }
  .highlight__body { padding: 34px 24px 38px; }
  .highlight__media { min-height: 240px; }

  .checkcard { padding: 30px 24px 32px; }
  .propisi__body ul { columns: 1; }
  .propisi summary { font-size: 17px; padding: 22px 0; }

  .programs { grid-template-columns: 1fr; }
  .uciliste__figure::after { left: 22px; right: 22px; }

  .steps { grid-template-columns: 1fr; gap: 26px; }

  .faq summary { font-size: 17px; gap: 16px; }
  .faq__a { padding-right: 24px; }

  .formcard { padding: 30px 24px 34px; }
  .frow, .checks { grid-template-columns: 1fr; }
  .map { height: 300px; }

  .person { grid-template-columns: 1fr; }
  .person__links { align-items: flex-start; }

  .footer { padding-top: 54px; }
  .footer__grid { grid-template-columns: 1fr; gap: 38px; padding-bottom: 40px; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__bar .sep { margin-left: 0; }

  .fab { display: inline-flex; transition: opacity .18s ease, transform .18s ease; }
  /* Over the contact form the button covered part of "Pošaljite upit", so a
     thumb aimed at submit started a call instead. Step aside while the
     contact section is on screen. */
  .fab.is-away { opacity: 0; transform: translateY(10px); pointer-events: none; }
  body { padding-bottom: 0; }
  .ctaband { padding: 44px 0; }
  .ctaband__inner { gap: 26px; }
  .ctaband .btn { width: 100%; }
}

@media (max-width: 339px) {
  .sectors { grid-template-columns: 1fr; }
}

/* ==========================================================================
   V2-ONLY ADDITIONS
   Path selector, review placeholders, form promise line, compare badge.
   ========================================================================== */

/* ---------- path selector ---------- */
.paths { background: var(--ink-900); padding: 0 0 72px; }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pathcard {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--ink-800); border: 1px solid rgba(255, 255, 255, .12); border-top: var(--rule) solid var(--orange-500);
  padding: 28px 26px 26px;
  transition: background-color .16s var(--ease-out), transform .16s var(--ease-out), border-color .16s var(--ease-out);
}
.pathcard:hover { background: #34363e; transform: translateY(-2px); border-color: rgba(255, 255, 255, .22); }
.pathcard__icon { color: var(--orange-500); }
.pathcard__icon svg { width: 30px; height: 30px; }
.pathcard h3 { color: #fff; font: 900 19px/1.3 var(--font-display); letter-spacing: -.012em; margin-top: 4px; }
.pathcard p { color: rgba(255, 255, 255, .68); font-size: 15px; line-height: 1.5; flex: 1; }
.pathcard__go {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--orange-400);
}
.pathcard__go svg { width: 15px; height: 15px; }
.pathcard--urgent { border-top-color: var(--orange-500); background: #2c1712; border-color: rgba(240, 90, 40, .35); }
.pathcard--urgent:hover { background: #3a1d16; }
.pathcard--urgent .pathcard__icon { color: var(--orange-400); }

@media (max-width: 1080px) {
  .paths__grid { grid-template-columns: 1fr 1fr; }
  .pathcard--urgent { grid-column: span 2; }
}
@media (max-width: 760px) {
  .paths { padding-bottom: 48px; }
  .paths__grid { grid-template-columns: 1fr; gap: 14px; }
  .pathcard--urgent { grid-column: span 1; }
}

/* ---------- reviews (placeholder content) ---------- */
.reviews__flag {
  margin-top: 10px; display: inline-block;
  font: 700 12px/1.3 var(--font-body); letter-spacing: .02em;
  color: var(--orange-700); background: var(--orange-50);
  border: 1px dashed var(--orange-300); padding: 6px 12px; border-radius: var(--radius-card);
}
.reviews__stars {
  display: flex; align-items: center; gap: 14px; margin-bottom: 40px;
}
.reviews__score { font: 900 30px/1 var(--font-display); color: var(--ink-900); letter-spacing: -.02em; }
.reviews__starrow { display: inline-flex; gap: 3px; color: var(--orange-500); }
.reviews__starrow svg { width: 20px; height: 20px; }
.reviews__count { font-size: 14.5px; color: var(--ink-500); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rcard {
  background: #fff; border: 1px solid var(--ink-200); border-top: var(--rule) solid var(--orange-500);
  padding: 30px 28px 28px; margin: 0;
}
.rcard__quote { width: 26px; height: 26px; color: var(--orange-300); margin-bottom: 14px; }
.rcard__stars { display: inline-flex; gap: 2px; color: var(--orange-500); margin-bottom: 14px; }
.rcard__stars svg { width: 15px; height: 15px; }
.rcard blockquote { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--ink-700); font-style: italic; }
.rcard figcaption { font: 700 14.5px/1.4 var(--font-display); color: var(--ink-900); }
.rcard figcaption span { display: block; margin-top: 2px; font: 400 13.5px/1.4 var(--font-body); color: var(--ink-500); }

@media (max-width: 1080px) { .reviews__grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- form promise (replaces the old floating caption) ---------- */
.formcard__promise {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 4px 0 26px; padding: 14px 16px;
  background: var(--orange-50); border-left: var(--rule) solid var(--orange-500);
  font-size: 15px; line-height: 1.5; color: var(--ink-800);
}
.formcard__promise svg { width: 19px; height: 19px; flex: none; color: var(--orange-600); margin-top: 2px; }
.formcard__promise strong { color: var(--ink-900); }

/* ---------- cookie consent banner ---------- */
.cookiebar {
  position: fixed; right: 16px; bottom: 16px; z-index: 96;
  max-width: 440px;
  background: #fff; border-top: var(--rule) solid var(--orange-500);
  box-shadow: var(--shadow-lg);
}
.cookiebar__inner { display: block; padding: 24px 26px 22px; max-width: none; }
.cookiebar__body h3 { font: 900 18px/1.3 var(--font-display); letter-spacing: -.012em; margin-bottom: 10px; }
.cookiebar__body p { font-size: 14.5px; line-height: 1.55; color: var(--ink-600); }
.cookiebar__link {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  color: var(--orange-600); text-decoration: underline; text-underline-offset: 2px; font: inherit;
}
.cookiebar__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookiebar__actions .btn { flex: 1 1 auto; white-space: nowrap; }

@media (max-width: 760px) {
  .cookiebar { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .cookiebar__inner { padding: 20px 20px 18px; }
  .cookiebar__actions .btn { flex: 1 1 100%; }
}

/* ---------- cookie preference toggles ---------- */
.cookiepref { margin-top: 22px; border-top: 1px solid var(--ink-200); }
.cookiepref__row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--ink-200);
}
.cookiepref__row strong { display: block; font: 700 15.5px/1.3 var(--font-body); color: var(--ink-900); margin-bottom: 4px; }
.cookiepref__row p { font-size: 14px; line-height: 1.5; color: var(--ink-500); margin: 0; }
.cookiepref__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

.cswitch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; cursor: pointer; }
.cswitch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cswitch span {
  position: absolute; inset: 0; background: var(--ink-300); border-radius: 999px;
  transition: background-color .16s var(--ease-out);
}
.cswitch span::before {
  content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px;
  background: #fff; border-radius: 50%; transition: transform .16s var(--ease-out);
}
.cswitch input:checked + span { background: var(--orange-500); }
.cswitch input:checked + span::before { transform: translateX(18px); }
.cswitch input:focus-visible + span { box-shadow: var(--focus-ring); }
.cswitch--locked { cursor: default; }
.cswitch--locked input { cursor: default; }
.cswitch--locked input:checked + span { background: var(--ink-500); }

/* ---------- map consent gate ---------- */
.map { position: relative; }
/* hidden alone loses to the display:flex below, so say it explicitly */
.map__gate[hidden] { display: none; }

.map__gate {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: var(--ink-50); text-align: center; padding: 24px;
}
.map__gate p { max-width: 360px; font-size: 15px; line-height: 1.5; color: var(--ink-600); }

