/* ==========================================================================
   site.css — Solartom
   Smjer: Apple načela (jedan font, težina + veličina, puno zraka, fotografija
   i video nose boju). Boje iz logotipa: tamnoplava #122D6A i sunce #FFA53B.
   Sunce na bijelom nema kontrast za tekst (2:1), zato je narančasta samo
   podloga gumba na tamnom i sitni naglasci; tekst i glavni gumbi su plavi.
   ========================================================================== */

@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #122D6A;
  --navy-deep: #0B1D47;
  --sun: #FFA53B;
  --sun-hover: #FFB65E;
  --ink: oklch(20% 0.03 265);
  --ink-muted: oklch(45% 0.02 265);
  --paper: #fff;
  --paper-2: oklch(97.4% 0.004 265);  /* sekcija izračuna, kao Appleova siva */
  --line: oklch(90% 0.008 265);
  --r-card: 28px;
  --r-tile: 18px;
  --head-h: 64px;
  color-scheme: light;
}

/* logotipi su prozirni SVG: bez sive podloge za učitavanje iz finish.css */
img[src$=".svg"] { background: none; }

html { scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  background: var(--paper);
  color: var(--ink);
  --content-w: 72rem;
}
h1, h2, h3, h4 { font-weight: 600; color: var(--ink); }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); letter-spacing: -0.03em; line-height: 1.04; }
.t-lead { color: var(--ink-muted); font-weight: 450; }
a { color: var(--navy); }

/* --- gumbi -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.35em;
  border-radius: 999px; border: 0;
  font: inherit; font-weight: 550; font-size: var(--type-0); line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform var(--dur-press) var(--ease-out), color 160ms var(--ease-out);
}
.btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding-inline: 1.7em; font-size: var(--type-1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-sun { background: var(--sun); color: var(--navy-deep); }
.btn-glass { background: rgb(255 255 255 / 0.16); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) and (pointer: fine) {
  .btn-navy:hover { background: var(--navy-deep); }
  .btn-sun:hover { background: var(--sun-hover); }
  .btn-glass:hover { background: rgb(255 255 255 / 0.26); }
  .btn-quiet:hover { background: var(--paper-2); }
}

.demo-badge {
  /* stoji na vrhu stranice, ne pluta preko gumba izračuna */
  position: absolute; z-index: 60; right: 12px; top: calc(var(--head-h) + 60px);
  padding: 6px 10px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  pointer-events: none;
}

/* --- zaglavlje ----------------------------------------------------------
   Preko videa je prozirno i bijelo; kad hero ode, dobiva materijal (krom
   je jedino mjesto gdje smije prozirnost, apple-fluid.md §12).            */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--head-h);
  color: #fff;
  transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.site-head.is-solid {
  color: var(--ink);
  background: color-mix(in oklab, #fff 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.06);
}
@media (prefers-reduced-transparency: reduce) { .site-head.is-solid { background: #fff; backdrop-filter: none; } }
.site-head__in {
  height: 100%; max-width: calc(var(--content-w) + 2 * var(--space-l)); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: var(--space-m);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: auto; }
.brand__word {
  display: block; width: 104px; aspect-ratio: 3576 / 530;
  background: currentColor;
  -webkit-mask: url("../img/logo-natpis.svg") center / contain no-repeat;
  mask: url("../img/logo-natpis.svg") center / contain no-repeat;
}
.site-head:not(.is-solid) .brand__word { background: #fff; }
.site-head.is-solid .brand__word { background: var(--navy); }
.site-nav { display: flex; gap: var(--space-m); }
.site-nav a { color: inherit; text-decoration: none; font-size: var(--type-n1); font-weight: 500; opacity: 0.86; padding-block: 10px; }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { opacity: 1; } }
.head-cta {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--sun); color: var(--navy-deep); font-size: var(--type-n1); font-weight: 600; text-decoration: none;
  transition: transform var(--dur-press) var(--ease-out);
}
.head-cta:active { transform: scale(0.96); }
.site-head.is-solid .head-cta { background: var(--navy); color: #fff; }
@media (max-width: 900px) { .site-nav { display: none; } }

/* --- hero ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(560px, 100svh);
  display: grid; align-items: end;
  color: #fff; overflow: hidden;
  background: var(--navy-deep) url("../media/hero-poster.jpg") center / cover;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* scrim samo tamo gdje je tekst: dolje lijevo, ne preko cijelog kadra */
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgb(6 14 36 / 0.78) 0%, rgb(6 14 36 / 0.42) 38%, rgb(6 14 36 / 0) 64%),
    linear-gradient(to bottom, rgb(6 14 36 / 0.45) 0%, rgb(6 14 36 / 0) 18%);
}
.hero__copy {
  width: min(100% - 2 * var(--gutter), var(--content-w)); margin-inline: auto;
  padding-block: 0 clamp(2.5rem, 8vh, 5.5rem);
}
.hero h1 {
  color: #fff; font-weight: 600;
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.6rem);
  line-height: 1.02; letter-spacing: -0.022em; max-width: 15ch; margin-bottom: var(--space-s);
}
.hero__lead { font-size: var(--type-2); line-height: 1.3; font-weight: 450; color: rgb(255 255 255 / 0.9); max-width: 30ch; margin-bottom: var(--space-l); letter-spacing: -0.01em; }
.hero__cta { --cluster-gap: 12px; }
.hero__pause {
  position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 8vh, 5.5rem);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgb(255 255 255 / 0.16); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3);
}
.hero__pause svg { fill: currentColor; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.hero__pause:active { transform: scale(0.94); }
@media (max-width: 700px) {
  .hero__pause { bottom: auto; top: calc(var(--head-h) + 8px); }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* --- činjenice ----------------------------------------------------------- */
.facts { padding-block: var(--space-2xl); }
.facts__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-l); grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }
.facts__list li { margin: 0; max-width: none; }
.facts__list strong { display: block; font-size: var(--type-3); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: var(--navy); }
.facts__list span { display: block; margin-top: 6px; color: var(--ink-muted); max-width: 26ch; }

/* --- izračun ------------------------------------------------------------- */
.calc-wrap { background: var(--paper-2); padding: var(--space-3xl) var(--gutter); }
.calc-intro { max-width: 46rem; margin: 0 auto var(--space-xl); text-align: center; }
.calc-intro h2, .calc-intro p { margin-inline: auto; }
.calc-intro p { max-width: 40ch; }
.calc {
  max-width: 46rem; margin-inline: auto;
  background: #fff; border-radius: var(--r-card);
  padding: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.04), 0 12px 40px -12px rgb(16 24 40 / 0.12);
}
.calc__bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: var(--space-s); }
.calc__bar span { height: 4px; border-radius: 4px; background: var(--line); transition: background-color 300ms var(--ease-out); }
.calc__bar span.is-done { background: var(--navy); }
.calc__bar span.is-now { background: var(--sun); }
.calc__count { color: var(--ink-muted); margin-bottom: var(--space-m); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
/* koraci iste visine, da Natrag/Dalje ne poskakuju */
@media (min-width: 700px) { .calc.is-js .step.is-on { min-height: 23rem; } }
.step legend { padding: 0; margin-bottom: var(--space-m); }
.step__q { display: block; font-size: var(--type-3); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
.step__note { color: var(--ink-muted); margin: var(--space-s) 0 0; }

/* bez JS-a svi koraci stoje jedan ispod drugoga i obrazac radi */
.calc.is-js .step, .calc.is-js .result { display: none; }
.calc.is-js .step.is-on, .calc.is-js .result.is-on { display: block; animation: step-in 320ms var(--ease-out); }
.calc:not(.is-js) .step + .step, .calc:not(.is-js) .result { margin-top: var(--space-xl); }
.calc:not(.is-js) .calc__nav, .calc:not(.is-js) .calc__bar, .calc:not(.is-js) .calc__count { display: none; }
@keyframes step-in { from { opacity: 0; transform: translateX(var(--step-dir, 16px)); } }

/* pločice */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .tiles--3 { grid-template-columns: 1fr; } }
.tile {
  position: relative; display: grid; gap: 4px; align-content: start;
  padding: 18px 18px 16px; min-height: 128px;
  border-radius: var(--r-tile); background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: pointer;
  transition: box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.tile--text { min-height: 104px; }
/* na mobitelu jedan stupac, ikona lijevo: dva stupca lome "Kuća ili stan" u tri retka */
@media (max-width: 560px) {
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tile { min-height: 0; grid-template-columns: 34px minmax(0, 1fr); overflow-wrap: anywhere; column-gap: 14px; align-items: center; padding: 14px 16px; }
  .tile svg { grid-row: span 2; margin: 0; }
  .tile--text { grid-template-columns: 1fr; }
  .tile__t:only-of-type { grid-row: span 2; }
  .calc.is-js .step.is-on { min-height: 0; }
}
.tile:active { transform: scale(0.98); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile svg { width: 34px; height: 34px; margin-bottom: 10px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.tile__t { font-weight: 600; font-size: var(--type-0); line-height: 1.2; padding-right: 26px; }
.tile__d { font-size: var(--type-n1); color: var(--ink-muted); line-height: 1.3; }
.tile:has(input:checked) { box-shadow: inset 0 0 0 2px var(--navy); background: oklch(97.5% 0.012 265); }
.tile:has(input:checked)::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.tile:has(input:focus-visible) { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .tile:hover { box-shadow: inset 0 0 0 1.5px oklch(75% 0.03 265); } }

/* čipovi i segment */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .seg label { position: relative; cursor: pointer; }
.chip input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.chip input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.chip input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.chip:active span { transform: scale(0.97); }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); margin-bottom: var(--space-m); }
.seg span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; font-size: var(--type-n1); font-weight: 550; color: var(--ink-muted); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(16 24 40 / 0.12); }

/* klizač: velika vrijednost, staza puni do palca */
.slider__val { display: block; font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: var(--space-s); color: var(--navy); }
.slider input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer;
  --fill: 10%;
}
.slider input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--navy) var(--fill), var(--line) var(--fill)); }
.slider input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--navy) var(--fill), var(--line) var(--fill)); }
.slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06), 0 2px 8px rgb(16 24 40 / 0.22); transition: transform var(--dur-press) var(--ease-out); }
.slider input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06), 0 2px 8px rgb(16 24 40 / 0.22); }
.slider input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.slider input[type="range"]:focus-visible { outline: none; }
.slider input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--sun); }
.slider__ends { display: flex; justify-content: space-between; color: var(--ink-muted); }

.extras { display: grid; gap: 4px; margin-top: var(--space-m); }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 10px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--navy); }
.check span { line-height: 1.35; }
.check--consent { font-size: var(--type-n1); color: var(--ink-muted); margin-block: var(--space-s); }

.orient { margin-top: var(--space-l); }
.orient[hidden] { display: none; }
.orient__q { font-weight: 600; margin-bottom: var(--space-xs); }

.calc__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: var(--space-xl); }
.calc__nav [data-prev][hidden] { display: inline-flex; visibility: hidden; }
.calc__nav [data-next][hidden] { display: none; }

/* rezultat */
.result:focus { outline: none; }
.result__kicker { font-weight: 600; color: var(--ink-muted); margin-bottom: 4px; }
.result__kw { font-size: clamp(3.5rem, 2.4rem + 5vw, 6rem); font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; color: var(--navy); margin: 0 0 var(--space-2xs); font-variant-numeric: tabular-nums; max-width: none; }
.result__kw small { font-size: 0.42em; letter-spacing: -0.02em; font-weight: 550; }
.result__sub { color: var(--ink-muted); font-size: var(--type-1); margin-bottom: var(--space-l); }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-l); margin: 0 0 var(--space-l); }
.spec > div { padding-block: 14px; border-top: 1px solid var(--line); }
.spec dt { font-size: var(--type-n1); color: var(--ink-muted); }
.spec dd { margin: 2px 0 0; font-weight: 550; line-height: 1.35; }
.spec [hidden] { display: none; }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } }

.gains {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); gap: var(--space-s);
  padding: var(--space-m); border-radius: 20px; background: var(--navy); color: #fff;
}
.gains > div[hidden] { display: none; }
.gains__n { display: block; font-size: var(--type-4); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--sun); }
.gains__l { display: block; font-size: var(--type-n1); color: rgb(255 255 255 / 0.8); margin-top: 4px; }

.assume { margin-top: var(--space-m); border-top: 1px solid var(--line); }
.assume summary { padding-block: 14px; font-weight: 550; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.assume summary::after { content: "+"; font-size: 1.4em; font-weight: 400; line-height: 1; transition: transform 200ms var(--ease-out); }
.assume[open] summary::after { transform: rotate(45deg); }
.assume__body { color: var(--ink-muted); font-size: var(--type-n1); }
.assume__body p { max-width: none; }
.price-in { display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--space-s); color: var(--ink); font-weight: 550; }
.price-in input { width: 6.5em; min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; }

.send { margin-top: var(--space-xl); padding-top: var(--space-l); border-top: 1px solid var(--line); }
.send h4 { font-size: var(--type-3); letter-spacing: -0.025em; margin-bottom: 6px; }
.send__why { color: var(--ink-muted); margin-bottom: var(--space-m); }
.send__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; font-size: var(--type-n1); font-weight: 550; }
.field em { font-style: normal; font-weight: 400; color: var(--ink-muted); }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
  box-sizing: border-box; width: 100%;
  font: inherit; font-size: max(16px, 1rem); font-weight: 400; color: var(--ink);
  min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color 160ms var(--ease-out);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 4px oklch(88% 0.04 265); }
@media (max-width: 560px) { .send__grid { grid-template-columns: 1fr; } .btn-lg { font-size: var(--type-0); padding-inline: 1.2em; } }
.send .btn { width: 100%; }
.form-status:empty { display: none; }
.form-status { margin-top: var(--space-s); padding: 14px 16px; border-radius: 14px; }

/* --- projekti: traka koja se vuče mišem ili prstom ----------------------
   Bez scroll-snapa: snap na kraju poteza povuče karticu na svoje mjesto i to
   se osjeća kao zastajkivanje. Traka se pomiče 1:1 i nastavlja zamahom
   (site.js), a na početku je centrirana: srednji rad u sredini ekrana.     */
.projects { padding-block: var(--space-3xl) var(--space-2xl); overflow: hidden; }
.projects__head { width: min(100% - 2 * var(--gutter), var(--content-w)); margin: 0 auto var(--space-xl); text-align: center; }
.projects__head h2, .projects__head p { margin-inline: auto; }
.projects__head p { max-width: 44ch; }
.projects__reel {
  list-style: none; margin: 0; padding: 0 var(--gutter) var(--space-s);
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 30rem); gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  -webkit-user-select: none; user-select: none;
}
.projects__reel::-webkit-scrollbar { display: none; }
.projects__reel.is-dragging { cursor: grabbing; }
.projects__reel img { -webkit-user-drag: none; pointer-events: none; }
.proj { margin: 0; max-width: none; }
.proj figure { margin: 0 0 var(--space-s); border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.proj img { width: 100%; height: 100%; object-fit: cover; }
.proj__where { color: var(--ink-muted); font-size: var(--type-n1); margin-bottom: 2px; }
.proj__kw { font-size: var(--type-4); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 6px; color: var(--navy); }
.proj__kw span { font-weight: 500; color: var(--ink-muted); font-size: 0.6em; letter-spacing: -0.02em; }
.proj__gear { margin: 0; max-width: 34ch; }

/* --- otočni: kadar se skrolom raširi do ruba ---------------------------- */
.island { padding-block: var(--space-xl); }
.island__frame {
  --p: var(--sm-progress, 1);
  position: relative; isolation: isolate; overflow: hidden;
  height: min(88svh, 52rem); min-height: 30rem;
  margin-inline: calc((1 - var(--p)) * max(var(--gutter), (100vw - var(--content-w)) / 2));
  border-radius: calc((1 - var(--p)) * 32px + 0px);
  background: var(--navy-deep) url("../media/otok-poster.jpg") center / cover;
  color: #fff;
  display: grid; align-items: end;
}
.island__frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(6 14 36 / 0.72), rgb(6 14 36 / 0) 55%); }
.island__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.island__copy { width: min(100% - 2 * var(--gutter), var(--content-w)); margin-inline: auto; padding-bottom: var(--space-2xl); }
.island__copy h2 { color: #fff; max-width: 14ch; }
.island__copy p { color: rgb(255 255 255 / 0.9); font-size: var(--type-1); max-width: 34ch; margin-bottom: var(--space-l); }

/* --- oprema ------------------------------------------------------------- */
.gear { padding-block: var(--space-3xl) var(--space-2xl); }
.gear__lead { margin-bottom: var(--space-xl); }
.gear__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: var(--space-l) var(--space-xl); }
.gear__grid li { margin: 0; padding-top: var(--space-s); border-top: 1px solid var(--line); max-width: none; }
.gear__grid h3 { font-size: var(--type-2); letter-spacing: -0.025em; margin-bottom: 6px; }
.gear__grid p { color: var(--ink-muted); margin: 0; }

/* --- rad ---------------------------------------------------------------- */
.work { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; padding-right: var(--gutter); }
.work__img { margin: 0; aspect-ratio: 4 / 3; border-radius: 0 28px 28px 0; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; }
.work__copy { max-width: 32rem; }
.work__copy > p { color: var(--ink-muted); font-size: var(--type-1); line-height: 1.45; }
.work__list { list-style: none; padding: 0; margin: var(--space-m) 0 var(--space-l); }
.work__list li { padding: 10px 0 10px 30px; position: relative; font-weight: 500; margin: 0; border-top: 1px solid var(--line); }
.work__list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--sun); }
.quote { margin: 0; padding: var(--space-m); border-radius: 20px; background: var(--paper-2); }
.quote p { font-size: var(--type-2); font-weight: 550; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: var(--space-2xs); }
.quote footer { color: var(--ink-muted); font-size: var(--type-n1); }
@media (max-width: 900px) {
  .work { grid-template-columns: minmax(0, 1fr); padding-inline: 0; gap: var(--space-l); }
  .work__img { border-radius: 0; }
  .work__copy { padding-inline: var(--gutter); max-width: none; }
}

/* --- pitanja ------------------------------------------------------------- */
.faq { padding-block: var(--space-2xl) var(--space-3xl); }
.faq h2 { margin-bottom: var(--space-l); }
.faq__list { max-width: 52rem; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-s); min-height: 64px; padding-block: 14px; font-size: var(--type-1); font-weight: 550; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5em; font-weight: 300; line-height: 1; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: var(--space-m); color: var(--ink-muted); }
.faq details p { margin: 0; }

/* --- kontakt ------------------------------------------------------------- */
.contact { background: var(--navy); color: #fff; padding: var(--space-3xl) var(--gutter); }
.contact__in { max-width: var(--content-w); margin-inline: auto; }
.contact h2 { color: #fff; margin-bottom: var(--space-2xs); }
.contact__tel { display: inline-block; color: var(--sun); text-decoration: none; font-size: clamp(2.6rem, 1.6rem + 5vw, 6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; margin-bottom: var(--space-m); }
.contact__list { list-style: none; padding: 0; margin: 0 0 var(--space-l); display: grid; gap: 10px; }
.contact__list li { display: flex; align-items: center; gap: 12px; margin: 0; color: rgb(255 255 255 / 0.88); }
.contact__list svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact__list a { color: #fff; }

/* --- podnožje ------------------------------------------------------------ */
.site-foot { padding: var(--space-xl) var(--gutter) var(--space-2xl); background: var(--paper-2); }
.site-foot__in { max-width: var(--content-w); margin-inline: auto; display: grid; gap: var(--space-m); }
.site-foot__logo { width: 150px; height: auto; }
.site-foot__legal { color: var(--ink-muted); }
.site-foot__legal p { margin-bottom: 4px; max-width: 80ch; }
.site-foot__nav a { color: var(--ink-muted); }

/* --- smanjeni pokret: kadar otoka odmah pun, koraci bez klizanja -------- */
@media (prefers-reduced-motion: reduce) {
  .island__frame { --p: 1; }
  .calc.is-js .step.is-on, .calc.is-js .result.is-on { animation-name: step-fade; }
  @keyframes step-fade { from { opacity: 0; } }
}

@media print {
  .site-head, .hero__video, .hero__pause, .island, .calc__nav, .send, .demo-badge { display: none !important; }
  .hero { min-height: 0; color: var(--ink); background: none; }
  .hero h1 { color: var(--ink); }
}
