/* ============================================================
   ZAŠTITA OD PRAŠINE — style.css
   Dizajn: tamna "vitrina" estetika — pleksiglas, zlato, led-plava
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
button { cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class] { list-style: none; }

/* ---------- Tokeni ---------- */
:root {
  --bg:        #0A0C10;
  --bg-2:      #0E1117;
  --bg-3:      #141927;
  --line:      rgba(243, 245, 248, .10);
  --line-2:    rgba(243, 245, 248, .20);
  --txt:       #F3F5F8;
  --muted:     #A2AAB8;
  --faint:     #6C7484;
  --gold:      #D8B879;
  --gold-2:    #F2DCA8;
  --gold-deep: #A98A4C;
  --gold-dim:  rgba(216, 184, 121, .13);
  --ice:       #A8D8E8;
  --ice-dim:   rgba(168, 216, 232, .10);
  --bad:       #DD8273;
  --font-d:    'Unbounded', 'Manrope', sans-serif;
  --font-b:    'Manrope', 'Segoe UI', sans-serif;
  --container: 1180px;
  --sec:       clamp(76px, 10vw, 136px);
  --cut:       16px;
  --ease:      cubic-bezier(.22, .61, .2, 1);
}

::selection { background: var(--gold); color: #11130b; }

/* ---------- Baza ---------- */
body {
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-b);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Ambijent: dva tiha odsjaja u pozadini */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(820px 540px at 12% -6%,  rgba(216,184,121,.07), transparent 62%),
    radial-gradient(760px 560px at 96% 18%,  rgba(168,216,232,.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
main { position: relative; z-index: 1; }

h1, h2 {
  font-family: var(--font-d);
  font-weight: 600;
  color: var(--txt);
  line-height: 1.16;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.8rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 2.9vw, 2.2rem); }
h3 { font-family: var(--font-b); font-weight: 700; color: var(--txt); font-size: 1.08rem; line-height: 1.4; }
strong, b { color: var(--txt); font-weight: 700; }
.grad {
  background: linear-gradient(100deg, var(--gold-2) 8%, var(--gold) 52%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); }
.small { font-size: .86rem; color: var(--faint); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 2px;
}

.container { width: min(var(--container), 100% - 44px); margin-inline: auto; }
.section { padding-block: var(--sec); position: relative; }
.band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head p { margin-top: 16px; }

/* ---------- Isečeni uglovi (motiv pleksiglasa) ---------- */
.cut {
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
}
.frame {
  --cut: 22px;
  padding: 1px;
  background: linear-gradient(155deg, rgba(168,216,232,.55), rgba(255,255,255,.12) 34%, rgba(216,184,121,.18) 60%, rgba(216,184,121,.6));
}
.frame > .frame-in { background: var(--bg-2); height: 100%; }

/* ---------- Dugmad ---------- */
.btn {
  --cut: 10px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
  overflow: hidden;
}
.btn svg { flex: 0 0 auto; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-gold {
  background: linear-gradient(115deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: #161203;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(216,184,121,.55); }
.btn-gold::after {
  content: "";
  position: absolute; top: -40%; bottom: -40%; left: -30%;
  width: 36%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-160%) skewX(-18deg);
  transition: transform .7s var(--ease);
}
.btn-gold:hover::after { transform: translateX(420%) skewX(-18deg); }
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--txt);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }

/* ---------- Zaglavlje ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(10, 12, 16, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.12; }
.brand-txt strong { font-family: var(--font-d); font-size: .82rem; font-weight: 700; letter-spacing: .12em; color: var(--txt); }
.brand-txt em { font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .34em; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-links > a:not(.btn) {
  font-size: .9rem; font-weight: 600; color: var(--muted);
  padding: 6px 2px; position: relative;
  transition: color .25s;
}
.nav-links > a:not(.btn):hover { color: var(--txt); }
.nav-links > a.active { color: var(--gold-2); }
.nav-links > a.active::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 18px; height: 2px; background: var(--gold);
}
.nav-tel { padding: 10px 18px; font-size: .88rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--txt); transition: transform .3s var(--ease), opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
canvas[data-dust] { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin: 0 0 22px; }
.hero .lead { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 26px; font-size: .9rem; color: var(--faint); max-width: 520px; }
.hero-note svg { flex: 0 0 auto; margin-top: 3px; color: var(--gold); }
.hero-note a { color: var(--gold-2); border-bottom: 1px solid rgba(216,184,121,.4); }
.hero-note a:hover { border-bottom-color: var(--gold-2); }

.vitrina { --cut: 30px; position: relative; box-shadow: 0 40px 90px -34px rgba(0,0,0,.85), 0 0 70px -28px rgba(216,184,121,.32); }
.vitrina img { width: 100%; height: auto; }
.vitrina .frame-in { position: relative; overflow: hidden; }
.vitrina .frame-in::after {
  content: "";
  position: absolute; top: -30%; bottom: -30%; left: -45%;
  width: 34%;
  background: linear-gradient(102deg, transparent, rgba(255,255,255,.16) 48%, rgba(168,216,232,.12) 55%, transparent);
  transform: translateX(-140%) skewX(-16deg);
  animation: glare 7.5s var(--ease) infinite;
  animation-delay: 1.6s;
  pointer-events: none;
}
@keyframes glare {
  0%, 58%   { transform: translateX(-140%) skewX(-16deg); }
  78%, 100% { transform: translateX(560%)  skewX(-16deg); }
}
.vitrina-cap {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; font-size: .82rem; color: var(--faint);
}
.vitrina-cap::before { content: ""; width: 22px; height: 1px; background: var(--gold); flex: 0 0 auto; }

/* ---------- Statistike ---------- */
.stats { border-block: 1px solid var(--line); background: rgba(255,255,255,.012); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-v { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--gold); line-height: 1; }
.stat-v sub, .stat-v span.unit { font-size: .55em; font-weight: 600; vertical-align: baseline; }
.stat-l { margin-top: 10px; font-size: .86rem; color: var(--faint); }

/* ---------- Kartice ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.card::before, .card::after {
  content: ""; position: absolute; width: 26px; height: 26px;
  border: 0 solid var(--gold);
  opacity: .45; transition: opacity .35s, width .35s, height .35s;
  pointer-events: none;
}
.card::before { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.card::after  { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.card:hover { transform: translateY(-5px); border-color: var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); }
.card:hover::before, .card:hover::after { opacity: 1; width: 38px; height: 38px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }
.ic {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--gold);
  background: var(--gold-dim);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* ---------- Liste ---------- */
.x-list, .ok-list { display: grid; gap: 16px; }
.x-list li, .ok-list li { display: flex; gap: 14px; align-items: flex-start; }
.x-list li::before, .ok-list li::before {
  font-weight: 800; font-size: .8rem; line-height: 1;
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  margin-top: 2px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.x-list li::before  { content: "✕"; color: var(--bad);  background: rgba(221,130,115,.12); }
.ok-list li::before { content: "✓"; color: var(--gold); background: var(--gold-dim); }

/* ---------- Citat ---------- */
.quote {
  position: relative;
  max-width: 880px;
  padding: 10px 0 10px 34px;
  border-left: 2px solid var(--gold);
}
.quote p {
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  color: var(--txt);
  line-height: 1.6;
  font-weight: 500;
}
.quote footer { margin-top: 18px; font-size: .9rem; color: var(--faint); }
.quote footer strong { color: var(--gold-2); font-weight: 700; }

/* ---------- Koraci ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: korak; }
.step { position: relative; padding: 30px 26px 34px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.step-n {
  font-family: var(--font-d); font-weight: 700;
  font-size: 2.9rem; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: .95rem; }

/* ---------- VS blok ---------- */
.vs-wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vs-col { padding: 34px 30px; border: 1px solid var(--line); }
.vs-col.win { background: linear-gradient(180deg, rgba(216,184,121,.08), rgba(216,184,121,.02)); border-color: rgba(216,184,121,.35); }
.vs-col.lose { background: rgba(255,255,255,.012); }
.vs-col h3 { font-family: var(--font-d); font-size: .95rem; letter-spacing: .04em; margin-bottom: 22px; }
.vs-col.win h3 { color: var(--gold-2); }
.vs-col ul { gap: 13px; }
.vs-col li { font-size: .94rem; }
.vs-badge {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  font-family: var(--font-d); font-weight: 700; font-size: .8rem;
  color: #161203;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 0 10px 30px -8px rgba(216,184,121,.5);
}

/* ---------- Račun (matematika troškova) ---------- */
.math-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.receipt { padding: 36px 32px; border: 1px solid var(--line); background: rgba(255,255,255,.015); font-variant-numeric: tabular-nums; }
.receipt-title { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 24px; }
.r-row { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; }
.r-row .dots { flex: 1; border-bottom: 1px dotted rgba(243,245,248,.22); transform: translateY(-5px); }
.r-row .nm { color: var(--txt); font-weight: 600; }
.r-row .pr { color: var(--muted); font-weight: 700; white-space: nowrap; }
.r-row.extra .nm, .r-row.extra .pr { color: var(--bad); font-weight: 600; font-size: .92rem; }
.r-sum { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--faint); }
.math-result { display: flex; }
.math-result .frame { width: 100%; --cut: 26px; }
.math-result .frame-in { display: flex; flex-direction: column; justify-content: center; padding: 40px 36px; }
.math-price { font-family: var(--font-d); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.1; }
.math-price .once { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-top: 10px; -webkit-text-stroke: 0; }
.math-result blockquote { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 1.04rem; color: var(--txt); font-weight: 500; line-height: 1.6; }

/* ---------- Cena ---------- */
.price-card { max-width: 880px; margin-inline: auto; --cut: 30px; }
.price-card .frame-in { padding: clamp(40px, 6vw, 68px) clamp(26px, 5vw, 60px); text-align: center; }
.price-big { font-family: var(--font-d); font-weight: 700; font-size: clamp(3rem, 8vw, 5.2rem); line-height: 1; margin: 18px 0 22px; }
.price-line { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--txt); max-width: 620px; margin-inline: auto; font-weight: 500; }
.price-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: 30px 0 36px; }
.price-checks span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 600; color: var(--muted);
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.price-checks svg { color: var(--gold); }
.price-note { margin-top: 18px; font-size: .86rem; color: var(--faint); }

/* ---------- Recenzije ---------- */
.review { display: flex; flex-direction: column; }
.review .stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 18px; }
.review p { flex: 1; font-size: .97rem; color: var(--muted); }
.review p::before { content: "„"; color: var(--gold); font-weight: 800; }
.review p::after { content: "”"; color: var(--gold); font-weight: 800; }
.review footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.review footer strong { display: block; font-size: .95rem; }
.review footer span { font-size: .82rem; color: var(--faint); }

/* ---------- Tabela poređenja ---------- */
.tbl-wrap { border: 1px solid var(--line); overflow-x: auto; background: rgba(255,255,255,.012); }
table.compare { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare th, .compare td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .94rem; }
.compare thead th {
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint); background: rgba(255,255,255,.02);
}
.compare thead th.win-h { color: var(--gold-2); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-weight: 600; color: var(--txt); width: 26%; font-size: .9rem; }
.compare td.win { background: rgba(216,184,121,.055); color: var(--txt); border-left: 1px solid rgba(216,184,121,.22); border-right: 1px solid rgba(216,184,121,.22); }
.compare td .mk { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 9px; font-size: .7rem; font-weight: 800; vertical-align: -4px; clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.compare td .mk.y { color: var(--gold); background: var(--gold-dim); }
.compare td .mk.n { color: var(--bad); background: rgba(221,130,115,.12); }

/* ---------- 50/50 vizual ---------- */
.split { display: flex; height: 76px; border: 1px solid var(--line); margin-top: 28px; }
.split > div { flex: 1; display: flex; align-items: center; justify-content: center; padding: 10px 14px; text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .03em; }
.split .in-filter {
  color: var(--muted);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 9px, rgba(255,255,255,.012) 9px 18px);
  border-right: 1px dashed var(--line-2);
}
.split .in-air {
  color: var(--bad);
  background: repeating-linear-gradient(135deg, rgba(221,130,115,.1) 0 9px, rgba(221,130,115,.03) 9px 18px);
}
.split-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: .8rem; color: var(--faint); }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  font-weight: 700; font-size: 1.04rem; color: var(--txt);
  cursor: pointer;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-d);
  font-size: 1.2rem; color: var(--gold);
  transition: transform .3s var(--ease);
  flex: 0 0 auto;
}
.faq[open] summary { color: var(--gold-2); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 4px 26px; max-width: 820px; }
.faq .faq-a p + p { margin-top: 12px; }

/* ---------- Edukator traka / CTA trake ---------- */
.banner { border-block: 1px solid rgba(216,184,121,.3); background: linear-gradient(115deg, rgba(216,184,121,.1), rgba(216,184,121,.02) 55%, rgba(168,216,232,.05)); }
.banner-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.banner h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.banner p { margin-top: 10px; max-width: 640px; }

.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.cta-final p { margin: 18px auto 34px; max-width: 560px; }
.tel-big {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.9rem);
  color: var(--txt);
  margin-top: 26px;
  transition: color .25s;
}
.tel-big:hover { color: var(--gold-2); }
.tel-big svg { color: var(--gold); }

/* ---------- Podstranice ---------- */
.page-hero {
  position: relative;
  padding: 168px 0 84px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 880px; }
.page-hero .lead { max-width: 720px; margin-top: 20px; }
.page-hero .hero-cta { margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips span {
  font-size: .82rem; font-weight: 700; color: var(--gold-2);
  padding: 8px 15px;
  border: 1px solid rgba(216,184,121,.35);
  background: var(--gold-dim);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.split-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-2 .vitrina { --cut: 26px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gallery figure { position: relative; border: 1px solid var(--line); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 20px 16px;
  font-size: .82rem; color: var(--txt);
  background: linear-gradient(180deg, transparent, rgba(8,10,13,.88));
}

/* Prijava — koraci za edukatore */
.apply { --cut: 26px; max-width: 880px; margin-inline: auto; }
.apply .frame-in { padding: clamp(34px, 5vw, 56px); }
.apply ol { counter-reset: ap; display: grid; gap: 16px; margin: 28px 0 34px; }
.apply ol li { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border: 1px solid var(--line); background: rgba(255,255,255,.018); font-weight: 600; color: var(--txt); }
.apply ol li::before {
  counter-increment: ap;
  content: counter(ap, decimal-leading-zero);
  font-family: var(--font-d); font-weight: 700; font-size: .92rem;
  color: var(--gold);
  flex: 0 0 auto;
}
.apply-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- Podnožje ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: #080A0D; padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.foot-brand p { margin: 18px 0 24px; font-size: .92rem; max-width: 380px; }
.foot-h { font-size: .74rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot-grid nav, .foot-links { display: flex; flex-direction: column; }
.foot-grid nav a, .foot-links a { padding: 6px 0; font-size: .92rem; color: var(--muted); transition: color .25s; }
.foot-grid nav a:hover, .foot-links a:hover { color: var(--gold-2); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--faint); }
.totop { color: var(--faint); transition: color .25s; }
.totop:hover { color: var(--gold-2); }

/* ---------- Animacije otkrivanja ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.err { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 22px; }
.err .code { font-family: var(--font-d); font-weight: 700; font-size: clamp(4rem, 14vw, 8rem); color: transparent; -webkit-text-stroke: 1px var(--gold); line-height: 1; }

/* ---------- Responsivnost ---------- */
@media (max-width: 1020px) {
  .hero { min-height: 0; padding: 132px 0 76px; }
  .hero-grid, .split-2 { grid-template-columns: 1fr; }
  .hero-visual { max-width: 540px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .math-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center;
    gap: 8px;
    background: rgba(8, 10, 13, .96);
    backdrop-filter: blur(18px);
    opacity: 0; pointer-events: none;
    transition: opacity .35s var(--ease);
    z-index: 55;
  }
  .nav-links > a:not(.btn) { font-size: 1.25rem; font-family: var(--font-d); font-weight: 600; padding: 12px; }
  .nav-links .nav-tel { margin-top: 18px; }
  body.nav-open .nav-links { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle { position: relative; z-index: 56; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { width: min(var(--container), 100% - 36px); }
  .grid-2, .grid-3, .vs-wrap, .gallery { grid-template-columns: 1fr; }
  .vs-badge { display: none; }
  .hero-cta .btn { width: 100%; }
  .banner-grid { flex-direction: column; align-items: flex-start; }
  .apply ol li { font-size: .92rem; padding: 14px 16px; }
  .compare th, .compare td { padding: 14px 14px; }
}

/* ---------- Smanjeno kretanje ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
