/* ================================================================
   KOVAČNICA — KOV-HOME-TEST-1 (v2) kandidat
   Izolirani review kandidat. NE dira produkcijski index.html/home.css.
   Paleta i tipografski stack zaključani prema
   review/homepage-reference-pack/FINAL-REFERENCE-DIRECTION.md §3.
   Jedan signature trenutak: ember "heat" bloom + užarena linija.
   ================================================================ */

:root {
  --iron-0: #0d0e10;
  --iron-1: #15171a;
  --iron-2: #1c1f23;
  --iron-line: #2a2e33;
  --ember: #e8833a;
  --ember-hot: #ff9a3c;
  --ember-deep: #c25e1f;
  --text: #ece7df;
  --text-dim: #98938a;
  /* #6a6f77 je padao na 3.55:1 — podignuto na AA (≥4.5:1) na iron-0/1/2 */
  --text-mute: #858a91;
  /* isto: ember-deep je na 4.27:1 bio pretaman za male oznake */
  --ember-quiet: #cf7a33;

  --pad: clamp(18px, 5vw, 72px);
  --maxw: 1400px;
  --gap: clamp(16px, 1.8vw, 26px);
  --gap-lg: clamp(24px, 3vw, 44px);
  --sec-y: clamp(56px, 7vw, 116px);
  --r: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--iron-0);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
section[id] { scroll-margin-top: 78px; }

:focus-visible {
  outline: 3px solid var(--ember-hot);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ember); color: #14100c; padding: 12px 20px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ── zajednički mikro-elementi ─────────────────────────────────── */

.kicker {
  color: var(--ember);
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 700;
}

.pill {
  display: inline-block;
  color: var(--ember);
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(232, 131, 58, 0.34);
  background: rgba(232, 131, 58, 0.07);
  padding: 6px 15px;
  border-radius: 999px;
  max-width: 100%;
}

/* signature: užarena linija */
.heat {
  position: relative;
  height: 1px;
  margin: var(--sec-y) 0;
  background: linear-gradient(90deg,
    transparent, var(--iron-line) 10%,
    var(--ember-deep) 40%, var(--ember-hot) 50%, var(--ember-deep) 60%,
    var(--iron-line) 90%, transparent);
}
.heat::after {
  content: ""; position: absolute; inset: -26px 0;
  background: radial-gradient(60% 100% at 50% 50%,
    rgba(255, 154, 60, 0.13), transparent 70%);
  pointer-events: none;
}

.link-go {
  display: inline-block;
  color: var(--ember-hot);
  font-weight: 650; font-size: 0.92rem;
  text-decoration: none;
}
.link-go:hover { text-decoration: underline; }

.btn {
  display: inline-block; text-decoration: none;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 650; font-size: 0.95rem; line-height: 1.2;
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.btn-primary { background: var(--ember); color: #14100c; border-color: var(--ember); }
.btn-primary:hover { background: var(--ember-hot); border-color: var(--ember-hot); }
.btn-ghost { border-color: var(--iron-line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-dim); }
.btn-lg { padding: 15px 30px; font-size: 1.01rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* sekcijska zaglavlja */
.sec-head { max-width: 62ch; }
.sec-head h2 {
  margin-top: 14px;
  font-size: clamp(1.95rem, 3.5vw, 3.05rem);
  line-height: 1.06; letter-spacing: -0.033em; font-weight: 800;
}
.sec-sub { color: var(--text-dim); font-size: 1rem; margin-top: 16px; max-width: 56ch; }
.sec-sub strong { color: var(--text); }
.sec-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--gap-lg);
  align-items: end;
}
.sec-head-split .sec-sub { margin-top: 0; padding-bottom: 6px; }

/* ================================================================
   NAV
   ================================================================ */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 14, 16, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--iron-line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 12px var(--pad);
  display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; font-size: 1.16rem;
  letter-spacing: -0.015em;
}
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.nav-links { display: flex; gap: clamp(14px, 1.8vw, 26px); margin-right: auto; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.92rem;
  white-space: nowrap; /* nijedna stavka se ne smije lomiti u dva reda */
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  text-decoration: none; font-weight: 650; font-size: 0.89rem;
  color: #14100c; background: var(--ember);
  padding: 9px 18px; border-radius: 999px; white-space: nowrap;
  transition: background 0.18s;
}
.nav-cta:hover { background: var(--ember-hot); }

.nav-burger {
  display: none; background: none; cursor: pointer;
  border: 1px solid var(--iron-line); border-radius: 9px;
  padding: 9px 10px;
}
.nav-burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text);
}
.nav-burger span + span { margin-top: 4px; }

/* ================================================================
   HERO
   ================================================================ */

.hero { position: relative; overflow: hidden; }
/* JEDINI signature trenutak stranice: užareni bloom iza heroa. */
.hero-bloom {
  position: absolute; pointer-events: none;
  top: -46%; right: -14%;
  width: min(1280px, 118%); aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(255, 154, 60, 0.34) 0%,
      rgba(232, 131, 58, 0.19) 24%,
      rgba(194, 94, 31, 0.09) 44%,
      transparent 66%);
}
.hero-inner {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(36px, 5.2vw, 76px) var(--pad) clamp(26px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 4.4vw, 72px);
  row-gap: clamp(26px, 3.2vw, 40px);
  align-items: center;
}
.hero-copy   { grid-column: 1; grid-row: 1; }
.hero-visual { grid-column: 2; grid-row: 1 / span 2; }
.hero-facts  { grid-column: 1; grid-row: 2; align-self: end; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.45rem, 5.3vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.hero h1 .hot {
  color: var(--ember-hot);
  text-shadow: 0 0 46px rgba(255, 154, 60, 0.32);
}
.hero .lede {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.16vw, 1.1rem);
  margin-top: 22px;
  max-width: 52ch;
}
.hero .actions { margin-top: 30px; }

.hero-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.hero-facts li {
  padding-top: 14px;
  border-top: 1px solid var(--iron-line);
  position: relative;
}
.hero-facts li::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 26px; height: 1px; background: var(--ember);
}
.hero-facts strong {
  display: block; font-size: 0.98rem; font-weight: 700;
  letter-spacing: -0.015em;
}
.hero-facts span {
  display: block; color: var(--text-mute); font-size: 0.83rem;
  line-height: 1.45; margin-top: 3px;
}

/* okvir preglednika oko stvarnog rada */
.shot {
  border: 1px solid var(--iron-line);
  border-radius: var(--r);
  background: var(--iron-1);
  overflow: hidden;
  box-shadow: 0 32px 70px -30px rgba(0, 0, 0, 0.9),
              0 0 0 1px rgba(255, 154, 60, 0.05);
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  background: var(--iron-2);
  border-bottom: 1px solid var(--iron-line);
}
.shot-bar .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #33383e; flex-shrink: 0;
}
.shot-url {
  margin-left: 12px;
  color: var(--text-mute); font-size: 0.76rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot img { width: 100%; }
.shot figcaption {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 13px 16px;
  border-top: 1px solid var(--iron-line);
  color: var(--text-dim); font-size: 0.84rem;
}
.live {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ember-hot); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.11em; text-transform: uppercase;
}
.live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember-hot);
  box-shadow: 0 0 0 3px rgba(255, 154, 60, 0.16);
}

/* donja traka heroa — dokaz odmah uz prvi ekran */
.hero-rail {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px var(--pad) 20px;
  border-top: 1px solid var(--iron-line);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px clamp(16px, 2.4vw, 30px);
}
.rail-label {
  color: var(--text-mute);
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 700;
}
.rail-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px clamp(14px, 2vw, 26px); }
.rail-links a {
  color: var(--text); text-decoration: none; font-size: 0.93rem; font-weight: 600;
  border-bottom: 1px solid var(--iron-line);
  padding-bottom: 2px;
  transition: border-color 0.18s, color 0.18s;
}
.rail-links a:hover { color: var(--ember-hot); border-color: var(--ember); }
.rail-cta {
  margin-left: auto;
  color: var(--ember-hot); font-size: 0.89rem; font-weight: 650;
  text-decoration: none;
}
.rail-cta:hover { text-decoration: underline; }

/* ================================================================
   PREPOZNAJETE SE — podignuti pojas
   ================================================================ */

.cases {
  background: var(--iron-1);
  border-top: 1px solid var(--iron-line);
  border-bottom: 1px solid var(--iron-line);
  padding-block: var(--sec-y);
}
.case-grid {
  list-style: none;
  margin-top: clamp(30px, 3.6vw, 52px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--iron-line);
  border: 1px solid var(--iron-line);
  border-radius: var(--r);
  overflow: hidden;
}
.case-grid li {
  background: var(--iron-1);
  padding: clamp(24px, 2.8vw, 40px);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px clamp(10px, 1.2vw, 18px);
  align-content: start;
  transition: background 0.2s;
}
.case-grid li:hover { background: var(--iron-2); }
.case-idx {
  grid-row: span 2;
  color: var(--ember-quiet);
  font-size: 0.86rem; font-weight: 800; letter-spacing: 0.06em;
  padding-top: 6px;
}
.case-grid h3 {
  font-size: clamp(1.12rem, 1.72vw, 1.42rem);
  line-height: 1.28; letter-spacing: -0.022em; font-weight: 750;
}
.case-grid p { color: var(--text-dim); font-size: 0.95rem; margin-top: 10px; }

/* ================================================================
   ŠTO DOBIVATE — mozaik kartica
   ================================================================ */

.deliver { padding-block: var(--sec-y); }
.deliver-grid {
  margin-top: clamp(30px, 3.6vw, 52px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.dcard {
  background: var(--iron-1);
  border: 1px solid var(--iron-line);
  border-radius: var(--r);
  padding: clamp(22px, 2.5vw, 36px);
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.dcard:hover { border-color: #363c43; background: var(--iron-2); }
.dcard-wide {
  grid-column: 1 / -1;
  background:
    radial-gradient(120% 190% at 100% 0%, rgba(232, 131, 58, 0.10), transparent 58%),
    var(--iron-1);
  border-color: rgba(232, 131, 58, 0.28);
}
.dcard-tag {
  color: var(--ember);
  font-size: 0.73rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
}
.dcard h3 {
  margin-top: 12px;
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  line-height: 1.2; letter-spacing: -0.028em; font-weight: 780;
}
.dcard-wide h3 {
  font-size: clamp(1.5rem, 2.9vw, 2.35rem);
  letter-spacing: -0.035em;
  max-width: 20ch;
}
.dcard p { color: var(--text-dim); font-size: 0.95rem; margin-top: 12px; max-width: 52ch; }
.dcard-wide p { font-size: 1.02rem; max-width: 58ch; }

/* ================================================================
   KAKO RADIMO
   ================================================================ */

.process { padding-block: var(--sec-y); border-top: 1px solid var(--iron-line); }
.steps {
  list-style: none;
  margin-top: clamp(34px, 4vw, 58px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-lg);
  position: relative;
}
/* signature nastavak: užarena spojnica kroz brojeve */
.steps::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: 27px; height: 1px;
  background: linear-gradient(90deg, var(--ember-deep), var(--iron-line) 70%, transparent);
  opacity: 0.55;
}
.steps li { position: relative; }
.step-num {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--iron-1);
  border: 1px solid rgba(232, 131, 58, 0.42);
  color: var(--ember-hot);
  font-size: 1.3rem; font-weight: 800; line-height: 1;
}
.steps h3 {
  margin-top: 22px;
  font-size: clamp(1.25rem, 2.1vw, 1.72rem);
  line-height: 1.15; letter-spacing: -0.03em; font-weight: 800;
}
.steps p { color: var(--text-dim); font-size: 0.96rem; margin-top: 11px; max-width: 42ch; }
.step-meta {
  color: var(--ember) !important;
  font-size: 0.79rem !important; font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase;
  margin-top: 14px !important;
}

/* ================================================================
   DOKAZ — alati + radovi
   ================================================================ */

.proof {
  background: var(--iron-1);
  border-top: 1px solid var(--iron-line);
  border-bottom: 1px solid var(--iron-line);
  padding-block: var(--sec-y);
}
.proof .heat { margin-block: clamp(46px, 5.4vw, 84px); }

.tools {
  margin-top: clamp(28px, 3.4vw, 46px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.tool {
  background:
    radial-gradient(130% 150% at 0% 0%, rgba(232, 131, 58, 0.09), transparent 55%),
    var(--iron-2);
  border: 1px solid var(--iron-line);
  border-radius: var(--r);
  padding: clamp(24px, 2.8vw, 40px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.tool-tag { color: var(--ember); font-size: 0.78rem; font-weight: 700; }
.tool h3 {
  margin-top: 10px;
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  line-height: 1.14; letter-spacing: -0.032em; font-weight: 800;
}
.tool p { color: var(--text-dim); font-size: 0.95rem; margin-top: 12px; flex-grow: 1; }
.btn-tool {
  margin-top: 24px;
  border-color: var(--ember); color: var(--ember-hot);
}
.btn-tool:hover { background: var(--ember); color: #14100c; }

.works {
  margin-top: clamp(28px, 3.4vw, 46px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.work {
  background: var(--iron-2);
  border: 1px solid var(--iron-line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
}
/* vodeći rad ide preko cijele širine: kadar lijevo, priča desno */
.work-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: stretch;
}
.work-shot {
  display: block; overflow: hidden;
  border-bottom: 1px solid var(--iron-line);
  background: #0a0b0c;
}
.work-shot img {
  width: 100%;
  filter: saturate(0.92) brightness(1.06);
  transition: filter 0.25s, transform 0.35s;
}
.work-shot:hover img { filter: none; transform: scale(1.015); }
/* NE režemo kadrove: Mind Alchemy i Focus Forge su tamne stranice pa svaki
   crop u sredinu daje praznu crnu plohu. Slike idu u punom omjeru, a kartice
   se poravnavaju rastezanjem tijela (flex-grow), ne rezanjem dokaza. */
.work-body { display: flex; flex-direction: column; flex-grow: 1; }
.work-row .work-shot {
  border-bottom: none; border-right: 1px solid var(--iron-line);
  display: flex; align-items: center;
}
.work-body { padding: clamp(18px, 2vw, 28px); }
.work-row .work-body { align-self: center; padding: clamp(24px, 2.8vw, 40px); }
.work-tag {
  color: var(--ember) !important;
  font-size: 0.73rem !important; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 700; margin-top: 0 !important; margin-bottom: 10px;
}
.work h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: -0.03em; font-weight: 800; line-height: 1.18;
}
.work-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.035em; }
.work p { color: var(--text-dim); font-size: 0.92rem; margin-top: 9px; max-width: 50ch; }
.work-row p { font-size: 0.98rem; }
/* poslovna funkcija rada — što stranica stvarno obavlja */
.work-fn {
  padding-left: 12px;
  border-left: 2px solid rgba(232, 131, 58, 0.45);
}
.work-fn em {
  font-style: normal; font-weight: 700; color: var(--ember);
  letter-spacing: 0.02em;
}
.work .link-go { margin-top: 14px; align-self: flex-start; }
.work:not(.work-row) .link-go { margin-top: auto; padding-top: 14px; }

.soon {
  margin-top: clamp(30px, 3.6vw, 48px);
  padding-top: clamp(22px, 2.6vw, 32px);
  border-top: 1px solid var(--iron-line);
}
.soon-label {
  color: var(--text-mute);
  font-size: 0.73rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
}
.soon-list {
  margin-top: 16px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-lg);
}
.soon-list h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-dim); }
.soon-list p { color: var(--text-mute); font-size: 0.89rem; margin-top: 5px; max-width: 46ch; }

/* ================================================================
   PONUDA
   ================================================================ */

.offer { padding-block: var(--sec-y); }
.plans {
  margin-top: clamp(30px, 3.6vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.plan {
  background: var(--iron-1);
  border: 1px solid var(--iron-line);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 36px);
  display: flex; flex-direction: column;
  height: 100%;
}
.plan-feature {
  background:
    radial-gradient(130% 130% at 50% 0%, rgba(232, 131, 58, 0.13), transparent 60%),
    var(--iron-2);
  border-color: rgba(232, 131, 58, 0.42);
}
.plan-meta {
  color: var(--text-mute);
  font-size: 0.73rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
}
.plan-meta em { font-style: normal; color: var(--ember); margin-left: 8px; }
.plan h3 {
  margin-top: 11px;
  font-size: clamp(1.32rem, 2.1vw, 1.75rem);
  line-height: 1.14; letter-spacing: -0.032em; font-weight: 800;
}
.plan-desc { color: var(--text-dim); font-size: 0.94rem; margin-top: 12px; }

.ledger { margin-top: clamp(18px, 2vw, 26px); }
.ledger > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--iron-line);
}
.ledger dt { color: var(--text-dim); font-size: 0.88rem; }
.ledger dd { font-weight: 750; white-space: nowrap; letter-spacing: -0.015em; }
.ledger > div:first-child dd { font-size: 1.42rem; }
.plan-feature .ledger > div:first-child dd { color: var(--ember-hot); }
.plan .link-go { margin-top: auto; padding-top: 20px; }

.offer-note {
  margin-top: clamp(26px, 3vw, 40px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--iron-line);
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 66ch;
}

/* ================================================================
   ZAVRŠNI CTA — bookend heroa
   ================================================================ */

.close {
  position: relative; overflow: hidden;
  background: var(--iron-1);
  border-top: 1px solid var(--iron-line);
}
.close-bloom {
  position: absolute; pointer-events: none;
  bottom: -60%; left: -10%;
  width: min(1000px, 100%); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 154, 60, 0.16) 0%, rgba(232, 131, 58, 0.08) 34%, transparent 66%);
}
.close-inner {
  position: relative;
  padding-block: clamp(58px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.close h2 {
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  line-height: 1.02; letter-spacing: -0.04em; font-weight: 800;
}
.close-lede {
  color: var(--text-dim);
  font-size: clamp(1.02rem, 1.34vw, 1.16rem);
  margin-top: 18px; max-width: 50ch;
}
.close .actions { margin-top: 30px; }

/* ljudski trust signal uz završni CTA — tvrdnja o načinu rada, ne jamstvo */
.close-trust {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 11px;
  align-items: start;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--iron-line);
  color: var(--text-dim);
  font-size: 0.93rem; line-height: 1.6;
  max-width: 54ch;
}
.trust-mark {
  width: 18px; height: 18px; border-radius: 50%;
  margin-top: 4px;
  border: 1px solid rgba(232, 131, 58, 0.5);
  background: radial-gradient(circle at 50% 50%, var(--ember) 0 4px, transparent 5px);
}

.channels { border-top: 1px solid var(--iron-line); }
.channels > div {
  display: grid; grid-template-columns: 88px minmax(0, 1fr);
  align-items: baseline; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--iron-line);
}
.channels dt {
  color: var(--text-mute);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
}
.channels dd { font-size: 0.99rem; font-weight: 650; letter-spacing: -0.012em; min-width: 0; }
.channels dd a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.channels dd a:hover { color: var(--ember-hot); }
.close-co { margin-top: 20px; color: var(--text-mute); font-size: 0.85rem; line-height: 1.6; }

/* ================================================================
   FOOTER
   ================================================================ */

.footer { border-top: 1px solid var(--iron-line); }
.footer-inner {
  padding-block: clamp(28px, 3vw, 44px);
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
  font-size: 0.88rem;
}
.dim { color: var(--text-dim); }
.dim a { color: inherit; }

/* WhatsApp — isto ponašanje kao produkcija */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ember);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: background 0.18s, opacity 0.2s;
}
.wa-float svg { width: 26px; height: 26px; fill: #14100c; }
.wa-float:hover { background: var(--ember-hot); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 1024px) { .wa-float { display: none; } }

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

@media (max-width: 1180px) {
  /* složeno u stupac: Kovačnica kontekst PRIJE kadra (potvrđeno ranijim
     mobile reviewom) — poruka, pa dokaz, pa činjenice */
  .hero-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .hero-copy   { grid-column: 1; grid-row: 1; }
  .hero-visual { grid-column: 1; grid-row: 2; }
  .hero-facts  { grid-column: 1; grid-row: 3; }
  .hero h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); }
  .close-inner { grid-template-columns: minmax(0, 1fr); }
  .close-side { border-top: 1px solid var(--iron-line); padding-top: clamp(26px, 4vw, 40px); }
  .close-side .channels { border-top: none; }
}

@media (max-width: 900px) {
  /* nav se skuplja u hamburger PRIJE nego se stavke počnu lomiti u dva reda
     (mjereno: prelamanje počinje ispod 900px, ne ispod 760px) */
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-burger { display: block; }
  body.nav-open .nav-links {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--iron-1);
    border-bottom: 1px solid var(--iron-line);
    padding: 20px var(--pad);
  }

  .sec-head-split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sec-head-split .sec-sub { padding-bottom: 0; }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .deliver-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 4vw, 36px); }
  .steps::before {
    left: 26px; right: auto; top: 0; bottom: 0; width: 1px; height: auto;
    background: linear-gradient(180deg, var(--ember-deep), var(--iron-line) 70%, transparent);
  }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .works { grid-template-columns: minmax(0, 1fr); }
  .work-row { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .work-row .work-shot {
    border-right: none; border-bottom: 1px solid var(--iron-line); display: block;
  }
  .work-row .work-body { padding: clamp(18px, 2vw, 28px); }
  .soon-list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { height: auto; }
}

@media (max-width: 760px) {
  /* mobilni ritam: kraći pojasevi i uža unutrašnjost kartica —
     mobile nije skraćeni desktop nego vlastita kompozicija */
  :root { --sec-y: 46px; --gap: 12px; --gap-lg: 26px; }
  .case-grid li { padding: 22px 20px; }
  .dcard { padding: 22px 20px; }
  .tool { padding: 24px 20px; }
  .plan { padding: 24px 20px; }
  .work-body, .work-row .work-body { padding: 20px; }
  .sec-sub { font-size: 0.95rem; }

  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-facts li { padding: 13px 0; }
  .hero-facts li + li { border-top: 1px solid var(--iron-line); }
  .hero-facts li::before { display: none; }
  .hero-facts strong { display: inline; }
  .hero-facts span { display: inline; margin-left: 8px; }
  .actions .btn { flex: 1 1 180px; text-align: center; }
  .btn-tool { flex: 0 1 auto; align-self: stretch; text-align: center; }
  .rail-cta { margin-left: 0; }
  .footer-inner { display: block; }
  .footer-inner .dim:last-child { margin-top: 18px; }
}

/* uski mobitel: pill mora ostati u JEDNOM redu — spuštena veličina i razmak
   slova umjesto nezgrapnog dvorednog pilla */
@media (max-width: 470px) {
  .pill {
    font-size: 0.68rem; letter-spacing: 0.08em;
    padding: 6px 13px; white-space: nowrap;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); letter-spacing: -0.034em; }
  .close h2 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .case-grid li { grid-template-columns: 30px minmax(0, 1fr); }
  .channels > div { grid-template-columns: 78px minmax(0, 1fr); }
  .shot-url { font-size: 0.7rem; }
  .actions .btn { flex: 1 1 100%; }
}

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