/* ==========================================================================
   Fontovi (lokalno, bez vanjskih poziva)
   ========================================================================== */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/bricolage-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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/bricolage-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;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/instrument-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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/instrument-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;
}

/* ==========================================================================
   Osnova
   ========================================================================== */
:root {
  --bg: #060a14;
  --bg-alt: #080e1c;
  --panel: #0c1424;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --ink: #eef2f9;
  --dim: #a9b3c8;
  --faint: #7f8aa5;
  --amber: #ffb454;
  --amber-2: #ff8a3d;
  --ice: #9ad8ff;
  --ok: #74e3a6;
  --err: #ff9a9a;
  --font-d: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-b: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-m: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --r: 22px;
  --wrap: 1180px;
  --gut: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--font-b);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(255, 180, 84, .35); }

.wrap {
  width: min(100% - 2 * var(--gut), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--amber);
  color: #1d1002;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

h2 {
  font: 600 clamp(2rem, 4.6vw, 3.5rem)/1.04 var(--font-d);
  letter-spacing: -.028em;
  text-wrap: balance;
}
h3 {
  font: 600 1.375rem/1.2 var(--font-d);
  letter-spacing: -.015em;
}

.accent,
.line--accent > span {
  background: linear-gradient(100deg, #ffd08a 0%, var(--amber) 38%, var(--amber-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Gumbi i sitni elementi
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 54px;
  padding: .7em 1.55em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-b);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s;
}
.btn--primary {
  background: linear-gradient(135deg, #ffc56f, var(--amber-2));
  color: #1d1002;
  box-shadow: 0 12px 34px -12px rgba(255, 138, 61, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -12px rgba(255, 138, 61, .95), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--ghost {
  background: rgba(255, 255, 255, .045);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .34);
}
.btn--sm { min-height: 42px; padding: .5em 1.15em; font-size: .9375rem; }
.btn:active { transform: translateY(0) scale(.985); }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.linkbtn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .4);
  cursor: pointer;
}
.linkbtn:hover { text-decoration-color: var(--amber); }

.link {
  display: inline-flex;
  gap: .4em;
  color: var(--amber);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 180, 84, .35);
  padding-bottom: 2px;
  transition: border-color .25s;
}
.link:hover { border-color: var(--amber); }

.kicker,
.tag,
.eyebrow {
  font: 500 .75rem/1 var(--font-m);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kicker { color: var(--amber); margin-bottom: 20px; }

.tag {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--dim);
  letter-spacing: .1em;
}
.tag--amber {
  border-color: rgba(255, 180, 84, .45);
  background: rgba(255, 180, 84, .1);
  color: var(--amber);
}

.badge {
  display: inline-block;
  margin-left: .5em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(154, 216, 255, .12);
  color: var(--ice);
  font: 500 .6875rem/1.2 var(--font-m);
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.fine {
  color: var(--faint);
  font-size: .875rem;
  line-height: 1.55;
}

.card {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018));
  overflow: hidden;
}
/* svjetlo koje prati pokazivač */
.card[data-spot]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(154, 216, 255, .1), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card[data-spot]:hover::before { opacity: 1; }
.card > * { position: relative; }

.checks { display: grid; gap: 12px; }
.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--dim);
  line-height: 1.45;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .12em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 180, 84, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-5' fill='none' stroke='%23ffb454' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks--plus li::before {
  background: rgba(154, 216, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.6v6.8M2.6 6h6.8' fill='none' stroke='%239ad8ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ==========================================================================
   Navigacija
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-block: 14px;
  transition: background-color .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding-block: 9px;
  background: rgba(6, 10, 20, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-color: var(--line);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__text { display: grid; gap: 4px; }
.brand__name { font: 700 1.1875rem/1 var(--font-d); letter-spacing: -.02em; white-space: nowrap; }
.brand__by {
  color: var(--faint);
  font: 500 .625rem/1 var(--font-m);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.brand__sat { fill: var(--amber); }
.nav__links {
  display: none;
  gap: 30px;
  margin-left: auto;
  font-size: .9375rem;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  color: var(--dim);
  text-decoration: none;
  transition: color .25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav .btn { margin-left: auto; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav .btn { margin-left: 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(90% 55% at 78% 0%, rgba(60, 92, 190, .2), transparent 70%),
    linear-gradient(180deg, #03050b 0%, #060b1a 38%, #0b1530 72%, #131c3c 100%);
}
.hero__sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.scene {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: max(100%, 980px);
  height: auto;
  aspect-ratio: 1440 / 420;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.scene__glints path {
  stroke-dasharray: 26 200;
  animation: glint 7s linear infinite;
  opacity: .5;
}
.scene__glints path:nth-child(2n) { animation-duration: 9s; animation-delay: -3s; }
.scene__glints path:nth-child(3n) { animation-duration: 11s; animation-delay: -6s; }
@keyframes glint { to { stroke-dashoffset: -226; } }

.scene__lamp { animation: lamp 4.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lamp {
  0%, 58%, 100% { opacity: .15; transform: scale(.6); }
  66% { opacity: 1; transform: scale(1.5); }
  74% { opacity: .2; transform: scale(.7); }
}
.scene__win, .scene__glow { opacity: 0; animation: lights-on .9s ease-out 2.1s forwards; }
.scene__win--2 { animation-delay: 2.5s; }
.scene__glow { animation-name: glow-on; }
@keyframes lights-on { to { opacity: 1; } }
@keyframes glow-on { to { opacity: .9; } }
.scene__dawn { animation: dawn 12s ease-in-out infinite alternate; transform-origin: 500px 304px; }
@keyframes dawn { from { opacity: .82; transform: scale(.97); } to { opacity: 1; transform: scale(1.04); } }

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: 100px;
  /* tekst završava iznad obzora; prizor zauzima donji dio heroja */
  padding-bottom: clamp(150px, 12vw, 210px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(6, 10, 20, .5);
  color: var(--dim);
  letter-spacing: .12em;
}
.eyebrow__dot,
.hero__hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(116, 227, 166, .7);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(116, 227, 166, .6); }
  100% { box-shadow: 0 0 0 10px rgba(116, 227, 166, 0); }
}
.hero__title {
  max-width: 13.5em;
  /* visina prozora također ograničava naslov, da prizor stane na niske ekrane */
  font: 600 clamp(2.5rem, min(8.4vw, 11.2vh), 6.25rem)/1 var(--font-d);
  letter-spacing: -.035em;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-block: .1em;
  margin-block: -.1em;
}
.hero__title .line > span {
  display: inline-block;
  transform: translateY(112%);
  animation: rise 1.15s var(--ease) forwards;
  animation-delay: calc(.2s + var(--i) * .13s);
}
@keyframes rise { to { transform: none; } }
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 1s var(--ease) forwards;
  animation-delay: calc(.25s + var(--i) * .12s);
}
@keyframes fade-up { to { opacity: 1; transform: none; } }

.hero__lead {
  max-width: 38em;
  margin-top: 24px;
  color: var(--dim);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero__note {
  margin-top: 18px;
  color: var(--faint);
  font-size: .875rem;
}
.hero__hud {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(6, 10, 20, .72);
  color: var(--ice);
  font: 500 .6875rem/1 var(--font-m);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .6s;
  will-change: transform;
}
.hero__hud.is-on { opacity: 1; }
@media (min-width: 1000px) { .hero__hud { display: inline-flex; } }
@media (max-width: 560px) {
  .hero__cta .btn { width: 100%; }
  /* kuća s antenom bliže desnom rubu, da veza ne prelazi preko teksta */
  .scene { right: -84px; }
}

/* ==========================================================================
   Traka "za koga"
   ========================================================================== */
.strip {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding-block: 22px;
  border-block: 1px solid var(--line);
  background: var(--bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.strip:hover .strip__track { animation-play-state: paused; }
.strip__list { display: flex; }
.strip__list li {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  color: var(--dim);
  font: 500 1.0625rem/1 var(--font-d);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.strip__list li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  opacity: .8;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sekcije
   ========================================================================== */
.section { padding-block: clamp(76px, 10vw, 150px); position: relative; }
.section--alt {
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(154, 216, 255, .055), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
}
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head__lead {
  margin-top: 20px;
  max-width: 38em;
  color: var(--dim);
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
}
.head__lead + .head__lead { margin-top: 12px; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in,
.no-reveal [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- Usluge ---------- */
.services { display: grid; gap: 20px; }
@media (min-width: 860px) { .services { grid-template-columns: 1fr 1fr; } }
.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(26px, 3.4vw, 44px);
}
.service h3 { font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.05; letter-spacing: -.025em; }
.service__text { color: var(--dim); max-width: 30em; }
.service .checks { margin-block: 6px 14px; }
.service .btn { margin-top: auto; }
.service--hl {
  border-color: rgba(255, 180, 84, .32);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(255, 138, 61, .16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
}
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price__num { font: 600 3.25rem/1 var(--font-d); letter-spacing: -.03em; }
.price__unit { font: 600 1.5rem/1 var(--font-d); color: var(--dim); }
.price__cap { width: 100%; color: var(--faint); font-size: .875rem; }
.compare { margin-top: 26px; color: var(--dim); font-size: .9375rem; }
.compare .price__num { font: inherit; letter-spacing: 0; }
.compare strong { color: var(--ink); }
@media (max-width: 560px) { .service .btn { width: 100%; } }

/* ---------- Kako radi ---------- */
.process { display: grid; gap: 12px; }
@media (min-width: 940px) {
  .process { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  .process__head { position: sticky; top: 120px; margin-bottom: 0; }
}
.process__head .link { margin-top: 26px; }

.steps {
  --p: 0;
  position: relative;
  display: grid;
  gap: 8px;
  padding-left: 58px;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
}
.steps::before { background: var(--line); }
.steps::after {
  background: linear-gradient(180deg, var(--amber), var(--amber-2));
  transform-origin: top;
  transform: scaleY(var(--p));
  box-shadow: 0 0 18px rgba(255, 150, 70, .6);
}
.step {
  position: relative;
  padding: 22px 0 26px;
  transition: opacity .5s;
}
.js .step { opacity: .42; }
.js .step.is-on { opacity: 1; }
.step::before {
  content: "";
  position: absolute;
  left: -45px;
  top: 26px;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--bg-alt);
  transition: border-color .4s, background-color .4s, box-shadow .4s;
}
.step.is-on::before {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 180, 84, .16);
}
.step__n {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font: 500 .75rem/1 var(--font-m);
  letter-spacing: .14em;
}
.step h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-bottom: 10px; }
.step p { color: var(--dim); max-width: 34em; }

.included {
  display: grid;
  gap: 20px;
  margin-top: clamp(56px, 8vw, 110px);
  scroll-margin-top: 110px;
}
@media (min-width: 820px) { .included { grid-template-columns: 1.1fr .9fr; } }
.included__col h3 { margin-bottom: 22px; }
.included__col .fine { margin-top: 22px; }

/* ---------- Oprema ---------- */
.bento { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .bento {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-areas: "kit plan" "kit costs" "box box";
  }
  .kit { grid-area: kit; }
  .plan { grid-area: plan; }
  .costs { grid-area: costs; }
  .box { grid-area: box; }
}
.kit__name { margin-top: 16px; font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1; letter-spacing: -.035em; }
.kit__sub { margin-top: 10px; color: var(--dim); }
.kit__art { width: 100%; height: auto; margin-block: 8px 14px; }
.kit__deg { fill: var(--ice); font: 500 15px var(--font-m); }
.kit__waves circle {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: wave 4.2s linear infinite;
}
.kit__waves circle:nth-child(2) { animation-delay: -1.4s; }
.kit__waves circle:nth-child(3) { animation-delay: -2.8s; }
@keyframes wave {
  0% { transform: scale(.12); opacity: 0; }
  18% { opacity: .75; }
  100% { transform: scale(1); opacity: 0; }
}
.kit__cable { animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.kit__wifi path { opacity: .2; animation: wifi 2.1s ease-in-out infinite; }
.kit__wifi path:nth-child(2) { animation-delay: .22s; }
.kit__wifi path:nth-child(3) { animation-delay: .44s; }
@keyframes wifi { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }

.specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.specs div {
  padding-block: 13px;
  border-top: 1px solid var(--line);
}
.specs dt, .rows dt {
  color: var(--faint);
  font-size: .8125rem;
}
.specs dd { margin-top: 3px; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr; } }

.plan h3, .costs h3 { margin-top: 16px; font-size: clamp(1.625rem, 2.6vw, 2.125rem); }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  font: 600 clamp(3.5rem, 7vw, 5rem)/1 var(--font-d);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.plan__unit { color: var(--dim); font: 500 1.125rem/1 var(--font-b); letter-spacing: 0; }
.plan__text { margin-top: 14px; color: var(--dim); }
.rows { margin-top: 18px; }
.rows div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding-block: 13px;
  border-top: 1px solid var(--line);
}
.rows dd { text-align: right; font-weight: 500; }
.rows--big dt { color: var(--dim); font-size: .9375rem; }
.rows--big dd { font: 600 1.25rem/1.2 var(--font-d); white-space: nowrap; }
.costs .fine { margin-top: 16px; }

.box__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px 28px;
  margin-top: 20px;
  counter-reset: box;
}
.box__list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding-block: 10px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  counter-increment: box;
}
.box__list li::before {
  content: counter(box, decimal-leading-zero);
  color: var(--amber);
  font: 500 .75rem/1 var(--font-m);
  letter-spacing: .1em;
}
.source {
  max-width: 62em;
  margin-top: 26px;
  color: var(--faint);
  font-size: .875rem;
  line-height: 1.55;
}
.source a { color: var(--dim); }

/* ---------- Pokrivenost ---------- */
.cover { display: grid; gap: 40px; align-items: center; }
@media (min-width: 940px) { .cover { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }
.cover .head { margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stats div { padding-top: 16px; border-top: 1px solid var(--line-2); }
.stats dd {
  font: 600 clamp(2rem, 4.4vw, 3.25rem)/1 var(--font-d);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stats dt { margin-top: 8px; color: var(--faint); font-size: .875rem; line-height: 1.35; }

.cover__map { position: relative; }
.cover__map::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(closest-side, rgba(154, 216, 255, .13), transparent);
  filter: blur(20px);
}
.map { position: relative; width: 100%; height: auto; overflow: visible; }
.map__base { fill: rgba(154, 216, 255, .05); }
.map__dots { fill: url(#hr-dots); }
.map__line {
  fill: none;
  stroke: rgba(154, 216, 255, .55);
  stroke-width: 1.1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map__wave {
  transform-box: fill-box;
  transform-origin: center;
  animation: sweep 6.5s cubic-bezier(.3, .2, .4, 1) infinite;
  opacity: 0;
}
.map__wave--2 { animation-delay: -3.25s; }
@keyframes sweep {
  0% { transform: scale(.02); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
.city text {
  fill: var(--dim);
  font: 500 19px var(--font-b);
  paint-order: stroke;
  stroke: var(--bg-alt);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.city__dot { fill: #fff; }
.city__pulse {
  fill: none;
  stroke: var(--ice);
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 3s ease-out infinite;
  animation-delay: var(--d, 0s);
}
.city__ring { fill: rgba(255, 180, 84, .12); stroke: var(--amber); stroke-width: 1.2; }
.city--base .city__dot { fill: var(--amber); }
.city--base .city__pulse { stroke: var(--amber); }
.city--base text { fill: var(--ink); font-weight: 600; }
.city__tag {
  fill: var(--amber);
  font: 500 13px var(--font-m);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.city--hl .city__dot { fill: var(--amber); }
.city--hl .city__pulse { stroke: var(--amber); }
.city--hl text { fill: var(--amber); font-weight: 600; }
@keyframes pulse {
  0% { transform: scale(.6); opacity: .9; }
  70%, 100% { transform: scale(4.2); opacity: 0; }
}

/* ---------- Upit ---------- */
.ask { display: grid; gap: 20px; align-items: start; }
@media (min-width: 980px) { .ask { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.ask__main { padding: clamp(18px, 3vw, 36px); overflow: visible; }
.ask__side { display: grid; gap: 20px; }
@media (min-width: 980px) { .ask__side { position: sticky; top: 104px; } }
.side h3 { margin-bottom: 20px; font-size: 1.25rem; }
.side .fine { margin-top: 18px; }
.side__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.side__row span { color: var(--faint); }
.side__row a { font-weight: 600; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }

.tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(0, 0, 0, .28);
}
.tabs__btn {
  position: relative;
  z-index: 1;
  min-height: 52px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--dim);
  font: 600 .9375rem/1.2 var(--font-b);
  cursor: pointer;
  transition: color .3s;
}
.tabs__btn[aria-selected="true"] { color: #1d1002; }
.tabs__pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffc56f, var(--amber-2));
  box-shadow: 0 8px 24px -10px rgba(255, 138, 61, .9);
  transition: transform .5s var(--ease);
}
.tabs[data-active="narucivanje"] .tabs__pill { transform: translateX(100%); }

.panel { margin-top: 28px; }
.panel.is-enter { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

.form { display: grid; gap: 18px 16px; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 8px; align-content: start; }
.field label,
.chips legend {
  font-size: .9375rem;
  font-weight: 600;
}
.opt {
  margin-left: .4em;
  color: var(--faint);
  font-size: .8125rem;
  font-weight: 400;
}
.hint { color: var(--faint); font-size: .8125rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: rgba(3, 6, 14, .6);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a9b3c8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
}
.field select:invalid { color: var(--faint); }
.field option { background: #0c1424; color: var(--ink); }
.field ::placeholder { color: #66718c; opacity: 1; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, .3); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--ice);
  box-shadow: 0 0 0 4px rgba(154, 216, 255, .16);
  background-color: rgba(3, 6, 14, .85);
}
.is-bad input,
.is-bad select,
.is-bad textarea { border-color: var(--err); }
.err {
  color: var(--err);
  font-size: .8125rem;
  line-height: 1.4;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips legend { float: left; width: 100%; margin-bottom: 10px; padding: 0; }
.chips .err { width: 100%; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--dim);
  font-weight: 500;
  transition: border-color .25s, background-color .25s, color .25s;
}
.chip:hover span { border-color: rgba(255, 255, 255, .34); }
.chip input:checked + span {
  border-color: var(--amber);
  background: rgba(255, 180, 84, .14);
  color: var(--ink);
}
.chip input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--dim);
  font-size: .9375rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: rgba(3, 6, 14, .6) center / 13px no-repeat;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.consent input:checked {
  border-color: var(--amber);
  background-color: var(--amber);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3l2.4 2.4 4.8-5.2' fill='none' stroke='%231d1002' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.consent.is-bad input { border-color: var(--err); }
.consent .err { grid-column: 2; }

.form__foot { display: grid; gap: 14px; justify-items: start; margin-top: 6px; }
.form__status:empty { display: none; }
.form__status { color: var(--err); font-size: .9375rem; }
@media (max-width: 560px) { .form__foot .btn { width: 100%; } }

.result {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-block: 8px;
  animation: panel-in .6s var(--ease);
}
.result__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(116, 227, 166, .14);
  color: var(--ok);
}
.result__icon svg { width: 28px; height: 28px; }
.result__icon path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.result--warn .result__icon { background: rgba(255, 180, 84, .14); color: var(--amber); }
.result h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.result p { color: var(--dim); max-width: 36em; }
.result pre {
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, .3);
  color: var(--dim);
  font: 400 .8125rem/1.6 var(--font-m);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.result__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pitanja ---------- */
.faq { display: grid; gap: 8px; }
@media (min-width: 940px) {
  .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq .head { position: sticky; top: 120px; }
}
.q { border-top: 1px solid var(--line-2); }
.q:last-child { border-bottom: 1px solid var(--line-2); }
.q summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 2px;
  font: 600 clamp(1.0625rem, 1.6vw, 1.25rem)/1.3 var(--font-d);
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
  transition: color .25s;
}
.q summary::-webkit-details-marker { display: none; }
.q summary:hover { color: var(--amber); }
.q summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' fill='none' stroke='%23eef2f9' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .45s var(--ease), border-color .25s;
}
.q[open] summary::after { transform: rotate(135deg); border-color: var(--amber); }
.q__a { padding: 0 48px 24px 2px; color: var(--dim); }
.q[open] .q__a { animation: panel-in .45s var(--ease); }

/* ---------- Završni poziv ---------- */
.cta {
  position: relative;
  padding-block: clamp(84px, 12vw, 170px);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 115%, rgba(255, 138, 61, .34), transparent 62%),
    var(--bg);
}
.cta__in { display: grid; justify-items: center; gap: 36px; }
.cta h2 { font-size: clamp(2.125rem, 5.6vw, 4.25rem); }

/* ==========================================================================
   Podnožje i dijalog
   ========================================================================== */
.foot { padding-block: 54px 40px; border-top: 1px solid var(--line); }
.foot__in { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot__in { grid-template-columns: 1fr auto; align-items: start; } }
.foot__brand p { margin-top: 12px; color: var(--faint); max-width: 26em; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 14px 26px; color: var(--dim); font-size: .9375rem; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: var(--ink); }
.foot__nav .linkbtn { text-decoration: none; }
.foot__legal,
.foot__copy { grid-column: 1 / -1; color: var(--faint); font-size: .8125rem; line-height: 1.6; }
.foot__legal { max-width: 70em; padding-top: 24px; border-top: 1px solid var(--line); }

.modal {
  width: min(640px, calc(100% - 32px));
  max-height: min(84vh, 760px);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #0b1222;
  color: var(--dim);
  font-size: .9375rem;
  overflow-y: auto;
}
.modal::backdrop { background: rgba(2, 4, 10, .72); backdrop-filter: blur(6px); }
.modal[open] { animation: panel-in .35s var(--ease); }
.modal h2 { margin-bottom: 18px; color: var(--ink); font-size: 1.75rem; }
.modal p + p { margin-top: 12px; }
.modal strong { color: var(--ink); }
.modal__close { display: flex; justify-content: flex-end; margin-bottom: 4px; color: var(--dim); font-size: .875rem; }
.modal__close .linkbtn { text-decoration: none; }

/* ==========================================================================
   Manje pokreta
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .strip__track { animation: none; flex-wrap: wrap; width: auto; }
  .strip__list[aria-hidden] { display: none; }
  .strip__list { flex-wrap: wrap; justify-content: center; row-gap: 14px; padding-inline: var(--gut); }
  .map__wave, .kit__waves circle, .city__pulse { animation: none; opacity: 0; }
  .js .step { opacity: 1; }
}
