/* =========================================================
   IPTV BALKAN — dizajn
   Mobile-first: osnova je telefon, veći ekrani kroz min-width.
   ========================================================= */

@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b1124;
  --ink-2: #2b334a;
  --muted: #5f677c;
  --bg: #ffffff;
  --soft: #f3f5fa;
  --line: #e2e6ef;
  --brand: #3352ff;
  --brand-2: #6d84ff;
  --brand-soft: #edf0ff;
  --wa: #25d366;
  --wa-hover: #1ebe5a;
  --wa-ink: #03361a;
  --hot: #ff4d3d;
  --night: #0b1124;
  --night-2: #141c38;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --gutter: 20px;
  --max: 1180px;
  --hdr-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(11, 17, 36, .06), 0 8px 24px rgba(11, 17, 36, .06);
}

/* ---------- osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 750; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }

.ico { width: 22px; height: 22px; flex: none; }
.ico--sm { width: 18px; height: 18px; }
.ico--xs { width: 15px; height: 15px; }
.ico--lg { width: 30px; height: 30px; }

/* ---------- dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border: 1.5px solid transparent; border-radius: 999px;
  font: 700 1rem/1.1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 1.05rem; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn--wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 8px 22px rgba(37, 211, 102, .32); }
.btn--wa:hover { background: var(--wa-hover); box-shadow: 0 10px 28px rgba(37, 211, 102, .42); }
.btn--line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--glass { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; }
.btn--glass:hover { background: rgba(255, 255, 255, .14); }

/* ---------- gornja traka + header ---------- */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 8px var(--gutter);
  background: var(--brand); color: #fff; font-size: .88rem; text-decoration: none; text-align: center;
}
.topbar b { font-weight: 750; }
.topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .3); flex: none; }
.topbar__go { display: none; align-items: center; gap: 4px; font-weight: 700; text-decoration: underline; }

.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.is-scrolled .hdr { border-color: var(--line); box-shadow: 0 4px 18px rgba(11, 17, 36, .05); }
.hdr__in { display: flex; align-items: center; gap: 12px; height: var(--hdr-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.logo__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--brand), #7b5cff); color: #fff; box-shadow: 0 6px 16px rgba(51, 82, 255, .35); }
.logo__mark .ico { width: 18px; height: 18px; margin-left: 2px; }
.logo__txt { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.logo__txt b { font-weight: 800; }

.nav { display: none; }
.hdr__cta .ico { width: 18px; height: 18px; }
.burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 959px) {
  .menu-open .nav {
    display: flex; flex-direction: column; position: fixed; inset: calc(var(--hdr-h) + 40px) 0 0; z-index: 59;
    padding: 18px var(--gutter) 40px; background: #fff; overflow-y: auto;
  }
  .is-scrolled.menu-open .nav { inset-block-start: var(--hdr-h); }
  .nav > a { padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.2rem; font-weight: 650; text-decoration: none; }
  .nav__mob { display: grid; gap: 10px; margin-top: 22px; }
  .nav__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; color: var(--ink); font-weight: 650; text-decoration: none; }
  .menu-open body { overflow: hidden; }
}

/* ---------- hero (tamni) ---------- */
.hero, .phero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(51, 82, 255, .45), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(123, 92, 255, .28), transparent 70%),
    var(--night);
}
.hero__in { display: grid; gap: 40px; padding-block: 40px 88px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .85rem; font-weight: 600; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 0 rgba(255, 77, 61, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(255, 77, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 61, 0); } }
.hero h1, .phero h1 { margin-top: 16px; font-size: clamp(2.05rem, 8.4vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.hl { background: linear-gradient(90deg, #8ea2ff, #c4b5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 18px; max-width: 34rem; color: #c9cfe3; font-size: 1.08rem; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__cta .btn--wa { flex: 1 1 100%; }
.hero__cta .btn--glass { flex: 1 1 100%; }
.hero__note { margin-top: 12px; color: #98a1bd; font-size: .88rem; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .ico { color: var(--wa); margin-top: 3px; }
.ticks--hero { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; color: #dfe3f1; font-size: .95rem; font-weight: 600; }
.ticks--hero li { align-items: center; gap: 6px; }
.ticks--hero .ico { margin: 0; }

.hero__vis { position: relative; }
.screen { position: relative; padding: 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; background: linear-gradient(180deg, #1a2245, #10162e); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.screen__live { position: absolute; top: -12px; left: 18px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--hot); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.screen__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tile { position: relative; margin: 0; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: #1d2547; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 20, .85)); }
.tile figcaption { position: absolute; left: 8px; right: 6px; bottom: 6px; z-index: 1; display: grid; font-size: .72rem; font-weight: 700; line-height: 1.15; }
.tile small { color: #aab3d1; font-size: .6rem; font-weight: 600; letter-spacing: .06em; }
.price-chip { position: absolute; right: -6px; bottom: -34px; display: grid; padding: 12px 16px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); line-height: 1.15; }
.price-chip small { color: var(--muted); font-size: .75rem; font-weight: 600; }
.price-chip b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.price-chip span { color: #0f8a43; font-size: .8rem; font-weight: 700; }

/* ---------- brojke ---------- */
.stats { position: relative; z-index: 2; margin-top: -44px; }
.stats__in { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--line); box-shadow: var(--shadow); }
.stats__in { max-width: calc(var(--max) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.stats p { display: grid; gap: 2px; padding: 18px 16px; background: #fff; }
.stats b { font-size: clamp(1.45rem, 6vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: .88rem; }

/* ---------- sekcije ---------- */
.sec { padding-block: 64px; }
.sec--soft { background: var(--soft); }
.sec--tight { padding-block: 32px; }
.sh { max-width: 40rem; margin-bottom: 32px; }
.kick { color: var(--brand); font-size: .82rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.kick--light { color: #a7b4ff; }
.sh h2 { margin-top: 8px; font-size: clamp(1.7rem, 6vw, 2.5rem); }
.sh__lead { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
.split { display: grid; gap: 24px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* program kartice */
.prog { display: grid; gap: 14px; }
.pcard { display: grid; align-content: start; grid-template-columns: 112px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd6e6; }
.pcard img { width: 100%; height: 100%; object-fit: cover; }
.pcard__b { padding: 14px 16px; }
.pcard h3 { font-size: 1.1rem; }
.pcard p { margin-top: 4px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.pcard__go { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--brand); font-size: .88rem; font-weight: 700; }

/* kanali po državama */
.ctry { display: grid; gap: 8px; }
.ctry details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.ctry summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 700; }
.ctry summary::-webkit-details-marker { display: none; }
.ctry summary small { color: var(--muted); font-size: .85rem; font-weight: 600; }
.ctry summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; margin-left: -4px; border-radius: 50%; background: var(--soft); font-size: 1.1rem; font-weight: 600; flex: none; }
.ctry summary span { margin-right: auto; }
.ctry details[open] summary::after { content: "–"; }
.ctry .chips { padding: 0 18px 18px; }
.ctry__more { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: #2238b8; font-size: .88rem; font-weight: 600; }

/* koraci */
.steps { display: grid; gap: 14px; margin-bottom: 28px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.1rem; }
.steps h3 { font-size: 1.12rem; margin-top: 2px; }
.steps p { margin-top: 4px; color: var(--muted); }
.steps--sm { margin-block: 8px 0; }

/* chat */
.chat { max-width: 420px; width: 100%; justify-self: center; overflow: hidden; border-radius: 26px; background: #efeae2; box-shadow: 0 24px 60px rgba(11, 17, 36, .16); border: 6px solid var(--ink); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075e54; color: #fff; }
.chat__head span:nth-child(2) { display: grid; line-height: 1.2; margin-right: auto; }
.chat__head small { color: #bfe8d9; font-size: .75rem; }
.chat__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #7b5cff); }
.chat__av .ico { width: 16px; height: 16px; margin-left: 2px; }
.chat__wa { opacity: .85; }
.chat__body { display: grid; gap: 8px; padding: 16px 12px 20px; }
.msg { position: relative; max-width: 85%; justify-self: start; padding: 8px 12px 18px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: .93rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.msg--me { justify-self: end; border-radius: 14px 4px 14px 14px; background: #d9fdd3; }
.msg time { position: absolute; right: 10px; bottom: 3px; color: #667781; font-size: .68rem; }

/* cijene */
.plans { display: grid; gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.plan--top { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(51, 82, 255, .16); }
.plan__badge { position: absolute; top: -13px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 750; }
.plan__n { font-size: 1.1rem; }
.plan__p { display: grid; margin-top: 10px; }
.plan__p b { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.plan__p span { color: var(--muted); font-size: .92rem; font-weight: 600; }
.plan--top .plan__p span { color: #0f8a43; }
.plan__s { margin-top: 10px; color: var(--ink-2); font-size: .95rem; }
.plan .ticks { margin-block: 18px 22px; font-size: .95rem; }
.plan__btn { margin-top: auto; width: 100%; }
.plans__pay { margin-top: 22px; color: var(--muted); font-size: .95rem; text-align: center; }
.plans__pay b { color: var(--ink); font-weight: 650; }

/* uređaji */
.dev { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dev__i { padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.dev__i .ico { color: var(--brand); }
.dev__i h3 { margin-top: 12px; font-size: 1rem; }
.dev__i p { margin-top: 4px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.dev__note { margin-top: 20px; color: var(--muted); }

/* poređenje */
.cmp { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.cmp table { width: 100%; min-width: 0; border-collapse: collapse; font-size: .95rem; }
.cmp th, .cmp td { padding: 12px 8px; font-size: .8rem; line-height: 1.35; hyphens: auto; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { font-size: .85rem; color: var(--muted); font-weight: 700; }
.cmp tbody th { font-weight: 650; }
.cmp td { color: var(--muted); }
.cmp .cmp__us { background: var(--brand-soft); color: var(--ink); font-weight: 700; }
.cmp thead .cmp__us { color: var(--brand); }

/* države */
.lands { display: flex; flex-wrap: wrap; gap: 8px; }
.lands a, .lands span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; font-weight: 600; }
.lands a { border-color: var(--brand); background: var(--brand-soft); color: #2238b8; text-decoration: none; }
.lands a:hover { background: #dfe5ff; }
.lands span { color: var(--ink-2); }

/* pitanja */
.faq { display: grid; gap: 8px; }
.faq__list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }

/* CTA traka */
.cta { display: grid; gap: 22px; padding: 34px 24px; border-radius: var(--r-lg); color: #fff; background: radial-gradient(80% 120% at 100% 0%, rgba(123, 92, 255, .55), transparent 60%), linear-gradient(135deg, #2741f5, #1b2bb0); }
.cta h2 { font-size: clamp(1.6rem, 6vw, 2.3rem); }
.cta p { margin-top: 8px; color: #dfe4ff; font-size: 1.05rem; }
.cta__btns { display: grid; gap: 10px; }
.cta__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 600; }

/* ---------- podstranice ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; color: #98a1bd; font-size: .88rem; }
.crumbs a { color: #c9cfe3; }
.phero .wrap { padding-bottom: 56px; }
.phero__in { display: grid; gap: 32px; padding-top: 22px; }
.phero__img { margin: 0; overflow: hidden; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.phero__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.art-wrap { display: grid; gap: 36px; }
.art { max-width: 44rem; font-size: 1.06rem; }
.art h2 { margin: 40px 0 12px; font-size: clamp(1.45rem, 5vw, 1.9rem); }
.art > h2:first-child { margin-top: 0; }
.art p + p { margin-top: 14px; }
.art p { color: var(--ink-2); }
.art .chips { margin-top: 4px; }
.cities { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--soft); font-size: .98rem; }
.lcards { display: grid; gap: 12px; margin-top: 22px; }
.lcard { padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r); }
.lcard h3 { font-size: 1.05rem; }
.lcard p { margin-top: 6px; font-size: .97rem; color: var(--muted); }
.terms { display: grid; gap: 10px; margin: 0; }
.terms div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.terms dt { font-weight: 750; }
.terms dd { margin: 2px 0 0; color: var(--muted); }
.inline-cta { display: grid; gap: 14px; margin-top: 40px; padding: 22px; border-radius: var(--r-lg); background: var(--brand-soft); }
.inline-cta p { color: var(--ink); }
.inline-cta .btn { justify-self: start; }

.side__card { padding: 24px 22px; border: 2px solid var(--brand); border-radius: var(--r-lg); background: #fff; box-shadow: 0 20px 50px rgba(51, 82, 255, .12); }
.side__k { color: var(--brand); font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.side__p { display: grid; margin-top: 6px; }
.side__p b { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.side__p span { color: #0f8a43; font-weight: 700; font-size: .92rem; }
.side .ticks { margin-block: 16px 20px; font-size: .95rem; }
.side__btn { width: 100%; }
.side__or { margin-top: 10px; color: var(--muted); font-size: .88rem; text-align: center; }

.rel__h { font-size: 1.2rem; margin-bottom: 14px; }
.rel { display: flex; flex-wrap: wrap; gap: 8px; }
.rel a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.rel a:hover { border-color: var(--brand); color: var(--brand); }

/* pravne stranice */
.doc-hero { padding-bottom: 36px; color: #fff; background: var(--night); }
.doc-hero h1 { margin-top: 20px; font-size: clamp(2rem, 7vw, 3rem); }
.doc-lead { margin-top: 12px; max-width: 40rem; color: #c9cfe3; font-size: 1.08rem; }
.doc { max-width: 46rem; color: var(--ink-2); }
.doc h2 { margin: 34px 0 10px; color: var(--ink); font-size: 1.35rem; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0; padding-left: 20px; list-style: disc; }
.doc li + li { margin-top: 6px; }
.doc-small { margin-top: 24px; color: var(--muted); font-size: .9rem; }
.doc-dl { display: grid; gap: 10px; margin: 14px 0; padding: 18px; border-radius: var(--r); background: var(--soft); }
.doc-dl dt { color: var(--muted); font-size: .82rem; font-weight: 600; }
.doc-dl dd { margin: 2px 0 0; color: var(--ink); font-weight: 650; }
.doc-callout { padding: 16px 18px; border-radius: var(--r); background: var(--brand-soft); color: var(--ink); }
.doc-form { display: grid; gap: 10px; margin-top: 14px; padding: 20px; border: 1px dashed #c6cddd; border-radius: var(--r); }
.nf { padding-block: 80px; text-align: left; }
.nf h1 { margin-top: 10px; font-size: clamp(2rem, 7vw, 3rem); }
.nf .doc-lead { color: var(--muted); }

/* ---------- footer ---------- */
.ftr { padding: 56px 0 120px; background: var(--night); color: #c9cfe3; font-size: .95rem; }
.ftr .logo { color: #fff; }
.ftr__grid { display: grid; gap: 32px; }
.ftr__brand p { margin-top: 14px; max-width: 26rem; }
.ftr__contact { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.ftr__contact a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; }
.ftr__h { margin-bottom: 12px; color: #fff; font-size: .95rem; letter-spacing: 0; }
.ftr ul { display: grid; gap: 8px; }
.ftr ul a { color: #c9cfe3; text-decoration: none; }
.ftr ul a:hover { color: #fff; text-decoration: underline; }
.ftr__note { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); color: #8790ab; font-size: .82rem; }

/* ---------- WhatsApp traka (mobilni) / dugme (desktop) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 8px;
  padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 17, 36, .08);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.show-dock .dock { transform: none; }
.dock a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 999px; font-weight: 750; text-decoration: none; }
.dock__wa { flex: 1; background: var(--wa); color: var(--wa-ink); font-size: 1.05rem; }
.dock__vb { width: 52px; flex: none; background: #7360f2; color: #fff; }
.menu-open .dock, .promo-open .dock { visibility: hidden; }

/* ---------- popup ---------- */
.promo { position: fixed; inset: 0; z-index: 200; display: grid; align-items: end; justify-items: center; }
.promo[hidden] { display: none; }
.promo__bg { position: absolute; inset: 0; background: rgba(6, 10, 24, .7); opacity: 0; transition: opacity .25s var(--ease); }
.promo__card {
  position: relative; width: 100%; max-width: 440px; padding: 30px 22px max(18px, env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0; background: #fff; text-align: center; box-shadow: 0 -20px 60px rgba(0, 0, 0, .3);
  transform: translateY(100%); transition: transform .3s var(--ease);
}
.promo__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 26px 26px 0 0; background: linear-gradient(90deg, var(--brand), #7b5cff, var(--wa)); }
.promo.is-open .promo__bg { opacity: 1; }
.promo.is-open .promo__card { transform: none; }
.promo-open body { overflow: hidden; }
.promo__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.promo__k { color: var(--brand); font-size: .9rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.promo__t { margin: 10px auto 0; max-width: 18ch; font-size: clamp(1.5rem, 6vw, 1.85rem); font-weight: 800; }
.promo__d { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.promo__price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.promo__price s { color: var(--muted); font-size: 1.1rem; }
.promo__price b { color: var(--ink); font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.promo__price span { color: var(--muted); font-size: .9rem; }
.promo__cta { width: 100%; margin-top: 18px; }
.promo__timer { margin-top: 14px; color: var(--ink-2); font-size: .95rem; }
.promo__clock { display: inline-block; min-width: 4.4ch; margin-left: 4px; padding: 3px 8px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-variant-numeric: tabular-nums; font-weight: 800; }
.promo.is-urgent .promo__clock { background: #ffe8e5; color: var(--hot); }
.promo__no { margin-top: 6px; padding: 8px 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }

/* ---------- veći ekrani ---------- */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .topbar__go { display: inline-flex; }
  .hero__cta .btn--wa, .hero__cta .btn--glass { flex: 0 0 auto; }
  .stats__in { grid-template-columns: repeat(4, 1fr); }
  .prog { grid-template-columns: 1fr 1fr; }
  .dev { grid-template-columns: repeat(3, 1fr); }
  .lcards { grid-template-columns: repeat(3, 1fr); }
  .cta__btns { display: flex; flex-wrap: wrap; align-items: center; }
  .promo { align-items: center; padding: 20px; }
  .promo__card { padding: 38px 32px 22px; border-radius: 26px; opacity: 0; transform: translateY(20px) scale(.97); transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .promo.is-open .promo__card { opacity: 1; }
}
@media (min-width: 960px) {
  :root { --hdr-h: 72px; }
  .burger { display: none; }
  .nav { display: flex; gap: 4px; margin-right: 12px; }
  .nav > a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .97rem; text-decoration: none; }
  .nav > a:hover { background: var(--soft); color: var(--ink); }
  .nav__mob { display: none; }
  .hero__in { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; padding-block: 72px 120px; }
  .sec { padding-block: 96px; }
  .sec--tight { padding-block: 40px; }
  .split { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .split--how { grid-template-columns: 1fr 1fr; align-items: center; }
  .prog { grid-template-columns: repeat(4, 1fr); }
  .pcard { grid-template-columns: 1fr; }
  .pcard img { aspect-ratio: 16 / 10; height: auto; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .faq { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .faq > div:first-child { position: sticky; top: calc(var(--hdr-h) + 24px); }
  .cta { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 48px; }
  .cta__btns { justify-content: flex-end; }
  .phero__in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .art-wrap { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
  .side { position: sticky; top: calc(var(--hdr-h) + 24px); }
  .ftr { padding-bottom: 56px; }
  .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  /* desktop: umjesto trake – plutajuće dugme dole desno */
  .dock { left: auto; right: 24px; bottom: 24px; padding: 0; border: 0; background: none; box-shadow: none; }
  .dock__vb { display: none !important; }
  .dock__wa { padding: 0 24px; box-shadow: 0 12px 30px rgba(37, 211, 102, .45); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 600px) {
  .cmp th, .cmp td { padding: 14px 16px; font-size: .95rem; }
}
@media (min-width: 960px) {
  .price-chip { right: -18px; bottom: -44px; }
}
