/* Pricewarden - javna stranica. Boje iz apps/icons/_brand (pine, zlatna, ivory, sage). Bez vanjskih resursa. */
:root {
  color-scheme: light;
  --pine: #0e4a38;
  --pine-2: #0b3d2e;
  --pine-3: #072a20;
  --ink: #14251f;
  --ink-2: #44574e;
  --gold: #d9a441;
  --gold-ink: #7d5407;
  --ivory: #f3efe4;
  --paper: #fbf9f3;
  --sage: #8ba496;
  --mist: #c0cabe;
  --wordmark: #759485;
  --line: rgba(14, 74, 56, 0.16);
  --line-soft: rgba(14, 74, 56, 0.09);
  --shadow: 0 1px 2px rgba(7, 42, 32, 0.08), 0 12px 32px -12px rgba(7, 42, 32, 0.28);
  --shadow-lg: 0 2px 4px rgba(7, 42, 32, 0.12), 0 40px 80px -30px rgba(3, 22, 16, 0.6);
  --r: 14px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: "Avenir Next", Avenir, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--pine); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.022em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pine); color: var(--ivory); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.8em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.03rem; line-height: 1.15; text-decoration: none; text-align: center;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--gold { background: var(--gold); color: var(--pine-3); box-shadow: 0 10px 30px -10px rgba(217, 164, 65, 0.7); }
.btn--gold:hover { background: #e6b354; transform: translateY(-1px); }
.btn--pine { background: var(--pine); color: var(--ivory); box-shadow: 0 10px 26px -12px rgba(14, 74, 56, 0.8); }
.btn--pine:hover { background: var(--pine-2); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(243, 239, 228, 0.42); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--ivory); background: rgba(243, 239, 228, 0.08); }
.btn--line { border-color: var(--line); color: var(--pine); background: transparent; }
.btn--line:hover { border-color: var(--pine); }
.btn--sm { min-height: 42px; padding: 0.55em 1.15em; font-size: 0.95rem; }
.btn--block { width: 100%; }

/* ---------- zaglavlje ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 239, 228, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.top__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--wordmark); flex: none; }
.brand__mark { width: 38px; height: 38px; }
.brand__word { width: 150px; height: auto; fill: currentColor; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.nav a:hover { background: rgba(14, 74, 56, 0.08); color: var(--pine); }
.top__cta { flex: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .top__cta { margin-left: auto; }
  .top__in { min-height: 60px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__word { width: 128px; }
}
@media (max-width: 380px) { .brand__word { width: 112px; } .top__in { gap: 12px; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--pine); color: var(--ivory); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(139, 164, 150, 0.34), transparent 70%),
    radial-gradient(40% 40% at 88% 18%, rgba(217, 164, 65, 0.16), transparent 70%),
    linear-gradient(180deg, var(--pine) 0%, var(--pine-2) 62%, var(--pine-3) 100%);
}
/* tri "privjeska" iz znaka (rotirani zaobljeni kvadrati), samo ukras */
.hero__tags { position: absolute; z-index: -1; right: -130px; top: -150px; width: 560px; height: 560px; pointer-events: none; }
.hero__tags i { position: absolute; inset: 0; border-radius: 76px; transform: rotate(45deg) scale(0.62); border: 1.5px solid rgba(243, 239, 228, 0.1); }
.hero__tags i:nth-child(2) { transform: translate(-56px, 56px) rotate(45deg) scale(0.62); border-color: rgba(243, 239, 228, 0.075); }
.hero__tags i:nth-child(3) { transform: translate(-112px, 112px) rotate(45deg) scale(0.62); border-color: rgba(217, 164, 65, 0.2); }
.hero__in { padding-top: clamp(44px, 6vw, 76px); text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.hero .eyebrow { color: #cddbd2; padding: 7px 14px; border: 1px solid rgba(243, 239, 228, 0.2); border-radius: 999px; background: rgba(243, 239, 228, 0.05); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.hero h1 { margin: 24px auto 0; font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.05; letter-spacing: -0.032em; }
.hero h1 span { display: block; }
.hero h1 .zl { color: var(--gold); }
.hero__lead { text-wrap: balance; margin: 24px auto 0; max-width: 46rem; font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.58; color: #dfe7df; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__note { margin-top: 20px; font-size: 0.95rem; color: #b9cbbf; }
.hero__shot { margin: clamp(36px, 5vw, 60px) auto 0; max-width: 1120px; position: relative; }
.hero__shot .kadar { box-shadow: var(--shadow-lg); border-color: rgba(243, 239, 228, 0.22); border-radius: 14px; }
.hero__shot .kadar--dno { border-radius: 16px 16px 0 0; border-bottom: 0; }
.hero__korak { display: flex; align-items: center; gap: 10px; margin: 0 0 10px 4px; text-align: left; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em; color: #cddbd2; }
.hero__korak b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--gold); color: var(--pine-3); font-size: 0.8rem; }
.hero__shot .kadar--traka { margin-bottom: 22px; }
.hero__shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(7, 42, 32, 0.5)); pointer-events: none; }
@media (max-width: 640px) {
  .hero__cta .btn { width: 100%; }
  .hero__tags { right: -260px; top: -210px; }
}

/* ---------- kadar (snimka zaslona) ---------- */
.kadar { margin: 0; background: #f1f1f1; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.kadar img { width: 100%; }
.platno { border-radius: 26px; padding: clamp(18px, 3.2vw, 40px); background: linear-gradient(150deg, #e3e7d9 0%, #cfd9cd 100%); position: relative; overflow: hidden; }
.platno::before { content: ""; position: absolute; width: 380px; height: 380px; right: -150px; top: -190px; border-radius: 60px; transform: rotate(45deg); background: rgba(243, 239, 228, 0.5); }
.platno > * { position: relative; }
.platno--pine { background: linear-gradient(150deg, #165a45 0%, var(--pine) 100%); }
.platno--pine::before { background: rgba(243, 239, 228, 0.06); }

/* ---------- traka cinjenica ---------- */
.facts { background: var(--pine-3); color: var(--ivory); }
.facts__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.facts__item { padding: 30px 22px 30px; border-left: 1px solid rgba(243, 239, 228, 0.12); display: flex; flex-direction: column; }
.facts__p { margin-top: auto; padding-top: 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb3a7; }
.facts__item:first-child { border-left: 0; padding-left: 0; }
.facts__n { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--gold); }
.facts__t { margin-top: 8px; font-size: 0.95rem; line-height: 1.5; color: #c8d6cc; }
@media (max-width: 1100px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__item { padding: 22px 18px; border-left: 0; border-top: 1px solid rgba(243, 239, 228, 0.12); }
  .facts__item:first-child { grid-column: 1 / -1; border-top: 0; }
  .facts__item:nth-child(even) { padding-left: 0; }
}
@media (max-width: 520px) {
  .facts__grid { grid-template-columns: 1fr; }
  .facts__item { padding: 18px 0; }
}

/* ---------- odjeljci ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec--uvod { padding-bottom: 0; }
.sec--paper { background: var(--paper); border-block: 1px solid var(--line-soft); }
.sec__head { max-width: 46rem; }
.sec__head--c { margin-inline: auto; text-align: center; }
.sec__head h2 { margin-top: 14px; font-size: clamp(1.9rem, 4vw, 3rem); }
.sec__head > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: 1.12rem; }
.eyebrow--pine { color: var(--gold-ink); }

/* ---------- znacajke ---------- */
.feat { padding-block: clamp(56px, 8vw, 104px); }
.feat + .feat { border-top: 1px solid var(--line-soft); }
.feat:nth-of-type(even) { background: var(--paper); }
.feat__num { display: inline-flex; align-items: center; gap: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
.feat__num b { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 7px; background: var(--pine); color: var(--ivory); letter-spacing: 0.04em; font-size: 0.78rem; }
.feat__h { margin-top: 18px; font-size: clamp(1.75rem, 3.5vw, 2.65rem); max-width: 20ch; }
.feat__txt p { margin-top: 16px; color: var(--ink-2); max-width: 36rem; }
.feat__txt p:first-of-type { margin-top: 22px; }
.ticks { margin-top: 22px; display: grid; gap: 11px; max-width: 36rem; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.36em; width: 11px; height: 11px; border-radius: 3px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.22); }
.primjer { margin-top: 20px; max-width: 36rem; padding: 14px 16px; border-radius: 12px; background: rgba(217, 164, 65, 0.14); border-left: 3px solid var(--gold); font-size: 0.97rem; line-height: 1.5; color: var(--ink); }
.primjer b { color: var(--gold-ink); }
.feat__txt .primjer { color: var(--ink); }
.natrag { margin-top: 20px; max-width: 36rem; display: grid; gap: 0; counter-reset: natrag; border-top: 1px solid var(--line); }
.natrag li { counter-increment: natrag; display: grid; grid-template-columns: 34px 8.2em 1fr; gap: 0 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; line-height: 1.45; }
.natrag li::before { content: counter(natrag); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--pine); color: var(--ivory); font-size: 0.78rem; font-weight: 700; }
.natrag b { font-weight: 700; }
.natrag span { color: var(--ink-2); }
@media (max-width: 520px) { .natrag li { grid-template-columns: 34px 1fr; } .natrag span { grid-column: 2; } }
.planline { margin-top: 26px; display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; line-height: 1.45; color: var(--ink-2); max-width: 36rem; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.45); }
.planline svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--pine); }
.fine { margin-top: 18px; font-size: 0.92rem; color: var(--ink-2); max-width: 36rem; padding-left: 14px; border-left: 3px solid var(--mist); }

/* raspored: tekst | uski kadar */
.feat__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.feat--usko .platno { justify-self: end; width: 100%; max-width: 560px; }
.feat--obrnuto .feat__grid > .feat__txt { order: 2; }
.feat--obrnuto .platno { justify-self: start; }
.feat--usko .platno > .kadar, .feat--par .platno > .kadar { max-width: 520px; margin-inline: auto; }
/* raspored: zaglavlje u dva stupca + siroki kadar ispod */
.feat--siroko .feat__grid { align-items: start; }
.feat--siroko .feat__media { margin-top: clamp(32px, 4.5vw, 56px); }
.feat__txt--r > p:first-child { margin-top: 0; }
.feat__txt--r { padding-top: 44px; }
/* dva uska kadra u prirodnoj velicini, stepenasto, na sirokom platnu */
.feat--dva-uska .feat__grid { align-items: start; }
.feat--dva-uska .feat__media { margin-top: clamp(32px, 4.5vw, 56px); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 520px)); justify-content: center; gap: clamp(14px, 3.5vw, 48px); align-items: start; }
.duo .kadar:nth-child(2) { margin-top: clamp(20px, 4vw, 56px); }
/* par: uski kadar uz tekst, siroki ispod */
.feat__wide { margin-top: clamp(28px, 4vw, 48px); }

.chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 0.86rem; font-weight: 600; line-height: 1; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.6); color: var(--pine); }

@media (max-width: 900px) {
  .feat__grid { grid-template-columns: 1fr; }
  .feat--obrnuto .feat__grid > .feat__txt { order: 0; }
  .feat--usko .platno, .feat--obrnuto .platno { justify-self: stretch; max-width: none; }
  .feat__txt--r { padding-top: 0; }
  .feat__txt--r > p:first-child { margin-top: 4px; }
  .feat--siroko .feat__grid, .feat--dva-uska .feat__grid { gap: 14px; }
}
/* mobitel: siroki kadrovi se izrezuju na citljiv dio (isti file, object-fit), uski ostaju cijeli */
@media (max-width: 700px) {
  .kadar--mob img { aspect-ratio: var(--mob-ar, 1.2); object-fit: cover; object-position: var(--mob-pos, 0% 0%); }
  .platno { border-radius: 20px; padding: 14px; }
  .mob-skrij { display: none; }
}
@media (max-width: 560px) {
  .duo { grid-template-columns: 1fr; }
  .duo .kadar:nth-child(2) { margin-top: 0; }
}

/* ---------- jos u kutiji ---------- */
.box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(32px, 4.5vw, 56px); }
.box__item { padding: 26px 24px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.sec--paper .box__item { background: #fff; }
.box__item h3 { font-size: 1.14rem; letter-spacing: -0.012em; }
.box__item p:not(.tag) { margin-top: 10px; font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); flex: 1; }
.tag { align-self: flex-start; margin-top: 16px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 7px; background: rgba(14, 74, 56, 0.08); color: var(--pine); }
@media (max-width: 900px) { .box { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .box { grid-template-columns: 1fr; } }

/* ---------- kako radi ---------- */
.how { background: var(--pine); color: var(--ivory); position: relative; overflow: hidden; }
.how .eyebrow { color: var(--gold); }
.how .sec__head > p:not(.eyebrow) { color: #c8d6cc; }
.steps { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: korak; }
.step { counter-increment: korak; padding: 30px 30px 34px; border-left: 1px solid rgba(243, 239, 228, 0.16); position: relative; }
.step:first-child { border-left: 0; padding-left: 0; }
.step::before { content: "0" counter(korak); display: block; font-size: 3.4rem; line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--gold); }
.step h3 { margin-top: 18px; font-size: 1.5rem; }
.step p { margin-top: 10px; color: #d3dfd6; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding: 26px 0; border-left: 0; border-top: 1px solid rgba(243, 239, 228, 0.16); display: grid; grid-template-columns: 76px 1fr; column-gap: 8px; }
  .step:first-child { border-top: 0; }
  .step::before { grid-row: span 2; font-size: 2.6rem; }
  .step h3 { margin-top: 2px; }
}

/* ---------- cjenik ---------- */
.plans { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.plan h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.plan__for { margin-top: 6px; min-height: 2.9em; font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.plan__price { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-size: 2.7rem; line-height: 1; letter-spacing: -0.04em; }
.plan__price span { font-size: 0.92rem; color: var(--ink-2); }
.plan__trial { margin-top: 8px; font-size: 0.86rem; font-weight: 600; color: var(--gold-ink); min-height: 1.5em; }
.plan ul { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 22px; font-size: 0.92rem; line-height: 1.42; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 10px; height: 6px; border-left: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: rotate(-45deg); }
.plan .btn { margin-top: 22px; }
.plan--top { background: var(--pine); color: var(--ivory); border-color: var(--pine); box-shadow: 0 30px 60px -30px rgba(7, 42, 32, 0.75); }
.plan--top .plan__for, .plan--top .plan__price span { color: #c8d6cc; }
.plan--top .plan__trial { color: var(--gold); }
.plan--top ul { border-top-color: rgba(243, 239, 228, 0.18); }
.plan--top li::before { border-color: var(--gold); }
.plan__badge { position: absolute; left: 20px; top: -13px; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 10px; border-radius: 7px; background: var(--gold); color: var(--pine-3); white-space: nowrap; }
.plans__notes { margin-top: 28px; display: grid; gap: 8px; font-size: 0.95rem; color: var(--ink-2); max-width: 62rem; }
@media (max-width: 1160px) {
  .plans { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; row-gap: 26px; }
  .plan { grid-column: span 2; }
  .plan:nth-child(4), .plan:nth-child(5) { grid-column: span 3; }
  .plan__for { min-height: 0; }
}
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .plan, .plan:nth-child(4), .plan:nth-child(5) { grid-column: auto; }
}

.cmp { margin-top: clamp(40px, 5vw, 64px); }
.cmp h3 { font-size: 1.35rem; }
.cmp__scroll { position: relative; margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; -webkit-overflow-scrolling: touch; }
.cmp table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.93rem; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.cmp thead th { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); }
.cmp tbody th { font-weight: 600; white-space: normal; min-width: 210px; position: sticky; left: 0; background: #fff; }
.cmp thead th:first-child { position: sticky; left: 0; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) { .cmp tbody th { min-width: 148px; } .cmp th, .cmp td { padding: 12px; } .cmp table { min-width: 640px; } }
.cmp td.no { color: #7b8a82; }
.cmp td.yes { color: var(--pine); font-weight: 700; }
.cmp .col-top { background: rgba(14, 74, 56, 0.06); }
.cmp thead .col-top { color: var(--pine); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__side { position: sticky; top: 104px; }
.faq__side h2 { margin-top: 14px; font-size: clamp(1.9rem, 4vw, 3rem); }
.faq__side > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); }
.faq__side .btn { margin-top: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 4px; font-weight: 700; font-size: 1.14rem; line-height: 1.35; letter-spacing: -0.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 30px; height: 30px; margin-top: -1px; border-radius: 50%; border: 1.5px solid var(--line); background: linear-gradient(var(--pine), var(--pine)) center / 12px 2px no-repeat, linear-gradient(var(--pine), var(--pine)) center / 2px 12px no-repeat; transition: transform 0.2s ease, background-color 0.2s ease; }
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: rgba(217, 164, 65, 0.25); border-color: var(--gold); }
.faq__list summary:hover { color: var(--pine); }
.faq__a { padding: 0 52px 24px 4px; display: grid; gap: 12px; color: var(--ink-2); }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .faq__a { padding-right: 8px; }
  .faq__list summary { font-size: 1.06rem; padding: 18px 2px; }
}

/* ---------- o nama + zavrsni poziv ---------- */
.about { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; max-width: 54rem; margin-inline: auto; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--line-soft); }
.about img { width: 92px; height: 92px; border-radius: 22px; box-shadow: var(--shadow); }
.about h2 { font-size: 1.6rem; }
.about p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 560px) { .about { grid-template-columns: 1fr; } .about img { width: 72px; height: 72px; border-radius: 18px; } }

.cta { background: var(--pine); color: var(--ivory); position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 0%, rgba(139, 164, 150, 0.32), transparent 70%), linear-gradient(180deg, var(--pine), var(--pine-2)); }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.cta p { margin: 18px auto 0; max-width: 40rem; color: #d3dfd6; font-size: 1.12rem; }
.cta .btn { margin-top: 30px; }

/* ---------- podnozje ---------- */
.foot { background: var(--pine-3); color: #c8d6cc; padding-top: clamp(48px, 6vw, 72px); font-size: 0.97rem; }
.foot a { color: var(--ivory); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.foot .brand { color: var(--ivory); }
.foot .brand__word path { fill: var(--ivory); }
.foot__about p { margin-top: 18px; max-width: 26rem; line-height: 1.6; }
.foot__h { margin: 0; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); font-weight: 700; }
.foot ul { margin-top: 16px; display: grid; gap: 10px; }
.foot__legal { margin-top: clamp(40px, 5vw, 64px); padding-block: 22px 12px; border-top: 1px solid rgba(243, 239, 228, 0.12); font-size: 0.86rem; line-height: 1.55; color: #9fb3a7; text-align: center; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__about { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot__grid { grid-template-columns: 1fr; } }

.foot__btn { font: inherit; color: var(--ivory); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.foot__btn:hover { text-decoration: underline; }
.foot__stats { margin: 0 auto 6px; max-width: 60rem; font-size: 0.86rem; line-height: 1.6; color: #9fb3a7; text-align: center; }
.foot__stats summary { cursor: pointer; display: inline-block; padding: 6px 4px; color: #c8d6cc; }
.foot__stats p { margin-top: 10px; text-align: left; }
/* traka privole: dva jednaka gumba, bez kolacica (izvor/analitika.js) */
.cc { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; max-width: 46rem; margin-inline: auto; padding: 18px 20px; border-radius: 16px; background: var(--pine-3); color: var(--ivory); border: 1px solid rgba(243, 239, 228, 0.22); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(16px); transition: opacity 0.35s ease, transform 0.35s ease; font-size: 0.95rem; line-height: 1.5; }
.cc.is-in { opacity: 1; transform: none; }
.cc a { color: var(--gold); }
.cc__state, .cc__test { margin-top: 8px; color: #c8d6cc; font-size: 0.88rem; }
.cc__b { margin-top: 14px; display: flex; gap: 10px; }
.cc__btn { flex: 1; min-height: 44px; font: inherit; font-weight: 700; border-radius: 999px; border: 1.5px solid rgba(243, 239, 228, 0.5); background: transparent; color: var(--ivory); cursor: pointer; }
.cc__btn:hover { background: rgba(243, 239, 228, 0.1); border-color: var(--ivory); }
/* "Powered by HECTONE": isti ucinak kao snippets/hectone-credit.liquid (srebrni logo + odsjaj koji prelazi preko njega) */
.hectone-credit-row { padding: 8px 0 28px; text-align: center; }
.hectone-credit { display: inline-flex; align-items: center; gap: 10px; padding: 8px 4px; color: inherit; text-decoration: none; line-height: 1; -webkit-tap-highlight-color: transparent; }
.foot .hectone-credit:hover { text-decoration: none; }
.hectone-credit:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.6); outline-offset: 3px; border-radius: 2px; }
.hectone-credit__label { font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: #8f9296; }
.hectone-credit__logo { position: relative; display: block; height: 15px; aspect-ratio: 644 / 66; }
.hectone-credit__logo svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.6)); }
.hectone-credit__glint { display: none; }
@supports ((mask-size: contain) or (-webkit-mask-size: contain)) {
  .hectone-credit--shine .hectone-credit__glint {
    display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none;
    -webkit-mask: var(--hectone-maska) center / contain no-repeat; mask: var(--hectone-maska) center / contain no-repeat;
  }
  .hectone-credit--shine .hectone-credit__glint::before {
    content: ""; position: absolute; top: -30%; bottom: -30%; left: 0; width: 30%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, 0.5) 34%, #fff 47%, #fff 53%, rgba(255, 255, 255, 0.5) 66%, rgba(255, 255, 255, 0) 92%);
    transform: translateX(-110%);
    animation: hectone-glint 5s cubic-bezier(0.5, 0, 0.3, 1) 1.5s infinite;
  }
  .hectone-credit--shine:hover .hectone-credit__glint::before,
  .hectone-credit--shine:focus-visible .hectone-credit__glint::before { animation: hectone-glint-once 1s cubic-bezier(0.5, 0, 0.3, 1) 1; }
}
@keyframes hectone-glint { 0% { transform: translateX(-110%); } 20%, 100% { transform: translateX(340%); } }
@keyframes hectone-glint-once { 0% { transform: translateX(-110%); } 100% { transform: translateX(340%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .hectone-credit--shine .hectone-credit__glint::before { animation: none; }
  .cc { transition: none; transform: none; }
}
@media print {
  .top, .hero__cta, .cta, .hectone-credit-row { display: none; }
  .hero, .how, .facts, .foot { background: #fff; color: #000; }
}

.kadar--m-filter-traka { --mob-ar: 3.4; --mob-pos: 0% 50%; }
.kadar--m-pregled-cijena { --mob-ar: 1.02; --mob-pos: 0% 0%; }
.kadar--m-filtri { --mob-ar: 1.09; --mob-pos: 0% 0%; }
.kadar--m-trzista { --mob-ar: 1.75; --mob-pos: 0% 0%; }
.kadar--m-omnibus-oznaka { --mob-ar: 1.39; --mob-pos: 100% 22%; }
:root { --hectone-maska: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20644%2066%27%3E%3Cg%20fill-rule%3D%27evenodd%27%3E%3Cpath%20d%3D%27M0%200H10V66H0Z%20M54%200H64V66H54Z%20M15%2028H54V38H15Z%27%20transform%3D%27translate(0%200)%27%2F%3E%3Cpath%20d%3D%27M0%200H70V10H0Z%20M0%2028H70V38H0Z%20M0%2056H70V66H0Z%27%20transform%3D%27translate(92%200)%27%2F%3E%3Cpath%20d%3D%27M70%200H29C12%200%200%2012%200%2029V37C0%2054%2012%2066%2029%2066H70V56H29C18%2056%2010%2048%2010%2037V29C10%2018%2018%2010%2029%2010H70Z%27%20transform%3D%27translate(184%200)%27%2F%3E%3Cpath%20d%3D%27M0%200H76V10H43V66H33V10H0Z%27%20transform%3D%27translate(272%200)%27%2F%3E%3Cpath%20d%3D%27M29%200H49C66%200%2078%2012%2078%2029V37C78%2054%2066%2066%2049%2066H29C12%2066%200%2054%200%2037V29C0%2012%2012%200%2029%200ZM29%2010C18%2010%2010%2018%2010%2029V37C10%2048%2018%2056%2029%2056H49C60%2056%2068%2048%2068%2037V29C68%2018%2060%2010%2049%2010Z%27%20transform%3D%27translate(368%200)%27%2F%3E%3Cpath%20d%3D%27M0%2066V0H10L64%2052V0H74V66H64L10%2014V66Z%27%20transform%3D%27translate(472%200)%27%2F%3E%3Cpath%20d%3D%27M0%200H70V10H0Z%20M0%2028H70V38H0Z%20M0%2056H70V66H0Z%27%20transform%3D%27translate(574%200)%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }
