/*
 * Bijela naslovna i /cijene (mock docs/mock/naslovna-bijela, 10.10.2026.).
 * Boje branda isključivo iz css/brand.css (var(--cj-*)); ovdje samo neutralne
 * boje. Efekti označeni s „Magic UI (MIT)“ preneseni su iz magicui.design;
 * uz prefers-reduced-motion sve stoji.
 */
@font-face { font-family: 'Plex'; font-weight: 400; font-display: swap; src: url('../fonts/plex/IBMPlexSans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Plex'; font-weight: 500; font-display: swap; src: url('../fonts/plex/IBMPlexSans-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Plex'; font-weight: 600; font-display: swap; src: url('../fonts/plex/IBMPlexSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Plex'; font-weight: 700; font-display: swap; src: url('../fonts/plex/IBMPlexSans-Bold.woff2') format('woff2'); }

:root {
    --hm-ink: #0b1b1f;
    --hm-ink-2: #47585d;
    --hm-ink-3: #5b6a6e;
    --hm-line: rgba(11, 27, 31, 0.08);
    --hm-surface: #f5f6f7;
    --hm-bg: #ffffff;
    --hm-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Nalog 36: na laptopu kao prije (1200), na većim monitorima šire, ali ne preko cijele širine. */
    --hm-wrap: clamp(1200px, 84vw, 1640px);
    --hm-sh-1: 0 1px 1px rgba(11, 27, 31, 0.04), 0 2px 6px rgba(11, 27, 31, 0.04);
    --hm-sh-2: 0 1px 2px rgba(11, 27, 31, 0.05), 0 10px 24px -8px rgba(11, 27, 31, 0.1), 0 32px 64px -32px rgba(11, 27, 31, 0.18);
    --hm-glow-from: color-mix(in srgb, var(--cj-brand-from) 30%, transparent);
    --hm-glow-to: color-mix(in srgb, var(--cj-brand-to) 20%, transparent);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; }
body.hm { margin: 0; background: var(--hm-bg); color: var(--hm-ink); font-family: 'Plex', 'IBM Plex Sans', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.hm img, .hm video { display: block; max-width: 100%; }
.hm a { color: inherit; text-decoration: none; }
.hm a.cj-btn-grad { color: #fff; }
.hm h1, .hm h2, .hm h3, .hm p, .hm ol, .hm ul, .hm dl, .hm dd { margin: 0; }
.hm ul, .hm ol { padding: 0; list-style: none; }
.hm-wrap { max-width: var(--hm-wrap); margin: 0 auto; padding: 0 20px; }
.hm .ico { width: 1em; height: 1em; flex: none; }
.hm :focus-visible { outline: 2px solid var(--cj-brand-ink-2); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Gumbi: puni gumbi su .cj-btn-grad (brand.css), s vidljivim fokusom. */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; letter-spacing: -0.005em; white-space: nowrap; transition: transform 0.4s var(--hm-ease), box-shadow 0.4s var(--hm-ease), background 0.4s; }
.hm-btn .ico { width: 18px; height: 18px; transition: transform 0.4s var(--hm-ease); }
.hm-btn.cj-btn-grad { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(11, 27, 31, 0.25), 0 10px 24px -10px color-mix(in srgb, var(--cj-brand-ink) 75%, transparent); }
.hm-btn.cj-btn-grad:hover { transform: translateY(-1px); }
.hm-btn.cj-btn-grad:focus-visible { outline: none; box-shadow: var(--cj-focus-ring); }
.hm-btn:hover .ico { transform: translateX(3px); }
.hm-btn-soft { background: var(--hm-surface); color: var(--hm-ink); }
.hm-btn-soft:hover { background: var(--cj-brand-soft); }

/* ---------- nalog 39: navigacija (partials/hm-nav, js/nav.js) ----------
 * Računalo (od 1080 px): Logo | Sve mogućnosti ▾ | Cijene | Dokumentacija | [video] |
 * FAQ ▾ | Provjera | [Prijava] [Otvorite račun] (nalog 59). Ispod toga ☰ sa sklopljenim skupinama.
 * Prijava je obrubljeni gumb iste visine kao „Otvorite račun“ (obrub --cj-brand-ink). */
.hm-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid transparent; transition: border-color 0.4s; }
.hm-nav.is-scrolled, .hm-nav.is-open { border-bottom-color: var(--hm-line); }
.hm-nav-in { display: flex; align-items: center; gap: 12px; height: 60px; }
.hm-nav-logo { display: flex; flex: none; }
.hm-nav-logo img { display: block; height: 32px; width: auto; }
@media (max-width: 640px) { .hm-nav-logo img { height: 28px; } }
.hm-nav-links { display: none; margin-left: auto; align-items: center; gap: 30px; font-size: 14px; color: var(--hm-ink-2); }
.hm-nav-links a, .hm-dd-btn { transition: color 0.3s; }
.hm-nav-links > a:hover, .hm-nav-links > a[aria-current], .hm-dd-btn:hover, .hm-dd.is-open .hm-dd-btn, .hm-dd-btn.is-current { color: var(--hm-ink); }
.hm-nav-links > a[aria-current], .hm-dd-btn.is-current { font-weight: 600; }
.hm-nav .hm-nav-cta { min-height: 36px; padding: 0 16px; font-size: 13.5px; margin-left: auto; }
.hm-btn-line { background: transparent; color: var(--hm-ink); box-shadow: inset 0 0 0 1.5px var(--cj-brand-ink); }
.hm-btn-line:hover { background: var(--cj-brand-soft); }
.hm-btn-line:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--cj-brand-ink), var(--cj-focus-ring); }
.hm-nav .hm-nav-login { display: none; }
.hm-nav-burger { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; background: none; color: var(--hm-ink); border-radius: 12px; cursor: pointer; }
/* Nalog 73 (WCAG 1.4.10): na 320 px (zoom 400 %) ☰ mora stati uz logo i „Otvorite račun“. */
@media (max-width: 359px) {
    .hm-nav-in { gap: 8px; padding: 0 12px; }
    .hm-nav .hm-nav-cta { padding: 0 10px; font-size: 13px; }
    .hm-nav .hm-nav-cta .ico { display: none; }
    .hm-nav-logo img { height: 24px; }
}
.hm-nav-burger span { display: grid; gap: 4px; width: 18px; }
.hm-nav-burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--hm-ease), opacity 0.3s; }
.hm-nav.is-open .hm-nav-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hm-nav.is-open .hm-nav-burger i:nth-child(2) { opacity: 0; }
.hm-nav.is-open .hm-nav-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Padajući izbornici (računalo) */
.hm-dd { position: relative; }
.hm-dd-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-radius: 8px; }
.hm-dd-btn:focus-visible { outline: none; box-shadow: var(--cj-focus-ring); }
.hm-dd-ico { width: 14px; height: 14px; flex: none; transition: transform 0.25s var(--hm-ease); }
.hm-dd.is-open .hm-dd-btn .hm-dd-ico { transform: rotate(180deg); }
.hm-dd-panel { position: absolute; top: calc(100% + 12px); left: -14px; z-index: 60; min-width: 230px; padding: 8px; background: var(--hm-bg); border: 1px solid var(--hm-line); border-radius: 16px; box-shadow: var(--hm-sh-2); }
.hm-dd-panel[hidden] { display: none; }
/* Most preko razmaka ispod gumba, da prelazak mišem ne zatvori ploču. */
.hm-dd-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.hm-dd-panel.is-faq { left: 50%; translate: -50% 0; width: min(440px, calc(100vw - 40px)); }
.hm-dd-list a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--hm-ink); font-size: 15px; line-height: 1.35; }
.hm-dd-list a:hover, .hm-dd-list a:focus-visible { background: var(--cj-brand-soft); outline: none; }
.hm-dd-list a:focus-visible { box-shadow: var(--cj-focus-ring); }
.hm-dd-list a[aria-current] { font-weight: 600; }
.hm-dd-faq strong { display: block; font-weight: 600; }
.hm-dd-faq span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--hm-ink-2); }
.hm-dd-all { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--hm-line); }
.hm-dd-all a { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cj-brand-ink); }
@media (prefers-reduced-motion: no-preference) {
    .hm-dd.is-open .hm-dd-panel { animation: hm-dd-in 0.18s var(--hm-ease); }
}
@keyframes hm-dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ☰ na mobitelu (nalog 57): izbornik preko cijelog ekrana ispod zaglavlja; velike
 * stavke, skupine se otvaraju u mekoj kartici, gumbi Prijava i Otvorite račun na dnu.
 * Dok je otvoren, stranica ispod se ne pomiče (html.hm-lock, js/nav.js; samo html, jer
 * overflow na body bi pokvario sticky zaglavlje). Zaglavlje
 * tada nema backdrop-filter: on bi fiksnoj ploči bio okvir umjesto ekrana. */
.hm-nav.is-open { background: var(--hm-bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hm-nav.is-open .hm-nav-cta { visibility: hidden; }
html.hm-lock { overflow: hidden; }
.hm-nav-sheet { display: none; position: fixed; left: 0; right: 0; top: 60px; bottom: 0; z-index: 49; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 18px max(20px, calc((100% - 600px) / 2)) calc(20px + env(safe-area-inset-bottom)); background: var(--hm-bg); }
.hm-nav.is-open .hm-nav-sheet { display: flex; }
.hm-sheet-link, .hm-sheet-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--hm-ink); border-bottom: 1px solid var(--hm-line); }
.hm-sheet-link:focus-visible, .hm-sheet-group > summary:focus-visible { outline: none; box-shadow: var(--cj-focus-ring); border-radius: 12px; }
.hm-sheet-arrow { width: 20px; height: 20px; flex: none; color: var(--hm-ink-2); }
.hm-sheet-group > summary { cursor: pointer; list-style: none; }
.hm-sheet-group > summary::-webkit-details-marker { display: none; }
.hm-sheet-group > summary .hm-dd-ico { width: 20px; height: 20px; color: var(--hm-ink-2); }
.hm-sheet-group[open] > summary { border-bottom-color: transparent; }
.hm-sheet-group[open] > summary .hm-dd-ico { transform: rotate(180deg); }
.hm-sheet-group ul { display: grid; gap: 2px; margin: 0 0 12px; padding: 8px; list-style: none; border-radius: 18px; background: var(--cj-brand-soft); }
.hm-sheet-group ul a { display: block; padding: 11px 12px; border-radius: 12px; font-size: 16.5px; line-height: 1.35; color: var(--hm-ink); overflow-wrap: anywhere; }
.hm-sheet-group ul a:hover, .hm-sheet-group ul a:focus-visible { background: var(--hm-bg); outline: none; }
.hm-sheet-group ul a[aria-current], .hm-sheet-link[aria-current] { color: var(--cj-brand-ink); font-weight: 700; }
.hm-sheet-actions { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; }
.hm-sheet-actions .hm-btn { width: 100%; min-height: 54px; font-size: 16.5px; }
.hm-sheet-actions a.cj-btn-grad { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
    .hm-nav.is-open .hm-nav-sheet { animation: hm-sheet-in 0.28s var(--hm-ease); }
    .hm-nav.is-open .hm-nav-sheet > * { animation: hm-sheet-item 0.36s var(--hm-ease) both; }
    .hm-nav.is-open .hm-nav-sheet > :nth-child(2) { animation-delay: 0.03s; }
    .hm-nav.is-open .hm-nav-sheet > :nth-child(3) { animation-delay: 0.06s; }
    .hm-nav.is-open .hm-nav-sheet > :nth-child(4) { animation-delay: 0.09s; }
    .hm-nav.is-open .hm-nav-sheet > :nth-child(5) { animation-delay: 0.12s; }
    .hm-nav.is-open .hm-nav-sheet > :nth-child(6) { animation-delay: 0.15s; }
    .hm-nav.is-open .hm-nav-sheet > :nth-child(n+7) { animation-delay: 0.18s; }
}
@keyframes hm-sheet-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hm-sheet-item { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1080px) {
    .hm-nav-links { display: flex; }
    .hm-nav-in { height: 72px; }
    .hm-nav-links { gap: 28px; font-size: 15.5px; }
    .hm-nav .hm-nav-login { display: inline-flex; margin-left: 28px; min-height: 46px; padding: 0 20px; font-size: 15.5px; }
    .hm-nav .hm-nav-cta { margin-left: 0; min-height: 46px; padding: 0 22px; font-size: 15.5px; }
    .hm-nav-burger, .hm-nav.is-open .hm-nav-sheet { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hm-dd-ico, .hm-nav-burger i, .hm-nav-links a, .hm-dd-btn { transition: none; }
}
/* ---------- kraj: nalog 39, navigacija ---------- */

/* ---------- Prvi ekran (dizajn vlasnika 12.10.2026., nalog 16 A) ---------- */
.hm-hero { position: relative; padding: 28px 0 64px; overflow: clip; }
/* Mekani zamućeni oblici u bojama branda (samo CSS). */
.hm-aura { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hm-aura i { position: absolute; border-radius: 50%; filter: blur(70px); }
.hm-aura .a1 { width: 760px; height: 620px; right: -160px; top: 4%; background: radial-gradient(closest-side, color-mix(in srgb, var(--cj-brand-mid) 26%, transparent), transparent); }
.hm-aura .a2 { width: 640px; height: 460px; right: 4%; bottom: -12%; background: radial-gradient(closest-side, color-mix(in srgb, var(--cj-brand-to) 30%, transparent), transparent); }
.hm-aura .a3 { width: 620px; height: 480px; left: -220px; top: -160px; background: radial-gradient(closest-side, color-mix(in srgb, var(--cj-brand-from) 16%, transparent), transparent); }
.hm-aura .a4 { width: 420px; height: 320px; left: 38%; top: 40%; background: radial-gradient(closest-side, color-mix(in srgb, var(--cj-brand-from) 20%, transparent), transparent); }
.hm-hero-in { position: relative; z-index: 1; display: grid; gap: 48px; }
.hm-hero-copy { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; min-width: 0; }

.hm-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--cj-brand-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cj-brand-from) 32%, transparent); color: var(--cj-brand-ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
.hm-kicker .ico { width: 17px; height: 17px; color: var(--cj-brand-ink-2); }
.hm-hero h1 { font-size: clamp(38px, 8.6vw, 68px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; }
.hm-h1-line { display: block; padding-bottom: 0.04em; }
.hm-lead { max-width: 540px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--hm-ink-2); letter-spacing: -0.005em; text-wrap: pretty; }

/* Upis imena: jedno polje, gumb „Otvorite račun“ unutra desno. */
.hm-try { display: grid; gap: 10px; width: 100%; max-width: 560px; }
.hm-try-field { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 8px 8px 8px 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 27, 31, 0.08), 0 1px 2px rgba(11, 27, 31, 0.04), 0 18px 40px -20px rgba(11, 27, 31, 0.28); transition: box-shadow 0.4s var(--hm-ease); }
.hm-try-field:focus-within { box-shadow: 0 0 0 2px var(--cj-brand-ink-2), 0 0 0 7px color-mix(in srgb, var(--cj-brand-mid) 15%, transparent), 0 18px 40px -20px rgba(11, 27, 31, 0.3); }
.hm-try-field > .ico { width: 24px; height: 24px; color: var(--cj-brand-ink-2); }
.hm-try-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: inherit; font-size: 19px; font-weight: 500; line-height: 1; color: var(--hm-ink); letter-spacing: -0.01em; }
.hm-try-field input:focus-visible { outline: none; }
.hm-try-field input::placeholder { color: #6b787b; font-weight: 400; }
.hm-try-go { flex: none; border: 0; cursor: pointer; font-family: inherit; min-height: 52px; padding: 0 20px; border-radius: 16px; white-space: nowrap; }
@media (max-width: 420px) { .hm-try-go { padding: 0 14px; } .hm-try-go-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } }

/* Četiri prednosti. */

/* Povjerenje (nalog 53b, herodesk.png): tanka crta, tri stavke s ikonom u krugu i okomitim razdjelnicima. */
/* Nalog 60: bez okvira i razdjelnika; svaka stavka u jednom retku, prelaze u novi red kad ne stanu. */
.hm-trust { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 14px 28px; width: 100%; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.35; color: var(--hm-ink-2); }
.hm-trust li { display: flex; align-items: center; gap: 12px; min-width: 0; white-space: nowrap; }
.hm-trust-i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cj-brand-soft); color: var(--cj-brand-ink-2); }
.hm-trust-i .ico { width: 20px; height: 20px; }
.hm-lead strong { font-weight: 500; color: var(--hm-ink); }

/* Uređaji i plutajuće kartice: položaji u postotku pozornice (omjer prema slici). */
.hm-show { position: relative; min-width: 0; }
.hm-stage { position: relative; width: 100%; aspect-ratio: 870 / 820; perspective: 2200px; perspective-origin: 30% 40%; }
.hm-par { position: absolute; will-change: transform; transform-style: preserve-3d; }
/* 3D vrpca iza uređaja (nalog 17): statična slika, prelazi rubove pozornice. */
.hm-ribbon { position: absolute; left: -44%; top: 33%; width: 164%; transform: rotate(-14deg); transform-origin: 50% 65%; pointer-events: none; filter: drop-shadow(0 30px 40px color-mix(in srgb, var(--cj-brand-ink-2) 22%, transparent)); -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 98%); mask-image: linear-gradient(to bottom, #000 80%, transparent 98%); }
.hm-ribbon img { display: block; width: 100%; height: auto; }
.hm-par-mac { left: 26%; top: 13%; width: 74%; height: 73%; }
.hm-par-mac > .hm-bf { height: 100%; }
.hm-par-phone { left: -1%; top: 35%; width: 29%; z-index: 3; }

/* Preglednik s dubinom (nalog 17): stakleni okvir sa svijetlim rubom i slojevitom sjenom. */
/* Preglednik kao na slici (nalog 18): Safari okvir s kromiranom trakom, tanki svijetli rub, blagi 3D nagib. */
.hm-browser { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 14px; background: #fff; transform: perspective(1800px) rotateY(-5deg) rotateX(2deg); transform-style: preserve-3d; transform-origin: 30% 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), 0 0 0 1px rgba(11, 27, 31, 0.08), 0 1px 2px rgba(11, 27, 31, 0.06), 0 12px 24px -12px rgba(11, 27, 31, 0.22), 0 40px 70px -24px rgba(16, 52, 86, 0.32), 0 90px 130px -50px color-mix(in srgb, var(--cj-brand-ink-2) 45%, transparent); }
.hm-browser::after { content: ''; position: absolute; inset: 0; z-index: 7; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 7%), linear-gradient(115deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 32%); }
.hm-browser-bar { display: flex; align-items: center; gap: 10px; flex: none; height: 40px; padding: 0 12px; background: linear-gradient(180deg, #fbfcfc 0%, #eef1f2 100%); border-bottom: 1px solid rgba(11, 27, 31, 0.08); color: #8a9396; }
.hm-browser-bar .ico { width: 13px; height: 13px; }
.hm-browser-dots { display: inline-flex; gap: 5px; }
.hm-browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.hm-browser-dots i:nth-child(2) { background: #febc2e; }
.hm-browser-dots i:nth-child(3) { background: #28c840; }
.hm-browser-nav { display: inline-flex; gap: 4px; }
.hm-browser-plus { margin-left: auto; }
.hm-safari-url { position: relative; flex: 1; min-width: 0; height: 25px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 27, 31, 0.08), 0 1px 1px rgba(11, 27, 31, 0.04); font: 500 clamp(9px, 0.9vw, 13px) / 1 system-ui, -apple-system, sans-serif; color: #6f6f6f; white-space: nowrap; }
.hm-safari-url b { color: #1d2b2e; font-weight: 600; }
.hm-safari-url .ico { flex: none; }
.hm-browser-screen { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #f4f6f6; container-type: inline-size; }
/* Dugo ime: slug se skraćuje elipsom, domena (.cjenik.link) ostaje uvijek vidljiva. */
.hm-host { position: relative; display: inline-flex; min-width: 0; max-width: 100%; }
.hm-slug { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-tld, .hm-tld-plain { flex: none; white-space: nowrap; }
.hm-safari-url .dp-badge-link { left: 0; }

/* Okvir mobitela: generirana slika (nalog 17, 553 x 1143); ekran je prozirno područje
   (5,24 % lijevo, 2,36 % gore, 89,51 % x 95,45 %) u koje ide živi primjer. */
/* Mobitel u 3D (nalog 18): nagib, lažna debljina (titanij iza okvira), odsjaj preko ekrana, duboka sjena. */
.hm-iphone { position: relative; width: 100%; aspect-ratio: 553 / 1143; transform: perspective(1400px) rotateY(-14deg) rotateX(5deg) rotateZ(-3deg); transform-style: preserve-3d; filter: drop-shadow(0 30px 50px rgba(16, 52, 86, 0.35)) drop-shadow(0 6px 10px rgba(16, 52, 86, 0.22)); }
.hm-iphone::before { content: ''; position: absolute; inset: 0.4% 0.6%; z-index: -1; border-radius: 15% / 7.3%; background: linear-gradient(135deg, #7a8388 0%, #2a2f32 30%, #121517 62%, #545c61 100%); transform: translate(7px, 5px); }
.hm-iphone::after { content: ''; position: absolute; left: 5.24%; top: 2.36%; width: 89.51%; height: 95.45%; z-index: 5; border-radius: 10% / 4.6%; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 40%); }
.hm-iphone-screen { position: absolute; left: 5.24%; top: 2.36%; width: 89.51%; height: 95.45%; overflow: hidden; border-radius: 10% / 4.6%; background: #f6f7f7; display: flex; flex-direction: column; container-type: inline-size; }
.hm-iphone-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; }
.hm-status { display: flex; justify-content: space-between; align-items: center; padding: 7.5% 11% 3%; font: 600 clamp(7px, 0.8vw, 11px) / 1 system-ui, -apple-system, sans-serif; color: var(--hm-ink); }
.hm-status i { display: inline-flex; gap: 2px; align-items: flex-end; }
.hm-status i b { display: block; width: 2.5px; background: var(--hm-ink); border-radius: 1px; }

.hm-float { position: absolute; z-index: 8; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9) inset, 0 0 0 1px rgba(11, 27, 31, 0.06), 0 18px 40px -16px rgba(11, 27, 31, 0.3); white-space: nowrap; }
.hm-float-txt { display: grid; gap: 2px; font-size: 15px; line-height: 1.25; }
.hm-float-txt b { font-weight: 700; color: var(--hm-ink); letter-spacing: -0.01em; }
.hm-float-txt span { font-size: 13px; color: var(--hm-ink-3); }
.hm-float-badge { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--cj-brand-from), var(--cj-brand-ink)); color: #fff; }
.hm-float-badge .ico { width: 22px; height: 22px; }
.hm-float-badge.is-ai { background: var(--cj-grad-btn); font-size: 17px; font-weight: 700; letter-spacing: 0.02em; }
.hm-float .hm-float-spark { width: 22px; height: 22px; color: var(--cj-brand-to); }
.hm-float .hm-float-chev { width: 20px; height: 20px; margin-left: 10px; color: var(--cj-brand-ink-2); }
.hm-float-arrow { position: absolute; left: -58px; top: 36px; width: 52px; height: 52px; color: var(--cj-brand-ink); opacity: 0.7; }
.hm-float-ai { right: 6%; top: 0; }
.hm-float-link { right: 5%; top: 87%; max-width: min(420px, 90%); }
.hm-float-link .hm-float-txt { min-width: 0; }
.hm-float-link .hm-float-txt b { font-size: 17px; }
.hm-float-link .hm-host { display: flex; min-width: 0; font-size: 14px; font-weight: 600; color: var(--cj-brand-ink-2); }
.hm-float-badge.is-link { background: var(--cj-grad-btn); }
/* „Dobijete svoj LINK!“: kartica lagano diše, značka šalje val (samo bez reduced-motion). */
@media (prefers-reduced-motion: no-preference) {
    /* Uz ulaz (hm-blur-fade, kao .hm-bf) ide i disanje, pa se oba navode zajedno. */
    .hm-float-link { animation: hm-blur-fade 0.6s ease-out calc(0.04s + var(--d, 0) * 1s) both, hm-link-breathe 3.2s ease-in-out 2.4s infinite; }
    .hm-float-badge.is-link { position: relative; }
    .hm-float-badge.is-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in srgb, var(--cj-brand-mid) 55%, transparent); animation: hm-link-ping 2.4s ease-out 2s infinite; }
}
@keyframes hm-link-breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.03); } }
@keyframes hm-link-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cj-brand-mid) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 14px transparent; } }

.hm-glass::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 5; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0) 60%); background-size: 250% 100%; background-position: 130% 0; mix-blend-mode: soft-light; animation: hm-sheen 7s 1.8s var(--hm-ease) infinite; }
.hm-glass::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4; background: linear-gradient(160deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 38%); }
@keyframes hm-sheen { 0% { background-position: 130% 0; } 35%, 100% { background-position: -30% 0; } }


/* Živi primjer (partials/demo-preview) u svijetlom stilu naslovne. */
.hm .dp { --dp-accent: var(--cj-brand-ink); height: 100%; background: #f4f6f6; }
/*
 * Nalog 86: pravi izgled cjenika u mjerilu. Preglednik prikazuje stranicu širine
 * 1000 px (1em = 1,6 % zaslona), mobitel stranicu širine 390 px (1em = 4,1 %);
 * što ne stane, odreže se dolje kao da se stranica nastavlja.
 */
.hm .hm-browser .dp { container-type: normal; font-size: 1.6cqw; align-content: start; }
.hm .dp-phone { flex: 1; font-size: 4.1cqw; background: transparent; align-content: start; }
.hm .dp-badge { background: var(--cj-brand-from); color: #06252a; font-size: 11px; padding: 3px 9px; }
.dp-custom .hm [data-demo-name] { background: color-mix(in srgb, var(--cj-brand-from) 30%, transparent); box-shadow: 0 0 0 2px var(--cj-brand-from); }
.dp-custom .hm [data-demo-mark] { box-shadow: 0 0 0 3px var(--cj-brand-from); }
.dp-custom .hm [data-demo-slug] { background: none; box-shadow: none; padding-inline: 0; }
.dp-custom .hm .hm-safari-url [data-demo-slug] { margin-right: 0.25em; background: color-mix(in srgb, var(--cj-brand-from) 30%, transparent); box-shadow: 0 0 0 2px var(--cj-brand-from); padding-inline: 0.15em; }

/* Magic UI (MIT): BlurFade (blur-fade.tsx): opacity 0, pomak, blur 6px -> 0, easeOut, delay 0.04 + d. */
.hm-bf { animation: hm-blur-fade var(--dur, 0.6s) ease-out both; animation-delay: calc(0.04s + var(--d, 0) * 1s); }
@keyframes hm-blur-fade { from { opacity: 0; transform: translateY(var(--off, 12px)); filter: blur(var(--blur, 6px)); } to { opacity: 1; transform: none; filter: blur(0); } }
.hm-bf-dev { --dur: 1.4s; animation-name: hm-blur-fade-dev; animation-timing-function: var(--hm-ease); }
@keyframes hm-blur-fade-dev { from { opacity: 0; transform: translateY(28px) scale(0.96); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.hm-hero-copy > * { animation: hm-blur-fade 0.6s ease-out both; }
.hm-hero-copy > :nth-child(1) { animation-delay: 0.14s; }
.hm-hero-copy > :nth-child(2) { animation-delay: 0.29s; }
.hm-hero-copy > :nth-child(3) { animation-delay: 0.54s; }
.hm-hero-copy > :nth-child(4) { animation-delay: 0.94s; }
.hm-hero-copy > :nth-child(5) { animation-delay: 1.09s; }
.hm-hero-copy > :nth-child(6) { animation-delay: 1.24s; }

/* Magic UI (MIT): AuroraText (aurora-text.tsx): brand prijelaz, pomiče se samo background-position. */
.hm-aurora { display: inline-block; padding-bottom: 0.06em; background-image: linear-gradient(135deg, var(--cj-brand-ink), var(--cj-brand-from), var(--cj-brand-mid), var(--cj-brand-to), var(--cj-brand-from), var(--cj-brand-ink)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: hm-aurora 10s ease-in-out infinite alternate; }
@keyframes hm-aurora { 0% { background-position: 0% 50%; } 25% { background-position: 50% 100%; } 50% { background-position: 100% 50%; } 75% { background-position: 50% 0%; } 100% { background-position: 0% 50%; } }

/* Magic UI (MIT): BorderBeam (border-beam.tsx): zraka po rubu kroz offset-path. */
.hm-beam { position: absolute; inset: 0; border-radius: inherit; border: 2px solid transparent; pointer-events: none; -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(#000, #000); -webkit-mask-clip: padding-box, border-box; -webkit-mask-composite: source-in; mask: linear-gradient(transparent, transparent), linear-gradient(#000, #000); mask-clip: padding-box, border-box; mask-composite: intersect; }
.hm-beam::after { content: ''; position: absolute; aspect-ratio: 1; width: 90px; background: linear-gradient(to left, var(--cj-brand-from), var(--cj-brand-to), transparent); offset-path: rect(0 auto auto 0 round 90px); animation: hm-beam 7s linear infinite; }
@keyframes hm-beam { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* Magic UI (MIT): MagicCard (magic-card.tsx, način gradient): reflektor i obrub prate pokazivač. */
.hm-magic { --mx: -300px; --my: -300px; --gs: 240px; position: relative; border: 1px solid transparent; background: linear-gradient(var(--hm-surface), var(--hm-surface)) padding-box, radial-gradient(var(--gs) circle at var(--mx) var(--my), var(--cj-brand-from), var(--cj-brand-to), rgba(11, 27, 31, 0.06) 100%) border-box; }
.hm-magic::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(var(--gs) circle at var(--mx) var(--my), color-mix(in srgb, var(--cj-brand-from) 12%, transparent), transparent 100%); opacity: 0; transition: opacity 0.3s; }
.hm-magic:hover::before { opacity: 1; }
.hm-magic > * { position: relative; }

/* Magic UI (MIT): BlurFade inView (offset 12px, blur 6px, easeOut, delay 0.04 + d*0.1 s). */
.hm-rv { opacity: 0; transform: translateY(12px); filter: blur(6px); transition: opacity 0.7s ease-out, transform 0.7s ease-out, filter 0.7s ease-out; transition-delay: calc(0.04s + var(--d, 0) * 100ms); }
.hm-rv.is-in { opacity: 1; transform: none; filter: none; }

@media (min-width: 1000px) {
    .hm-hero { padding: 40px 0 104px; }
    .hm-hero .hm-wrap { max-width: clamp(1240px, 80vw, 1600px); }
    .hm-hero-in { grid-template-columns: minmax(0, 51fr) minmax(0, 49fr); gap: 0; align-items: start; }
    /* Nalog 53: prozračan stupac (najviše 640 px), skupine kicker, naslov, unos, video, povjerenje
       s razmakom 28 do 36 px. Naslov ostaje širi od stupca i iznad mobitela. */
    .hm-hero-copy { max-width: 560px; padding-right: 0; padding-top: clamp(12px, 2vw, 48px); gap: 0; }
    .hm-hero-copy > h1 { margin-top: 22px; }
    .hm-hero-copy > .hm-lead { margin-top: 20px; max-width: 540px; }
    .hm-hero-copy > .hm-try { margin-top: 26px; }
    .hm-hero-copy > .hm-video-btn { margin-top: 26px; }
    .hm-hero-copy > .hm-trust { margin-top: 44px; }
    .hm-try { max-width: none; }
    /* Naslov smije prijeći u stupac pozornice (na slici je širi od lijevog stupca). */
    /* Nalog 53b (herodesk.png): veći naslov u tri retka; drugi (gradijentni) redak smije biti širi od stupca. */
    .hm-hero h1 { font-size: clamp(42px, 4.1vw, 66px); line-height: 1.02; position: relative; z-index: 2; }
    .hm-h1-line.cj-grad-text { white-space: nowrap; width: max-content; }
    .hm-show { margin-top: 4px; }
    /* Nalog 53b: mobitel počinje gdje završava lijevi stupac (kao na slici), ne preko teksta. */
    .hm-par-phone { left: 4%; }
}
@media (min-width: 1240px) {
    /* Pozornica je šira od stupca i prelazi desni rub sadržaja (kao na slici), koliko dopušta prozor. */
    .hm-show { width: min(118%, calc(100% + (100vw - 1200px) / 2 - 24px)); }
}
/*
 * Mobitel i tablet (nalog 18): jedno ispod drugog, zbijeno. Lijevi stupac se
 * „otvara“ (display: contents) da pozornica dođe odmah ispod upisa imena.
 */
@media (max-width: 999px) {
    .hm-hero { padding: 20px 0 48px; }
    .hm-hero-in { display: flex; flex-direction: column; gap: 18px; }
    .hm-hero-copy { display: contents; }
    .hm-kicker { order: 1; align-self: flex-start; }
    .hm-hero h1 { order: 2; font-size: clamp(34px, 7vw, 56px); }
    .hm-lead { order: 3; }
    .hm-try { order: 4; max-width: none; }
    .hm-show { order: 5; }
    .hm-trust { order: 7; max-width: none; position: relative; z-index: 2; }
    .hm-kicker, .hm-hero h1, .hm-lead, .hm-try { position: relative; z-index: 2; }

    /* Pozornica: velik mobitel u sredini, preglednik viri gore desno, vrpca iza. */
    .hm-show { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin: 4px 0 0; }
    .hm-stage { order: 1; flex: 0 0 100%; aspect-ratio: 1 / 1.52; }
    /* Preglednik iznad mobitela: adresna traka i kartica subjekta vire. */
    .hm-par-phone { left: 19%; top: 14%; width: 62%; }
    .hm-par-mac { left: 24%; top: 0; width: 86%; height: 46%; }
    .hm-ribbon { left: -60%; top: 38%; width: 230%; }
    .hm-status { font-size: clamp(9px, 2.6vw, 13px); }

    /* Kartice kao dva mala čipa ispod pozornice. */
    .hm-float { order: 2; margin-top: 12px; position: static; padding: 7px 12px 7px 7px; gap: 8px; border-radius: 14px; }
    .hm-float-badge { width: 30px; height: 30px; border-radius: 9px; }
    .hm-float-badge .ico { width: 16px; height: 16px; }
    .hm-float-badge.is-ai { font-size: 12px; }
    .hm-float-txt { font-size: 13px; }
    .hm-float-txt span, .hm-float-arrow, .hm-float .hm-float-spark, .hm-float .hm-float-chev { display: none; }
    /* LINK kartica i na mobitelu pokazuje adresu. */
    .hm-float-link .hm-float-txt .hm-host, .hm-float-link .hm-float-txt .hm-host span { display: flex; }
    .hm-float-link .hm-float-txt .hm-host .hm-slug { display: block; }
    .hm-float-link { max-width: 100%; }
    .hm-float-link .hm-float-txt b { font-size: 14.5px; }
    .hm-trust { margin-top: 18px; }
}
@media (min-width: 640px) and (max-width: 999px) {
    .hm-stage { width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 1 / 0.9; }
    .hm-par-phone { left: 6%; top: 6%; width: 40%; }
    .hm-par-mac { left: 30%; top: 4%; width: 70%; height: 66%; }
    .hm-ribbon { left: -40%; top: 34%; width: 180%; }
}
@media (max-width: 559px) {
    .hm-try-field { min-height: 60px; padding: 8px 14px; }
    .hm-try-field input { min-height: 44px; }
    .hm-kicker { font-size: 13px; }
    /* Kraći tekst značke da stane u jedan redak. */
    .hm-kicker-x { display: none; }
    .hm-lead { font-size: 16.5px; line-height: 1.55; }
    .hm-browser-bar { gap: 6px; height: 28px; padding: 0 8px; }
    .hm-browser-nav, .hm-browser-plus { display: none; }
    .hm-browser-dots i { width: 6px; height: 6px; }
    .hm-safari-url { height: 18px; padding: 0 6px; }
    /* Dva čipa ne stanu u jedan red: na uskom mobitelu ostaje LINK (odluka vlasnika 12.10.2026.). */
    .hm-float-ai { display: none; }
}
@media (max-width: 640px) {
    /* Mobitel: pilula, naslov, podnaslov i sitni tekst u sredini; polje i gumb preko cijele širine. */
    .hm-kicker { align-self: center; justify-content: center; text-align: center; }
    .hm-hero h1, .hm-lead { text-align: center; }
    .hm-lead { margin-inline: auto; }
    .hm-hero .hm-video-btn { align-self: center; }
    /* Tri stavke povjerenja jedna ispod druge, bez okomitih razdjelnika. */
    .hm-trust { flex-direction: column; align-self: center; width: max-content; max-width: 100%; gap: 12px; font-size: 14px; }
    .hm-trust-i { width: 38px; height: 38px; }
    .hm-trust-i .ico { width: 18px; height: 18px; }
}

/* ---------- Sekcije ---------- */
.hm-sec { padding: 120px 0; }
.hm-sec.is-flush { padding-top: 0; }
.hm-head { display: grid; justify-items: center; gap: 16px; text-align: center; margin: 0 auto 64px; max-width: 820px; }
.hm-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cj-brand-ink); }
.hm-h2 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.hm-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--hm-ink-2); max-width: 640px; text-wrap: balance; }

/* Tri koraka */
.hm-steps { padding: 72px 0 40px; border-top: 1px solid var(--hm-line); }
.hm-steps ol { display: grid; gap: 40px; }
.hm-steps li { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start; }
.hm-step-n { grid-row: span 2; font-size: 72px; line-height: 0.82; font-weight: 700; letter-spacing: -0.06em; background: var(--cj-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hm-steps h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.hm-steps p { color: var(--hm-ink-2); font-size: 16px; }
@media (min-width: 900px) { .hm-steps ol { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
/* Veliki monitori (nalog 36): blago veći naslovi sekcija i razmaci; tekst tijela isti. */
@media (min-width: 1800px) {
    .hm-h2 { font-size: clamp(68px, 3.9vw, 80px); }
    .hm-sec { padding: 140px 0; }
}

/* Kartice s videom */
.hm-duo { display: grid; gap: 20px; }
@media (min-width: 960px) { .hm-duo { grid-template-columns: 1fr 1fr; } }
.hm-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 40px 36px 36px; border-radius: 32px; background: var(--hm-surface); overflow: hidden; transition: transform 0.6s var(--hm-ease), box-shadow 0.6s var(--hm-ease); }
.hm-card:hover { transform: translateY(-4px); box-shadow: var(--hm-sh-2); }
.hm-badge { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--cj-brand-ink); box-shadow: var(--hm-sh-1); }
.hm-badge .ico { width: 15px; height: 15px; }
.hm-card h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
.hm-card p { color: var(--hm-ink-2); max-width: 500px; }
.hm-card .hm-badge { color: var(--cj-brand-ink); }
.hm-pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; max-width: 100%; min-width: 0; padding: 10px 16px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: var(--hm-ink); box-shadow: var(--hm-sh-1); }
.hm-card .hm-pill { color: var(--hm-ink); }
.hm-pill .ico { width: 16px; height: 16px; color: var(--cj-brand-ink); }
.hm-tld { color: var(--cj-brand-ink); }
.hm-media { margin-top: auto; padding-top: 14px; }

/* Za mali obrt i za veću tvrtku (nalog 34, partials/hm-scale): dva stupca, na mobitelu jedan ispod drugog. */
.hm-scale-sec .hm-h2 .cj-grad-text { display: block; }
/* Naslov u dva retka na računalu (nalog 36); ispod 1100 px normalno prelamanje. */
.hm-scale-sec .hm-head { max-width: 1240px; }
@media (min-width: 1100px) { .hm-scale-l1, .hm-scale-sec .hm-h2 .cj-grad-text { white-space: nowrap; } }
.hm-scale { display: grid; gap: 24px; }
@media (min-width: 960px) { .hm-scale { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.hm-scale-card { gap: 0; padding: 44px 40px 40px; }
.hm-scale-card .hm-badge { margin-bottom: 18px; }
.hm-scale-card h3 { margin-bottom: 26px; }
.hm-scale-card.is-large { background: linear-gradient(160deg, var(--hm-surface) 0%, #fff 100%); box-shadow: 0 0 0 1px var(--hm-line) inset; }
.hm-scale-list { display: grid; gap: 18px; }
.hm-scale-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--hm-ink-2); font-size: 16px; line-height: 1.5; min-width: 0; }
.hm-scale-list li span { min-width: 0; overflow-wrap: anywhere; padding-top: 5px; }
/* Nalog 49: obje fotografije iste veličine i omjera na svim širinama (omjer slike 1200x711, najviše 320 px visine);
   stoje na dnu kartice, pa su u istom redu i kad je popis lijevo kraći. */
.hm .hm-scale-list { margin-bottom: 32px; }
.hm-scale-photo { display: block; flex: none; margin-top: auto; aspect-ratio: 1200 / 711; max-height: 320px; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--hm-line), var(--hm-sh-1); }
.hm-scale-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 959px) { .hm-scale-photo { aspect-ratio: 16 / 10; max-height: none; } }
@media (max-width: 640px) { .hm-scale-card { padding: 32px 22px 24px; } }
.hm-scale-list b { color: var(--hm-ink); font-weight: 700; }
.hm-scale-list .ico { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: #fff; color: var(--cj-brand-ink); box-shadow: var(--hm-sh-1); }
.hm .hm-scale-note { margin: 36px auto 0; max-width: 820px; text-align: center; color: var(--hm-ink-2); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; align-items: center; }

.hm-media-in { border-radius: 22px; overflow: hidden; background: #071a1d; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px rgba(11, 27, 31, 0.08), var(--hm-sh-2); }
.hm-media-in.is-square { aspect-ratio: 1 / 1; }
.hm-media-in video, .hm-media-in img, .hm-media-in picture { width: 100%; height: 100%; object-fit: cover; }
.hm-card-steps { display: grid; gap: 10px; counter-reset: hm-c; }
.hm-card-steps li { display: flex; gap: 12px; align-items: center; color: var(--hm-ink-2); counter-increment: hm-c; }
.hm-card-steps li::before { content: counter(hm-c); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--cj-brand-ink); font-size: 13px; font-weight: 700; box-shadow: var(--hm-sh-1); }
.hm-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cj-brand-ink); font-size: 15px; }
.hm-more .ico { width: 15px; height: 15px; transition: transform 0.4s var(--hm-ease); }
.hm-more:hover .ico { transform: translateX(3px); }

/* AI */
.hm-ai-wrap { position: relative; border-radius: 44px; padding: 88px 24px 56px; background: radial-gradient(80% 70% at 0% 0%, color-mix(in srgb, var(--cj-brand-to) 16%, transparent), transparent 60%), radial-gradient(80% 80% at 100% 100%, color-mix(in srgb, var(--cj-brand-from) 18%, transparent), transparent 60%), #f7f8fb; overflow: hidden; }
.hm-ai-wrap .hm-card { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8) inset; }
.hm-ai-wrap .hm-head { margin-bottom: 52px; }
.hm-ai-mark { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: #fff; background: var(--cj-grad-btn); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--cj-brand-to) 60%, transparent); }
.hm-ai-note { text-align: center; color: var(--hm-ink-3); font-size: 14px; margin: 32px auto 0 !important; max-width: 720px; }
.hm-ai-note a { color: var(--cj-brand-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 960px) { .hm-ai-wrap { padding: 110px 56px 64px; } }

/* Sve što vam treba */
.hm-feats { display: grid; gap: 20px; }
@media (min-width: 700px) { .hm-feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .hm-feats { grid-template-columns: repeat(3, 1fr); } }
.hm-feat { display: flex; flex-direction: column; gap: 24px; padding: 28px 28px 0; border-radius: 30px; overflow: hidden; min-height: 480px; transition: transform 0.6s var(--hm-ease), box-shadow 0.6s var(--hm-ease); }
.hm-feat:hover { transform: translateY(-4px); box-shadow: var(--hm-sh-2); }
.hm-feat-head { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.hm-tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fff; color: var(--cj-brand-ink); box-shadow: var(--hm-sh-1); }
.hm-tile .ico { width: 22px; height: 22px; }
.hm-feat h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.hm-feat-head p { margin-top: 4px; color: var(--hm-ink-2); font-size: 15px; line-height: 1.45; }
.hm-stage-f { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 28px; }
.hm-stage-f .hm-media-in { width: 100%; border-radius: 20px; }
.hm-product { position: relative; width: 100%; max-width: 330px; padding: 18px 18px 10px; border-radius: 20px; background: #fff; box-shadow: var(--hm-sh-2); font-size: 13.5px; }
.hm-product-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.hm-product-code { color: var(--hm-ink-3); font-size: 12.5px; margin-top: 2px; }
.hm-sale { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: #fdecec; color: #b03030; font-size: 11.5px; font-weight: 700; }
.hm-rows { margin-top: 12px !important; }
.hm-rows div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hm-line); }
.hm-rows dt { color: var(--hm-ink-2); }
.hm-rows dd { text-align: right; font-weight: 500; }
.hm-rows dd small { display: block; color: var(--hm-ink-3); font-size: 11px; font-weight: 400; }
.hm-rows .is-main { font-size: 17px; font-weight: 700; }
.hm-rows .is-low { margin: 0 -10px; padding: 9px 10px; border-radius: 10px; border-top-color: transparent; background: linear-gradient(90deg, color-mix(in srgb, var(--cj-brand-from) 18%, transparent), color-mix(in srgb, var(--cj-brand-mid) 10%, transparent)); font-weight: 600; }
.hm-rows .is-low dt { color: var(--hm-ink); }
.hm-rows .is-low dd { font-weight: 700; }
.hm-rows .is-ok { color: #16784f; font-weight: 600; }
.hm-rows .is-ok::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.hm-float-ico { position: absolute; top: -16px; right: -14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--cj-grad-btn); color: #fff; box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--cj-brand-ink) 80%, transparent); }
.hm-float-ico .ico { width: 22px; height: 22px; }
.hm-files { gap: 14px; align-items: flex-end; }
.hm-paper { position: relative; border-radius: 14px; background: #fff; box-shadow: var(--hm-sh-2); }
.hm-pdf { width: 58%; padding: 14px 14px 30px; font-size: 11px; }
.hm-pdf-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.hm-pdf-top div { display: grid; gap: 6px; }
.hm-pdf-top div img { border-radius: 50%; }
.hm-pdf table { width: 100%; border-collapse: collapse; }
.hm-pdf th { text-align: left; font-size: 10px; color: var(--hm-ink-3); font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid var(--hm-line); }
.hm-pdf th:last-child, .hm-pdf td:last-child { text-align: right; }
.hm-pdf td { padding: 5px 0; border-bottom: 1px solid var(--hm-line); }
.hm-qr { width: 38%; padding: 14px 14px 34px; display: grid; justify-items: center; gap: 8px; text-align: center; font-weight: 600; font-size: 12.5px; }
.hm-qr img, .hm-qr picture { width: 100%; height: auto; }
.hm-fchip { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 0 0 1px var(--hm-line), 0 8px 20px -10px rgba(11, 27, 31, 0.35); }
.hm-fchip .ico { width: 14px; height: 14px; }
.hm-fchip.is-pdf .ico { color: #c4561f; }
.hm-fchip.is-csv .ico { color: #1f8a52; }
.hm-timeline { position: relative; width: 100%; padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--hm-sh-2); }
.hm-timeline ol { display: grid; gap: 22px; position: relative; }
.hm-timeline ol::before { content: ''; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: var(--hm-line); }
.hm-timeline li { position: relative; padding-left: 32px; }
.hm-timeline li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #c9d3d5; }
.hm-timeline li.is-on::before { box-shadow: inset 0 0 0 2px var(--cj-brand-ink), inset 0 0 0 5px #fff; background: var(--cj-brand-ink); }
.hm-timeline time { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.hm-timeline span { color: var(--hm-ink-2); font-size: 14px; }
.hm-cal { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle, var(--cj-brand-soft) 0%, var(--cj-brand-soft) 55%, transparent 72%); color: var(--cj-brand-ink); }
.hm-cal .ico { width: 28px; height: 28px; }
/* Ikona kalendara ne smije prekriti natpise: desno mjesto za nju, na uskom ekranu skrivena (kao .hw-clock). */
.hm-timeline ol { padding-right: 76px; }
@media (max-width: 559px) { .hm-timeline ol { padding-right: 0; } .hm-timeline .hm-cal { display: none; } }
.hm-cal::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--cj-brand-ink) 25%, transparent); animation: hm-pulse 3s var(--hm-ease) infinite; }
@keyframes hm-pulse { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.hm-tour { gap: 12px; align-items: center; }
.hm-lang { flex: 1; max-width: 280px; padding: 12px; border-radius: 20px; background: #fff; box-shadow: var(--hm-sh-2); }
.hm-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--hm-surface); font-size: 12.5px; font-weight: 700; text-align: center; }
.hm-seg span { padding: 7px 0; border-radius: 9px; color: var(--hm-ink-2); }
.hm-seg .is-on { background: var(--cj-brand-ink); color: #fff; }
.hm-lang ul { margin-top: 8px; }
.hm-lang li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 6px; border-top: 1px solid var(--hm-line); font-size: 14px; }
.hm-lang li:first-child { border-top: 0; }
.hm-flags { position: relative; display: grid; gap: 14px; width: 52px; }
.hm-arc { position: absolute; left: -14px; top: -10px; width: 60px; height: calc(100% + 20px); color: color-mix(in srgb, var(--cj-brand-ink) 40%, transparent); }
.hm-flag { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #fff; box-shadow: var(--hm-sh-2); }
.hm-flag svg { width: 28px; height: 19px; border-radius: 3px; }
.hm-flag:nth-child(3) { transform: translateX(-14px); }

/* Paketi */
.hm-promo { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--cj-brand-soft); color: var(--cj-brand-ink); font-size: 14px; }
.hm-promo .ico { width: 16px; height: 16px; }
.hm-plans { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 960px) { .hm-plans { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.hm-plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 34px 30px 30px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px var(--hm-line), var(--hm-sh-1); transition: box-shadow 0.6s var(--hm-ease); }
.hm-plan:hover { box-shadow: 0 0 0 1px var(--hm-line), var(--hm-sh-2); }
.hm-plan.is-featured { box-shadow: 0 0 0 2px var(--cj-brand-mid), var(--hm-sh-2); }
.hm-plan-flag { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--cj-grad-btn); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hm-plan-name { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.hm-plan-desc { color: var(--hm-ink-3); font-size: 15px; }
.hm-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 22px !important; }
.hm-plan-price s { color: var(--hm-ink-3); font-size: 20px; text-decoration-thickness: 1.5px; }
.hm-plan-price strong { font-size: 54px; line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.hm-plan-price span { color: var(--hm-ink-2); font-size: 15px; }
.hm-plan-bill { font-size: 13.5px; color: var(--hm-ink-3); }
.hm-plan ul { display: grid; gap: 12px; margin: 24px 0 30px; font-size: 15.5px; }
.hm-plan li { display: flex; gap: 10px; align-items: flex-start; }
.hm-plan li .ico { width: 20px; height: 20px; color: var(--cj-brand-ink); margin-top: 1px; }
.hm-plan .hm-btn { margin-top: auto; width: 100%; }
.hm-plans-foot { display: grid; gap: 10px; justify-items: center; margin-top: 48px; text-align: center; color: var(--hm-ink-2); font-size: 15px; }
.hm-plans-foot ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.hm-plans-foot li { display: inline-flex; align-items: center; gap: 8px; }
.hm-plans-foot li .ico { width: 17px; height: 17px; color: var(--cj-brand-ink); }
.hm-tiny { font-size: 12.5px; color: var(--hm-ink-3); }
.hm-plans-foot .hm-more { margin-top: 10px; }

/* Vaš LINK */
.hm-link-sec { padding: 40px 0 80px; }
.hm-link-box { display: grid; gap: 28px; justify-items: center; text-align: center; }
.hm-linkbig { display: inline-flex; align-items: center; gap: 16px; max-width: 100%; padding: 20px 30px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--hm-line), var(--hm-sh-2); font-size: clamp(20px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.03em; min-width: 0; }
.hm-linkbig .ico, .hm-pill .ico { flex: none; }
.hm-linkbig .ico { width: 0.9em; height: 0.9em; color: var(--cj-brand-ink); }
.hm-sep { width: 1px; align-self: stretch; background: var(--hm-line); }
/* Red povjerenja (nalog 36): šest stavki, 3 × 2 na računalu, 2 stupca na tabletu i mobitelu. */
.hm .hm-trustlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 1080px; margin-top: 24px; text-align: left; }
@media (min-width: 1000px) { .hm .hm-trustlist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; } }
.hm-trustlist li { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--hm-line), var(--hm-sh-1); }
.hm-trust-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--cj-brand-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cj-brand-from) 22%, transparent); color: var(--cj-brand-ink); }
.hm-trust-ico .ico { width: 20px; height: 20px; }
.hm-trustlist h3 { min-width: 0; font-size: 15.5px; line-height: 1.35; font-weight: 600; color: var(--hm-ink); letter-spacing: -0.01em; }
@media (max-width: 559px) {
    .hm .hm-trustlist { gap: 10px; }
    .hm-trustlist li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .hm-trust-ico { width: 36px; height: 36px; }
    .hm-trustlist h3 { font-size: 14px; }
}

/* Kraj */
.hm-final { padding: 24px 0 100px; }
.hm-band { position: relative; overflow: hidden; border-radius: 44px; padding: 80px 24px; text-align: center; color: #fff; background: #0b1b1f; }
.hm-band::before { content: ''; position: absolute; left: -10%; right: -10%; bottom: -70%; height: 130%; background: radial-gradient(closest-side, color-mix(in srgb, var(--cj-brand-from) 55%, transparent), transparent); pointer-events: none; }
.hm-band::after { content: ''; position: absolute; right: -10%; top: -60%; width: 60%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--cj-brand-to) 30%, transparent), transparent); pointer-events: none; }
.hm-band > * { position: relative; z-index: 1; }
.hm-band h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; max-width: 16ch; margin: 0 auto; text-wrap: balance; }
.hm-band p { margin: 18px auto 34px; color: #c3d0d2; font-size: 18px; }
.hm-band .hm-btn.cj-btn-grad:focus-visible { box-shadow: 0 0 0 2px #0b1b1f, 0 0 0 4px #ffffff; }

/* Podnožje (nalog 45): logo i opis, stupci Proizvod, Pravno i Kontakt, donji red s pružateljem. */
.hm-footer { border-top: 1px solid var(--hm-line); padding: 48px 0 40px; font-size: 14px; color: var(--hm-ink-3); }
.hm-footer img { display: block; height: 26px; width: auto; }
.hm-footer a { color: var(--hm-ink-2); text-decoration: none; border-radius: 4px; }
.hm-footer a:hover { color: var(--hm-ink); text-decoration: underline; text-underline-offset: 3px; }
.hm-footer a:focus-visible { outline: 2px solid var(--cj-brand-ink); outline-offset: 2px; }
.hm-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.hm-footer-brand p { margin-top: 12px; max-width: 26ch; line-height: 1.5; }
.hm-footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.hm-footer-col a { display: inline-flex; align-items: center; min-height: 28px; overflow-wrap: anywhere; }
.hm-footer-h { margin-bottom: 6px; color: var(--hm-ink); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.hm-footer-note { margin: -6px 0 6px; font-size: 12.5px; }
.hm-footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hm-line); }
.hm-footer-bottom a { color: var(--hm-ink); font-weight: 600; }
.hm-footer .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 859px) { .hm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .hm-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

@media (min-width: 860px) { .hm-sec { padding: 150px 0; } .hm-sec.is-flush { padding-top: 0; } }
@media (max-width: 640px) {
    .hm-sec { padding: 96px 0; }
    .hm-card { padding: 30px 22px 22px; border-radius: 28px; }
    .hm-feat { padding: 24px 20px 0; min-height: 0; }
    .hm-stage-f { padding-top: 6px; }
    .hm-ai-wrap { padding: 64px 12px 32px; border-radius: 32px; }
    .hm-head { margin-bottom: 44px; }
    .hm-media-in { aspect-ratio: 1 / 1; }
    .hm-band { border-radius: 32px; padding: 64px 20px; }
    .hm-linkbig { padding: 16px 20px; gap: 12px; }
    .hm-plans-foot ul { flex-direction: column; align-items: flex-start; text-align: left; gap: 12px; }
    .hm-plans-foot li { align-items: flex-start; }
    .hm-plans-foot li .ico { margin-top: 3px; }
}

/* ---------- /cijene: puna usporedba paketa ---------- */
.hm-page-head { padding: 72px 0 48px; }
.hm-page-head h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; text-wrap: balance; }
.hm-compare { margin-bottom: 40px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px var(--hm-line), var(--hm-sh-1); overflow: hidden; }
.hm-compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hm-compare th, .hm-compare td { padding: 16px 20px; border-top: 1px solid var(--hm-line); text-align: center; vertical-align: middle; }
.hm-compare thead th { border-top: 0; vertical-align: top; padding-top: 28px; width: 20%; font-weight: 400; }
.hm-compare thead .hm-plan-name { display: block; font-weight: 700; }
.hm-compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--hm-ink); }
.hm-compare th[scope="row"] small { display: block; margin-top: 2px; color: var(--hm-ink-3); font-size: 13px; font-weight: 400; }
.hm-compare .is-featured { background: color-mix(in srgb, var(--cj-brand-soft) 60%, transparent); }
.hm-compare thead .hm-plan-name { font-size: 24px; }
.hm-compare .hm-plan-price { justify-content: center; gap: 2px 8px; margin-top: 10px !important; }
.hm-compare .hm-plan-price strong { font-size: 32px; }
.hm-compare .hm-plan-price s { font-size: 16px; }
.hm-compare .hm-plan-bill { font-size: 12.5px; }
.hm-compare tfoot td { padding: 20px; }
.hm-compare tfoot .hm-btn { width: 100%; min-height: 46px; padding: 0 16px; }
.hm-yes { display: inline-grid; place-items: center; color: var(--cj-brand-ink); }
.hm-yes .ico { width: 22px; height: 22px; }
.hm-no { color: var(--hm-ink-3); }
.hm-compare-cards { display: grid; gap: 18px; margin-bottom: 40px; }
.hm-compare-cards .hm-plan li.is-off { color: var(--hm-ink-3); }
.hm-compare-cards .hm-plan li.is-off .ico { color: var(--hm-ink-3); }
@media (max-width: 899px) { .hm-compare { display: none; } }
@media (min-width: 900px) { .hm-compare-cards { display: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hm-rv, .hm-rv.is-in { opacity: 1; transform: none; filter: none; transition: none; }
    .hm-bf, .hm-bf-dev, .hm-hero-copy > *, .hm-aurora, .hm-beam::after { animation: none !important; }
    .hm-beam { display: none; }
    .hm-glass::after, .hm-cal::before { animation: none !important; display: none; }
    .hm-par { transform: none !important; }
    .hm-magic::before { display: none; }
    .hm-card, .hm-feat, .hm-btn, .hm-plan { transition: none; }
    .hm-card:hover, .hm-feat:hover, .hm-btn.cj-btn-grad:hover { transform: none; }
}

/* nalog 39: FAQ i samo CSV. „Za koga je cjenik.link“ i šest pitanja (partials/hm-faq) na naslovnoj i /mogucnosti. */
.hm-faq-sec .hm-head { margin-bottom: 48px; }
.hm-faq-profiles { display: grid; gap: 20px; }
@media (min-width: 640px) { .hm-faq-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hm-faq-profiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hm-faq-profile { gap: 12px; padding: 30px 26px 26px; border-radius: 26px; min-width: 0; }
.hm-faq-profile h3 { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.2; letter-spacing: -0.02em; }
.hm-faq-profile p { flex: 1 1 auto; font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.hm-faq-ico .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--hm-bg); color: var(--cj-brand-ink); box-shadow: var(--hm-sh-1); }
/* Nalog 53: „Česta pitanja“ u dva stupca (>= 1080 px), pitanja kao kartice akordeona (samo CSS). */
.hm-faq-qa { display: grid; gap: 14px; margin-top: 72px; }
.hm-faq-aside { display: contents; }
.hm .hm-faq-title { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 700; }
.hm .hm-faq-lead { margin: -4px 0 6px; color: var(--hm-ink-2); font-size: 16px; line-height: 1.55; }
.hm .hm-faq-all { order: 3; margin-top: 10px; }
.hm-faq-list { display: grid; gap: 12px; min-width: 0; }
.hm-faq-item { position: relative; border-radius: 20px; background: var(--hm-bg); box-shadow: 0 0 0 1px var(--hm-line), var(--hm-sh-1); scroll-margin-top: 88px; transition: box-shadow 0.3s var(--hm-ease); }
.hm-faq-item::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--cj-grad); opacity: 0; transition: opacity 0.3s var(--hm-ease); }
.hm-faq-item[open] { box-shadow: 0 0 0 1px color-mix(in srgb, var(--cj-brand-from) 45%, transparent), var(--hm-sh-2); }
.hm-faq-item[open]::before { opacity: 1; }
.hm-faq-item:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--cj-brand-ink) 30%, transparent), var(--hm-sh-1); }
.hm-faq-item[open]:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--cj-brand-from) 45%, transparent), var(--hm-sh-2); }
.hm-faq-item summary { position: relative; display: block; padding: 20px 72px 20px 24px; border-radius: 20px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--hm-ink); }
.hm-faq-item summary::-webkit-details-marker { display: none; }
.hm-faq-item summary:hover { color: var(--cj-brand-ink); }
.hm-faq-item summary:focus-visible { outline: none; box-shadow: var(--cj-focus-ring); }
/* Kružna ikona (::after) s vodoravnom crtom; okomita crta (::before) se pri otvaranju okrene u vodoravnu (minus). */
.hm-faq-item summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: linear-gradient(var(--cj-brand-ink), var(--cj-brand-ink)) center / 12px 2px no-repeat, var(--cj-brand-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cj-brand-from) 30%, transparent); }
.hm-faq-item summary::before { content: ''; position: absolute; z-index: 1; right: 35px; top: 50%; width: 2px; height: 12px; margin-top: -6px; border-radius: 2px; background: var(--cj-brand-ink); transition: transform 0.3s var(--hm-ease), background 0.3s var(--hm-ease); }
.hm-faq-item[open] summary::after { background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, var(--cj-grad-btn); box-shadow: none; }
.hm-faq-item[open] summary::before { transform: rotate(90deg); background: #fff; }
.hm-faq-item p { margin: -6px 0 0; padding: 0 72px 22px 24px; color: var(--hm-ink-2); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
@media (min-width: 1080px) {
    .hm-faq-qa { grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); gap: 56px; align-items: start; margin-top: 96px; }
    .hm-faq-aside { display: grid; gap: 14px; position: sticky; top: 104px; }
    .hm .hm-faq-lead { margin: 0; max-width: 360px; font-size: 17px; }
    .hm .hm-faq-all { margin-top: 6px; }
}
@media (max-width: 640px) {
    .hm-faq-profile { padding: 26px 22px 22px; }
    .hm-faq-qa { margin-top: 56px; }
    .hm-faq-item summary { font-size: 16px; padding: 18px 60px 18px 18px; }
    .hm-faq-item summary::after { right: 16px; width: 30px; height: 30px; margin-top: -15px; }
    .hm-faq-item summary::before { right: 30px; }
    .hm-faq-item p { padding: 0 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .hm-faq-item, .hm-faq-item::before, .hm-faq-item summary::before { transition: none; }
}

/* ---------- Nalog 42: glavni video „Kako radi“ (izbornik, modal, sekcije) ---------- */
.hm-video-ico { width: 18px; height: 18px; flex: none; color: var(--cj-brand-ink); }
.hm-nav-links > .hm-nav-video { display: inline-flex; align-items: center; gap: 6px; }
.hm-sheet-link.hm-nav-video { justify-content: flex-start; gap: 12px; }
.hm-sheet-link.hm-nav-video .hm-video-ico { width: 26px; height: 26px; color: var(--cj-brand-ink); }
@media (min-width: 1080px) and (max-width: 1279px) {
    .hm-nav-links { gap: 20px; font-size: 15px; }
    .hm-nav .hm-nav-login { margin-left: 18px; }
}

/* Gumb ispod polja za ime u prvom ekranu naslovne. */
/* Nalog 53: tekstualna poveznica s malom ikonom play, odmah ispod polja (ne samostalna pilula). */
.hm-video-btn { display: inline-flex; align-items: center; gap: 14px; justify-self: start; width: max-content; min-height: 44px; padding: 0 6px 0 2px; border-radius: 12px; color: var(--cj-brand-ink-2); font-size: 16.5px; font-weight: 600; transition: color 0.3s var(--hm-ease); }
.hm-video-btn:hover { color: var(--cj-brand-ink); }
.hm-video-btn:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hm-video-btn:focus-visible { outline: none; box-shadow: var(--cj-focus-ring); }
/* Nalog 60: veći gumb s blagim pulsom (val oko kruga; bez pulsa uz smanjeno kretanje). */
.hm-video-dot { position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 999px; background: var(--cj-grad-btn); color: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--cj-brand-ink-2) 70%, transparent); }
.hm-video-dot svg { width: 19px; height: 19px; margin-left: 3px; }
.hm-video-dot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in srgb, var(--cj-brand-ink-2) 38%, transparent); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
    .hm-video-dot::after { animation: hm-video-pulse 2.6s ease-out infinite; }
    .hm-video-btn:hover .hm-video-dot::after { animation-play-state: paused; }
    @keyframes hm-video-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cj-brand-ink-2) 38%, transparent); } 70%, 100% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--cj-brand-ink-2) 0%, transparent); } }
}
.hm-video-btn small { font-size: 14px; font-weight: 500; color: var(--hm-ink-3); }
.hm-try + .hm-video-btn { margin-top: 24px; }

/* Sekcija „Pogledajte kako radi“ na naslovnoj: poster s gumbom play (otvara modal). */
.hm-vsec { padding-top: 0; }
.hm-vsec .hm-head { margin-bottom: 40px; }
.hm-vposter { position: relative; display: block; max-width: 1100px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: var(--hm-surface); box-shadow: 0 0 0 1px var(--hm-line), var(--hm-sh-2); }
.hm-vposter img { display: block; width: 100%; height: auto; transition: transform 0.6s var(--hm-ease); }
.hm-vposter:hover img { transform: scale(1.015); }
.hm-vposter::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 27, 31, 0.35)); pointer-events: none; }
.hm-vplay { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 999px; transform: translate(-50%, -50%); background: var(--cj-grad-btn); color: #fff; box-shadow: 0 0 0 10px color-mix(in srgb, #fff 45%, transparent), 0 20px 40px -12px rgba(11, 27, 31, 0.45); transition: transform 0.3s var(--hm-ease); }
.hm-vplay svg { width: 36px; height: 36px; margin-left: 4px; }
.hm-vposter:hover .hm-vplay { transform: translate(-50%, -50%) scale(1.06); }
.hm-vposter:focus-visible { outline: none; box-shadow: var(--cj-focus-ring); }
.hm-vlen { position: absolute; right: 16px; bottom: 14px; z-index: 1; padding: 4px 12px; border-radius: 999px; background: rgba(11, 27, 31, 0.72); color: #fff; font-size: 14px; font-weight: 600; }
@media (max-width: 640px) {
    .hm-vsec { padding-top: 0; }
    .hm-vposter { border-radius: 16px; }
    .hm-vplay { width: 64px; height: 64px; }
    .hm-vplay svg { width: 26px; height: 26px; }
}

/* Modal (partials/hm-video-modal, js/video-modal.js): do 1100 px, na mobitelu puna širina. */
.hm-vmodal { width: min(1100px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 22px; background: var(--hm-bg); color: var(--hm-ink); box-shadow: var(--hm-sh-2); overflow: auto; }
.hm-vmodal::backdrop { background: rgba(11, 27, 31, 0.72); backdrop-filter: blur(4px); }
.hm-vmodal-box { display: grid; gap: 12px; padding: 16px 18px 18px; }
.hm-vmodal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hm-vmodal-head h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.hm-vmodal-head h2 span { font-weight: 500; color: var(--hm-ink-3); }
.hm-vmodal-x { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--hm-surface); color: var(--hm-ink); cursor: pointer; }
.hm-vmodal-x:hover { background: var(--cj-brand-soft); }
.hm-vmodal-x:focus-visible { outline: none; box-shadow: var(--cj-focus-ring); }
.hm-vmodal-x .ico { width: 22px; height: 22px; }
.hm-vmodal-media video { display: block; width: 100%; height: auto; border-radius: 14px; background: #000; }
.hm-vmodal-note { font-size: 13.5px; color: var(--hm-ink-3); }
html.hm-vmodal-open { overflow: hidden; }
@media (max-width: 640px) {
    .hm-vmodal { width: 100vw; max-height: 100dvh; margin: auto 0; border-radius: 0; }
    .hm-vmodal-box { padding: 12px 12px 14px; }
    .hm-vmodal-media video { border-radius: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
    .hm-vmodal[open] { animation: hm-vmodal-in 0.22s var(--hm-ease); }
    @keyframes hm-vmodal-in { from { opacity: 0; transform: translateY(8px) scale(0.985); } }
}
@media (prefers-reduced-motion: reduce) {
    .hm-video-btn, .hm-vposter img, .hm-vplay { transition: none; }
}

/* Inline video (partials/video-main): /mogucnosti#video i dokumentacija. */
.cj-vid { display: grid; gap: 12px; margin: 0; }
.cj-vid-cap { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--hm-ink); }
.cj-vid-cap-ico { width: 22px; height: 22px; flex: none; color: var(--cj-brand-ink); }
.cj-vid-frame { border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--hm-line), var(--hm-sh-2); }
.cj-vid-frame video { display: block; width: 100%; height: auto; }
/* ---------- kraj: nalog 42 ---------- */
@media (max-width: 999px) {
    /* Mobitel: gumb ostaje odmah ispod polja za ime (prvi stupac je display: contents). */
    .hm-hero .hm-video-btn { order: 4; margin-top: 4px; position: relative; z-index: 2; }
}
/* Nalog 46: poveznica na dulju verziju ispod kratkog videa u modalu. */
.hm-vmodal-note a { margin-left: 6px; color: var(--cj-brand-ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- nalog 59: mrvice (partials/breadcrumbs) i stranice u stilu cjenik.css ----------
 * Mrvice su jedan sitan redak iznad H1, iste boje kao dosadašnje mrvice dokumentacije.
 * .hm-chrome (layout public/site) daje zaglavlju i podnožju nasljedna svojstva naslovne,
 * a sam ne crta kutiju (display: contents), pa zaglavlje ostaje ljepljivo. */
.hm-crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--hm-ink-3); }
.hm-crumbs a { color: var(--cj-brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.hm-crumbs [aria-current] { color: var(--hm-ink-2); }
.hm-chrome { display: contents; font-family: 'Plex', 'IBM Plex Sans', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.5; color: var(--hm-ink); -webkit-font-smoothing: antialiased; font-variant-numeric: normal; }
.hm-site .page .hm-crumbs { margin-bottom: 14px; }
.hm-hero-copy > .hm-crumbs { margin-bottom: 14px; }
/* Opisna poveznica ispod dviju kartica „Radi s vašim webom“ (na /provjera). */
.hm-duo-foot { margin-top: 28px; text-align: center; }
/* Izbornik računala bez prelamanja: „Pogledajte video“ se prikazuje tek kad stane (inače je u ☰ i podnožju). */
.hm-nav-links > a, .hm-dd-btn { white-space: nowrap; }
@media (max-width: 1279px) { .hm-nav-links > .hm-nav-video { display: none; } }
/* Rečenica s poveznicom na Dokumentaciju ispod „Sva pitanja i odgovori“ (na mobitelu iza pitanja). */
.hm .hm-faq-doc { order: 4; margin: 0; font-size: 15px; }
.hm .hm-faq-doc a { color: var(--cj-brand-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Nalog 58: na /cijene uz „Kupi {paket}“ mala poveznica za besplatnu probu, ispod gumba. */
.hm .hm-try-link { display: block; width: fit-content; margin: 12px auto 0; color: var(--hm-ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.hm .hm-try-link:hover { color: var(--cj-brand-ink); }
.hm .hm-try-link:focus-visible { outline: none; border-radius: 4px; box-shadow: var(--cj-focus-ring); }

/* Nalog 74 (P-05): gumb za zaustavljanje petlje (App\Support\LandingVideo::loop, js/landing-video.js). */
:has(> .lp-video-toggle) { position: relative; }
.lp-video-toggle { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: rgb(0 0 0 / 0.6); color: #fff; cursor: pointer; }
.lp-video-toggle[hidden] { display: none; }
.lp-video-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.lp-video-toggle .lp-vt-play, .lp-video-toggle[aria-pressed="true"] .lp-vt-pause { display: none; }
.lp-video-toggle[aria-pressed="true"] .lp-vt-play { display: inline; }
.lp-video-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px rgb(0 0 0 / 0.6); }
