/* =========================================================
   Roster Fiscal — landing stranica
   Boje i tipografija brenda
   ========================================================= */
:root {
  --navy: #1E2A36;
  --navy-2: #263545;
  --navy-line: #344658;
  --teal: #0F766E;
  --teal-dark: #0B5A54;
  --teal-soft: #E3F2F0;
  --teal-light: #8FD3CB;
  --red: #A01C3C;
  --red-soft: #F6E6EA;
  --bg: #F4F7F9;
  --white: #FFFFFF;
  --line: #E1E8EC;
  --text: #1E2A36;
  --muted: #3D4B57;
  --muted-2: #4A5864;
  --on-dark: #C7D2D9;

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  --radius: 20px;
  --container: 1200px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin: 0; color: inherit; }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 860px; }
.center { text-align: center; }
.text-teal { color: var(--teal); }
.text-red { color: var(--red); }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1px solid transparent;
  transition: background .2s, filter .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); }
.btn--ghost { background: var(--white); border-color: #C9D6DD; color: var(--navy); }
.btn--ghost:hover { background: #E6EEF1; color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); font-weight: 800; }
.btn--white:hover { background: #EAF4F2; color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn--block { display: flex; width: 100%; min-height: 54px; }

/* ---------- Navigacija ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__menu a:not(.btn) {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--navy); text-decoration: none;
}
.nav__menu a:not(.btn):hover { color: var(--teal); }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav__toggle span { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 130px;
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 40%, rgba(244,247,249,.85) 52%, rgba(244,247,249,0) 66%),
    url("assets/background.jpg");
  background-size: cover, cover;
  background-position: center, right center;
  background-repeat: no-repeat;
}
.hero__content { max-width: 600px; display: flex; flex-direction: column; gap: 26px; }
.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--white); border: 1px solid #DCE5EA;
  font-size: 14px; font-weight: 600;
}
.pill__dot { width: 22px; height: 22px; border-radius: 6px; background: var(--red); }
.hero h1 { font-size: 60px; font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; max-width: 560px; }
.stat { background: var(--white); border: 1px solid #DCE5EA; border-radius: 14px; padding: 16px 18px; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1.1; }
.stat strong small { font-size: 14px; font-weight: 700; }
.stat span { font-size: 14px; color: var(--muted-2); }

/* ---------- Sekcije ---------- */
.section { padding: 110px 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--navy); color: var(--white); }
.section__head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }
.section__head p { font-size: 18px; color: var(--muted); }
h2 { font-size: 42px; font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.eyebrow--light { color: var(--teal-light); }

/* ---------- Ikonice ---------- */
.icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: var(--white); border: 1px solid #DCE5EA; color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon--red { color: var(--red); }
.icon--teal-solid { background: var(--teal); border: 0; color: var(--white); width: 52px; height: 52px; border-radius: 14px; }
.icon--teal-solid svg { width: 28px; height: 28px; }
.icon--lg { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-soft); border: 0; }
.icon--lg svg { width: 28px; height: 28px; stroke-width: 1.8; }
.icon--red-soft { background: var(--red-soft); color: var(--red); }

/* ---------- Proizvodi ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(30, 42, 54, .10); }
.card h3 { font-size: 21px; font-weight: 700; }
.card p { font-size: 16px; color: var(--muted); }
.card--featured { grid-column: span 2; background: var(--navy); border-color: var(--navy); color: var(--white); padding: 34px; gap: 14px; }
.card--featured h3 { font-size: 28px; font-weight: 800; }
.card--featured p { color: #D3DCE2; font-size: 17px; max-width: 560px; }
.card__top { display: flex; align-items: center; gap: 14px; }
.card__top .eyebrow { font-size: 13px; letter-spacing: .12em; }

/* ---------- Split (tekst + sadržaj) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__text { display: flex; flex-direction: column; gap: 18px; }
.split__text p { font-size: 18px; color: var(--muted); }
.section--dark .split__text p { color: var(--on-dark); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 16px; padding: 24px; }
.tile h4 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.tile p { font-size: 15px; color: var(--on-dark); }

/* ---------- Cene ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card {
  background: var(--white); border: 2px solid var(--teal); border-radius: 24px;
  padding: 40px; display: flex; flex-direction: column; gap: 24px;
}
.price-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-card__head h3 { font-size: 22px; font-weight: 800; }
.badge { padding: 4px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-size: 13px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__amount { font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1; }
.price__unit { font-size: 18px; color: var(--muted); }
.price__note { font-size: 14px; color: #5A6874; margin-top: -12px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.checklist li { position: relative; padding-left: 32px; font-size: 16px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center / contain;
}

.calc {
  background: var(--navy); color: var(--white); border-radius: 24px;
  padding: 40px; display: flex; flex-direction: column; gap: 14px;
}
.calc h3 { font-size: 22px; font-weight: 800; }
.calc__sub { color: var(--on-dark); margin-bottom: 12px; }
.calc__label { font-size: 14px; font-weight: 600; color: var(--on-dark); letter-spacing: .04em; text-transform: uppercase; }
.calc__stepper { display: flex; align-items: center; gap: 12px; }
.step-btn {
  width: 52px; height: 52px; border-radius: 12px; border: 1px solid #3E5165;
  background: var(--navy-2); color: var(--white); font-size: 26px; cursor: pointer;
  font-family: var(--font-head); transition: background .2s;
}
.step-btn:hover { background: #31445A; }
#kase {
  width: 110px; height: 52px; border-radius: 12px; border: 1px solid #3E5165;
  background: var(--white); color: var(--navy); text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: 24px;
  -moz-appearance: textfield;
}
#kase::-webkit-outer-spin-button, #kase::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__result { border-top: 1px solid var(--navy-line); padding-top: 22px; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.calc__row { display: flex; justify-content: space-between; gap: 12px; color: var(--on-dark); font-size: 16px; }
.calc__total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.calc__total span { font-family: var(--font-head); font-weight: 800; font-size: 52px; line-height: 1; }
.calc__total small { font-size: 18px; color: var(--teal-light); }
.calc__year { font-size: 15px; color: var(--on-dark); }
.calc__year strong { color: var(--white); }
.calc__presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 14px; }
.calc__presets button {
  min-height: 44px; border-radius: 10px; border: 1px solid #3E5165; background: transparent;
  color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.calc__presets button:hover, .calc__presets button.is-active { background: var(--teal); border-color: var(--teal); }

/* ---------- Planovi (mesečno / godišnje) ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.plans .price-card { border: 1px solid var(--line); gap: 18px; }
.price-card--featured { border: 2px solid var(--teal) !important; box-shadow: 0 18px 40px rgba(15,118,110,.10); }
.price__sub { font-size: 16px; color: var(--muted); margin-top: -6px; flex-grow: 1; }
.price__sub s { color: #8A99A5; }
.price__sub strong { color: var(--navy); }
.badge--red { background: var(--red-soft); color: var(--red); }
.included {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 40px; display: flex; flex-direction: column; gap: 22px;
}
.included h3 { font-size: 22px; font-weight: 800; }
.included .price__note { margin-top: auto; }
.calc__toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--navy-2); border: 1px solid #3E5165; border-radius: 12px; margin-bottom: 6px; }
.calc__toggle button {
  min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--on-dark);
  font: 700 15px var(--font-head); cursor: pointer; transition: background .2s, color .2s;
}
.calc__toggle button span { font-size: 12px; color: var(--teal-light); margin-left: 4px; }
.calc__toggle button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.calc__toggle button[aria-pressed="true"] span { color: var(--red); }

/* ---------- Jednokratna kasa ---------- */
.onetime { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ot-card {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 22px;
  padding: 32px 28px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s, box-shadow .2s;
}
.ot-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(30,42,54,.10); }
.ot-card--best { background: var(--white); border: 2px solid var(--teal); }
.ot-card__flag {
  position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px;
  background: var(--teal); color: var(--white); font: 700 12px var(--font-head); letter-spacing: .04em;
}
.ot-card__period { font: 800 15px var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.ot-card__price { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--muted); }
.ot-card__price span { font-size: 52px; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; }
.ot-card__per { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.ot-card .btn { margin-top: auto; }
.checklist--sm { gap: 8px; margin-bottom: 22px; }
.checklist--sm li { font-size: 15px; }
.ot-uses { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.ot-uses > span:first-child { font-weight: 600; color: var(--muted); margin-right: 4px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-size: 14px; font-weight: 600; }

/* ---------- B2B partneri ---------- */
.partners { position: relative; overflow: hidden; }
.partners::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  border-radius: 80px; background: var(--teal); opacity: .14; transform: rotate(24deg);
}
.partners .container { position: relative; }
.partners__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.partners__intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.partners__intro p { font-size: 18px; color: var(--on-dark); }
.partners__intro .btn { margin-top: 8px; }
.partners__benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit { display: flex; gap: 14px; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 16px; padding: 22px; }
.benefit h4 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.benefit p { font-size: 15px; color: var(--on-dark); line-height: 1.5; }
.benefit__icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.benefit__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.steps li { counter-increment: st; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 20px 70px; position: relative; border-top: 2px solid var(--navy-line); }
.steps li::before {
  content: counter(st); position: absolute; left: 16px; top: 20px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--red); color: var(--white); font: 800 16px/38px var(--font-head); text-align: center;
}
.steps strong { font-family: var(--font-head); font-size: 17px; }
.steps span { font-size: 15px; color: var(--on-dark); }

/* ---------- Forma: select ---------- */
.field select {
  width: 100%; min-height: 48px; padding: 12px 40px 12px 14px; border: 1px solid #C9D6DD; border-radius: 10px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2A36' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
  font-family: var(--font-body); font-size: 16px; color: var(--text); appearance: none; -webkit-appearance: none; cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--teal); background-color: var(--white); box-shadow: 0 0 0 3px rgba(15, 118, 110, .18); }

/* ---------- Integracije ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.integrations { display: flex; flex-direction: column; gap: 14px; }
.int {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  border-radius: 16px; border: 1px solid var(--line); background: var(--bg);
  transition: transform .2s, box-shadow .2s;
}
.int:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(30, 42, 54, .08); }
.int--dashed { border-style: dashed; border-color: #B8C7D0; background: var(--white); }
.int h4 { font-size: 18px; font-weight: 700; }
.int p { font-size: 15px; color: var(--muted-2); }
.int__logo {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 16px;
}
.int__logo--navy { background: var(--navy); }
.int__logo--teal { background: var(--teal); }
.int__logo--red { background: var(--red); }
.int__logo--soft { background: var(--teal-soft); color: var(--teal-dark); }
.int__logo svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Izveštaji / dokumentacija ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}
.feature h3 { font-size: 26px; font-weight: 800; }
.feature p { font-size: 17px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; background: var(--bg); }
.faq summary {
  min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { font-size: 26px; color: var(--teal); transition: transform .2s; flex-shrink: 0; }
.faq details[open] .faq__plus { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { padding: 0 0 100px; }
.contact__box {
  position: relative; overflow: hidden;
  background: var(--navy); border-radius: 28px; padding: 56px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start;
}
.contact__box::after {
  content: ""; position: absolute; left: -70px; bottom: -70px;
  width: 220px; height: 220px; border-radius: 40px; background: var(--red); transform: rotate(18deg);
  opacity: .9;
}
.contact__info { position: relative; z-index: 1; color: var(--white); display: flex; flex-direction: column; gap: 16px; }
.contact__info h2 { font-size: 40px; }
.contact__info > p { font-size: 18px; color: var(--on-dark); }
.contact__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__list small { display: block; font-size: 13px; color: var(--teal-light); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact__list a { color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.contact__list a:hover { color: var(--teal-light); }
.contact__links { color: var(--on-dark); }
.contact__icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; background: var(--teal);
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Forma ---------- */
.form {
  position: relative; z-index: 1;
  background: var(--white); border-radius: 20px; padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
}
.form h3 { font-size: 22px; font-weight: 800; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field label span { color: var(--red); }
.field__opt { color: var(--muted-2) !important; font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid #C9D6DD; border-radius: 10px; background: var(--bg);
  font-family: var(--font-body); font-size: 16px; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .18);
}
.field.has-error input { border-color: var(--red); background: #FDF5F7; }
.field__err { font-size: 13px; color: var(--red); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal); }
.check.has-error { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { font-size: 15px; font-weight: 600; min-height: 1em; }
.form__msg:empty { display: none; }
.form__msg.is-ok { color: var(--teal-dark); background: var(--teal-soft); padding: 14px 16px; border-radius: 10px; }
.form__msg.is-err { color: var(--red); background: var(--red-soft); padding: 14px 16px; border-radius: 10px; }
.btn[disabled] { opacity: .65; cursor: wait; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--on-dark); padding: 56px 0 40px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__logo { height: 44px; width: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; flex: 1; max-width: 680px; font-size: 15px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer h5 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid var(--navy-line); margin-top: 36px; padding-top: 22px; font-size: 14px; color: #A9B6BF; }

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

/* Laptop / mali desktop */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card--featured { grid-column: span 3; }
  .hero h1 { font-size: 52px; }
}

/* Meni prelazi u hamburger kada nema mesta za sve linkove */
@media (max-width: 1180px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 40px 24px;
    box-shadow: 0 20px 40px rgba(30, 42, 54, .12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__menu a:not(.btn) { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 16px; min-height: 50px; font-size: 15px; }

  .partners__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .container { padding: 0 24px; }
  .nav__menu { padding: 8px 24px 24px; }

  .plans, .onetime { grid-template-columns: 1fr; }
  .onetime { gap: 28px; max-width: 520px; }
  .steps { grid-template-columns: 1fr; margin-top: 40px; gap: 0; }

  .hero {
    padding: 72px 0 88px;
    background-image:
      linear-gradient(180deg, rgba(244,247,249,.95) 0%, rgba(244,247,249,.88) 100%),
      url("assets/background.jpg");
    background-position: center, 80% center;
  }
  .hero h1 { font-size: 44px; }

  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
  h2 { font-size: 34px; }

  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--featured { grid-column: span 2; }

  .split, .pricing, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .pricing, .two-col { gap: 20px; }

  .contact__box { grid-template-columns: 1fr; padding: 44px 32px; gap: 36px; }
  .contact__info h2 { font-size: 32px; }

  .footer__top { flex-direction: column; }
  .footer__cols { max-width: none; width: 100%; }
}

/* Telefon */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav__logo img { height: 34px; }
  .nav__menu { padding: 8px 16px 20px; }

  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 36px; }
  .lead { font-size: 18px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { gap: 8px; }
  .stat { padding: 12px; }
  .stat strong { font-size: 21px; }
  .stat span { font-size: 13px; line-height: 1.3; display: block; }

  .section { padding: 64px 0; }
  h2 { font-size: 28px; }
  .section__head p, .split__text p { font-size: 17px; }

  .products { grid-template-columns: 1fr; }
  .card--featured { grid-column: auto; padding: 28px; }
  .card--featured h3 { font-size: 24px; }
  .card { padding: 24px; }

  .tiles { grid-template-columns: 1fr; }

  .price-card, .calc, .feature, .included { padding: 28px 22px; }
  .ot-card { padding: 28px 22px; }
  .ot-card__price span { font-size: 44px; }
  .partners__benefits { grid-template-columns: 1fr; }
  .partners__intro .btn { width: 100%; }
  .price__amount { font-size: 52px; }
  .calc__total span { font-size: 42px; }
  .calc__stepper { justify-content: space-between; }
  #kase { flex: 1; width: auto; }

  .int { padding: 18px; gap: 14px; }

  .faq details { padding: 0 18px; }
  .faq summary { font-size: 16px; }

  .contact { padding-bottom: 64px; }
  .contact > .container { padding: 0 12px; }
  .contact__box { padding: 32px 16px 16px; border-radius: 22px; }
  .contact__info { padding: 0 6px; }
  .contact__info h2 { font-size: 26px; }
  .contact__list a { font-size: 16px; }
  .contact__box::after { width: 140px; height: 140px; left: auto; right: -60px; bottom: auto; top: -60px; }
  .form { padding: 24px 18px; }
  .form__grid { grid-template-columns: 1fr; }

  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
}

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