/* autoskola-testovi.com – stil
   BOJE BRENDA: sve na jednom mjestu (:root). Za novi brend promijenite samo ove varijable,
   img/logo.svg, img/logo-svijetli.svg i ikone (img/favicon.svg, favicon.ico, apple-touch-icon.png). */
:root {
  --ink: #161B2E;          /* glavni tekst, tamni elementi */
  --ink-2: #454D63;        /* sekundarni tekst */
  --paper: #F3F5F9;        /* pozadina stranice */
  --surface: #FFFFFF;      /* kartice */
  --line: #DCE1EA;         /* rubovi */
  --accent: #FFC93C;       /* naglasak (signalno žuta) */
  --accent-hover: #FFB61A;
  --accent-ink: #161B2E;   /* tekst na naglasku */
  --link: #1F4FD1;         /* poveznice i fokus */
  --red: #D62839;
  --green: #12804A;
  --green-bg: #E5F5EC;
  --red-bg: #FCE8EA;
  --asphalt: #1E2436;      /* tamni pojas (cesta) */
  --asphalt-2: #2B3249;
  --on-dark: #FFFFFF;
  --on-dark-2: #C6CCDA;

  --font-display: "AT Display", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-1: 0 1px 2px rgba(22, 27, 46, .06), 0 6px 18px -10px rgba(22, 27, 46, .25);
  --shadow-2: 0 2px 4px rgba(22, 27, 46, .06), 0 22px 44px -20px rgba(22, 27, 46, .38);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 0px;
}

@font-face {
  font-family: "AT Display";
  src: url("../fonts/at-display-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.how :focus-visible, .site-footer :focus-visible, .cta-in :focus-visible, .sp-login :focus-visible, .tile-ai :focus-visible, .app :focus-visible { outline-color: var(--accent); }
.app :focus-visible { outline-color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
[hidden] { display: none !important; }
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }

.display, .display-2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  letter-spacing: -.005em;
  line-height: .98;
  text-wrap: balance;
}
.display { font-size: clamp(2.7rem, 1.6rem + 4.4vw, 5.4rem); margin-bottom: .3em; }
.display-2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 36em; }

/* ---------- gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 3px 0 rgba(22, 27, 46, .9); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 0 rgba(22, 27, 46, .9); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a3150; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .8em 1.6em; font-size: 1.08rem; }

/* ---------- zaglavlje ---------- */
.site-header {
  position: relative; z-index: 50;
  background: rgba(243, 245, 249, .95);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.header-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 12px; padding-bottom: 10px; }
.brand { display: inline-flex; flex: none; border-radius: 8px; }
.brand img { display: block; width: 176px; height: auto; }
.header-cta { margin-left: auto; }
.main-nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); width: calc(100% + 2 * var(--gutter)); }
.main-nav::-webkit-scrollbar { display: none; }
@media (max-width: 899px) { .main-nav { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); } .main-nav ul { padding-right: 40px; } }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 2px 0; white-space: nowrap; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem;
}
.main-nav a:hover { background: rgba(22, 27, 46, .07); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .site-header { position: sticky; top: 0; -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
  .site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(243, 245, 249, .93); }
  .header-in { flex-wrap: nowrap; height: var(--header-h); padding-top: 0; padding-bottom: 0; }
  .brand img { width: 200px; }
  .main-nav { order: 0; width: auto; margin: 0 0 0 auto; padding: 0; overflow: visible; }
  .header-cta { margin-left: 8px; }
}

/* ---------- breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .92rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--ink-2); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 6vw, 88px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute; right: -12vw; top: -14vw; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  border-radius: 50%; background: radial-gradient(circle at 40% 40%, #FFE08A 0%, var(--accent) 45%, rgba(255, 201, 60, 0) 70%);
  opacity: .55;
}
.hero-grid {
  position: absolute; inset: -80px 0 0 0;
  background-image: radial-gradient(rgba(22, 27, 46, .12) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-in { position: relative; display: grid; gap: 28px; align-items: center; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-copy .display { max-width: 11em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; }
}


/* tražilica */
.finder-form { margin-top: 26px; max-width: 640px; }
.finder-label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 1.05rem; }
.finder-field {
  position: relative; display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 18px; padding: 6px;
  box-shadow: 0 5px 0 var(--ink);
  transition: box-shadow .18s ease, transform .18s ease;
}
.finder-field:focus-within { box-shadow: 0 5px 0 var(--ink), 0 0 0 4px rgba(31, 79, 209, .35); }
.finder-ico { position: absolute; left: 18px; width: 22px; height: 22px; color: var(--ink-2); pointer-events: none; }
.finder-field input {
  flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; padding: 0 8px 0 44px; font-size: 1.08rem; outline: none;
}
.finder-field input::-webkit-search-cancel-button { cursor: pointer; }
.finder-field .btn { min-height: 52px; border-radius: 13px; padding: 0 1.3em; }
.finder-hint { font-size: .93rem; color: var(--ink-2); margin: 14px 0 0; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 30px 0 0; padding: 0; }
.hero-stats li { display: flex; align-items: baseline; gap: 8px; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--ink-2); font-weight: 600; font-size: .98rem; }

/* ilustracija u heroju */
.hero-art { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 520 / 540; }
.hero-road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.road-body { fill: none; stroke: var(--asphalt); stroke-width: 96; stroke-linecap: butt; }
.road-line { fill: none; stroke: var(--accent); stroke-width: 7; stroke-dasharray: 26 20; stroke-linecap: round; }
.hero-light { position: absolute; left: 4%; top: 6%; width: 11.5%; }
.hero-light svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(22, 27, 46, .25)); }
.tl-body { fill: var(--ink); }
.tl-pole { fill: var(--ink-2); }
.tl { fill: #3A4157; transition: fill .35s ease, filter .35s ease; }
.tl-r.is-on { fill: #FF4D5E; }
.tl-y.is-on { fill: #FFC93C; }
.tl-g.is-on { fill: #2BD67B; }
.hero-card {
  position: absolute; right: 2%; top: 22%; width: 60%;
  background: var(--surface); border-radius: var(--r-lg); padding: 5% 5.5%;
  box-shadow: var(--shadow-2); rotate: 3deg;
  border: 1px solid rgba(22, 27, 46, .06);
}
.hc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 9%; font-size: clamp(.7rem, .55rem + .5vw, .86rem); font-weight: 700; }
.hc-area { background: var(--paper); border-radius: 999px; padding: .25em .8em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hc-time { flex: none; }
.hc-time { display: inline-flex; align-items: center; gap: 5px; color: var(--red); font-variant-numeric: tabular-nums; }
.hc-q { display: flex; gap: 8%; align-items: center; margin-bottom: 8%; }
.hc-sign { flex: none; width: 26%; height: auto; }
.hc-lines { flex: 1; display: grid; gap: 8px; }
.hc-lines i, .hc-a i { display: block; height: 9px; border-radius: 5px; background: #E3E7EF; }
.hc-lines i:last-child { width: 70%; }
.hc-a { display: flex; align-items: center; gap: 10px; padding: 3.5% 4%; border-radius: 12px; border: 1.5px solid var(--line); margin-top: 4.5%; }
.hc-a b { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #C4CBD8; }
.hc-a i { flex: 1; }
.hc-a.is-ok { border-color: var(--green); background: var(--green-bg); }
.hc-a.is-ok b { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.hc-a.is-ok i { background: #B9E3CA; }
.hero-wheel { position: absolute; right: 4%; bottom: 0; width: 24%; }
.hero-wheel svg, .app-wheel svg { display: block; width: 100%; height: auto; }
.sw-rim { fill: none; stroke: var(--ink); stroke-width: 13; }
.sw-hub { fill: var(--accent); stroke: var(--ink); stroke-width: 7; }
.sw-spoke { fill: none; stroke: var(--ink); stroke-width: 11; stroke-linecap: round; }
[data-wheel] svg { will-change: transform; }
@media (max-width: 959px) {
  .hero { padding-top: 8px; }
  .hero-in { gap: 6px; }
  .hero-art { order: -1; max-width: 460px; aspect-ratio: auto; height: 236px; margin: 0 auto 14px; }
  .hero-art .hero-road { overflow: hidden; }
  .hero-card .hc-a:last-child { display: none; }
  .hero-light { left: 5%; top: 9%; width: 8.5%; max-width: 40px; }
  .hero-card { right: 1%; top: 4%; width: 55%; max-width: 224px; padding: 11px 13px; }
  .hc-sign { width: 22%; }
  .hc-top { margin-bottom: 10px; }
  .hc-q { margin-bottom: 8px; }
  .hc-a { margin-top: 6px; padding: 6px 8px; }
  .hc-lines i, .hc-a i { height: 7px; }
  .hero-wheel { right: auto; left: 17%; bottom: 0; width: 18%; max-width: 84px; }
  .hero-art-b2b { height: 230px; }
  .hero-art-b2b .dash { width: 86%; height: 82%; top: 10%; }
  .hero-art-b2b .hero-wheel { left: auto; right: 0; }
  .fc-bell { width: 52%; }
  .fc-qr .ico { width: 48px; height: 48px; padding: 8px; }
}
/* ---------- tražilica: županije i rezultati ---------- */
.finder { padding: 8px 0 clamp(48px, 7vw, 96px); }
.finder-head { display: grid; gap: 4px 32px; align-items: end; margin-bottom: 18px; }
.finder-head h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin: 0; }
.finder-head p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .finder-head { grid-template-columns: auto 1fr; } .finder-head p { justify-self: end; text-align: right; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 8px 6px 14px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip-n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--paper); font-size: .82rem; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .chip-n { background: var(--accent); color: var(--ink); }
@media (max-width: 699px) {
  .finder.is-active .finder-head { display: none; }
  .finder .chips, .page-list .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .finder .chips li, .page-list .chips li { scroll-snap-align: start; }
}
.finder-status { min-height: 0; margin: 0 0 14px; color: var(--ink-2); font-weight: 600; }
.finder-more { text-align: center; margin-top: 22px; }

.results { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.school-card {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; align-content: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: box-shadow .25s ease, border-color .25s ease, transform .35s cubic-bezier(.2, .7, .2, 1), opacity .6s ease;
}
.school-card:hover { box-shadow: var(--shadow-2); border-color: #C9D0DC; --lift: -3px; }
.school-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; background: #fff; border: 1px solid var(--line); grid-row: span 2; }
.school-name { font-size: 1.08rem; margin: 2px 0 2px; line-height: 1.25; }
.school-name a { color: var(--ink); text-decoration: none; }
.school-name a:hover { text-decoration: underline; }
.school-place { margin: 0; color: var(--ink-2); font-size: .94rem; }
.school-cats { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; }
.cat { display: inline-block; min-width: 30px; text-align: center; padding: 1px 7px; border-radius: 7px; background: var(--paper); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.school-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.school-actions .btn { flex: 1 1 auto; }

/* ---------- mogućnosti (bento) ---------- */
.features { position: relative; padding: clamp(56px, 8vw, 120px) 0; background: var(--surface); overflow: hidden; }
.route-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.route-line > path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 18 16; opacity: .75; }
.section-head { position: relative; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-2); font-size: 1.12rem; margin: 0; max-width: 40em; }
.section-head-light p { color: var(--on-dark-2); }
.bento { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.tile {
  position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 24px;
  border: 1px solid rgba(22, 27, 46, .07);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, opacity .6s ease;
}
.tile:hover { box-shadow: var(--shadow-2); --lift: -4px; }
.tile h3, .tile h4 { font-size: 1.16rem; margin: 14px 0 6px; }
.tile p { margin: 0; color: var(--ink-2); font-size: .99rem; }
.tile-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.tile-icon .ico { width: 26px; height: 26px; }
.tile-xl { background: var(--accent); border-color: transparent; }
.tile-xl p { color: var(--ink); }
.tile-xl .tile-icon { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.tile-xl h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1; margin-top: 18px; }
.tile-ai { background: var(--ink); color: #fff; border-color: transparent; }
.tile-ai p { color: var(--on-dark-2); }
.tile-ai .tile-icon { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.tile-ai h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.02; }
.tile-timer { position: absolute; right: 20px; top: 20px; width: 88px; height: 88px; display: grid; place-items: center; }
.tile-timer svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tile-timer span { font-weight: 800; font-size: .8rem; }
.tt-track { fill: none; stroke: rgba(22, 27, 46, .14); stroke-width: 10; }
.tt-bar { fill: none; stroke: var(--ink); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314.2; stroke-dashoffset: 78; }
.tile-xl h3 { padding-right: 84px; }
.tile-cats { display: flex; gap: 6px; margin-top: 14px !important; }
.tile-cats .cat { background: var(--surface); font-size: .9rem; padding: 3px 10px; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile-xl { grid-column: span 2; grid-row: span 2; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; }
  .tile-xl .tile-icon { position: absolute; left: 34px; top: 34px; }
  .tile-xl p { font-size: 1.1rem; max-width: 30em; }
  .tile-ai { grid-column: span 2; }
  .tile-wide { grid-column: span 2; }
  .tile-timer { width: 120px; height: 120px; right: 30px; top: 30px; }
  .tile-xl h3 { padding-right: 0; }
  .tile-timer span { font-size: .95rem; }
}

/* ---------- kako do pristupa (tamni pojas, cesta) ---------- */
.how { position: relative; background: var(--asphalt); color: var(--on-dark); padding: clamp(64px, 8vw, 120px) 0; }
.how a { color: var(--accent); }
.road-edge { position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--accent) 0 44px, transparent 44px 76px); opacity: .9; }
.how-grid { display: grid; gap: 24px; }
.how-visual { position: relative; }
.how-svg { display: block; overflow: visible; }
.how-svg-v { display: none; width: 100%; height: auto; max-height: 72vh; margin: 0 auto; }
.how-svg-h { width: 100%; height: auto; }
.how-road { fill: none; stroke: var(--asphalt-2); stroke-width: 44; stroke-linecap: round; }
.how-dash { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 3; stroke-dasharray: 12 12; }
.how-progress { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.how-stop circle { fill: var(--asphalt); stroke: var(--on-dark-2); stroke-width: 3; transition: fill .3s ease, stroke .3s ease; }
.how-stop text { fill: var(--on-dark); font-family: var(--font-display); font-weight: 700; font-size: 20px; text-anchor: middle; transition: fill .3s ease; }
.how-stop.is-on circle { fill: var(--accent); stroke: var(--accent); }
.how-stop.is-on text { fill: var(--ink); }
.car-body { fill: #FF4D5E; stroke: var(--ink); stroke-width: 2.5; }
.car-glass { fill: #CFE2FF; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how-card { position: relative; width: 100%; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 24px 24px 24px 84px; transition: background-color .35s ease, border-color .35s ease, opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.how-card h3 { font-size: 1.3rem; margin: 0 0 6px; }
.how-card p { margin: 0; color: var(--on-dark-2); }
.step-num {
  position: absolute; left: 22px; top: 22px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
}
.how-help { display: flex; gap: 14px; align-items: center; margin: 32px 0 0; padding: 18px 22px; border-radius: var(--r-md); background: rgba(255, 201, 60, .12); border: 1px dashed rgba(255, 201, 60, .55); font-weight: 600; }
.how-help .ico { flex: none; width: 28px; height: 28px; color: var(--accent); }
@media (max-width: 899px) {
  .how-visual { display: none; }
  .motion .how-visual { display: block; position: sticky; top: 0; z-index: 3; background: linear-gradient(var(--asphalt) 80%, rgba(30, 36, 54, 0)); padding: 10px var(--gutter) 14px; margin: 0 calc(-1 * var(--gutter)); }
  .motion .how-step { min-height: 42vh; display: flex; align-items: center; }
  .motion .how-step:last-child { min-height: 30vh; }
}
@media (min-width: 900px) {
  .how-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .how-svg-v { display: block; }
  .how-svg-h { display: none; }
  .how-visual { position: sticky; top: calc(var(--header-h) + 32px); }
  .how-card { padding: 30px 32px 30px 100px; }
  .how-card .step-num { left: 28px; top: 28px; width: 52px; height: 52px; font-size: 1.7rem; }
  .motion .how-steps { gap: 0; }
  .motion .how-step { min-height: 52vh; display: flex; align-items: center; }
  .motion .how-step:last-child { min-height: 36vh; }
}
.motion .how-card { opacity: .66; transform: scale(.97); }
.motion .how-step.is-active .how-card { opacity: 1; transform: none; background: rgba(255, 255, 255, .08); border-color: rgba(255, 201, 60, .55); }

/* ---------- probaj pitanje ---------- */
.quiz { padding: clamp(64px, 8vw, 120px) 0; }
.quiz-in { display: grid; gap: 8px 56px; }
@media (min-width: 960px) { .quiz-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } .quiz .section-head { position: sticky; top: calc(var(--header-h) + 40px); } }
.quiz-box { position: relative; background: var(--surface); border-radius: var(--r-xl); padding: clamp(20px, 3.5vw, 40px); box-shadow: var(--shadow-1); border: 1px solid var(--line); overflow: hidden; }
.quiz-progress { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--paper); }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.quiz-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz-q + .quiz-q { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.js-quiz .quiz-q + .quiz-q { margin-top: 0; padding-top: 0; border-top: 0; }
.quiz-q legend { padding: 0; margin-bottom: 18px; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 800; line-height: 1.3; }
.quiz-n { display: block; font-size: .88rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.quiz-media { display: flex; align-items: center; justify-content: center; height: 130px; margin: 0 0 18px; border-radius: var(--r-md); background: var(--paper); }
.quiz-media svg { max-height: 108px; width: auto; }
.quiz-promil { font-family: var(--font-display); font-weight: 700; font-size: 4.5rem; line-height: 1; color: var(--ink); }
.quiz-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.quiz-opt {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 16px; min-height: 56px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface);
  cursor: pointer; font-weight: 600; transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.quiz-opt:hover:not([disabled]) { border-color: var(--ink); transform: translateX(3px); }
.quiz-opt[disabled] { cursor: default; }
.opt-letter { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--paper); font-weight: 800; }
.quiz-opt.is-correct { border-color: var(--green); background: var(--green-bg); }
.quiz-opt.is-correct .opt-letter { background: var(--green); color: #fff; }
.quiz-opt.is-wrong { border-color: var(--red); background: var(--red-bg); }
.quiz-opt.is-wrong .opt-letter { background: var(--red); color: #fff; }
.motion .quiz-opt.is-wrong { animation: shake .4s ease; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.quiz-reveal { margin-top: 14px; }
.quiz-reveal summary { cursor: pointer; font-weight: 700; color: var(--link); }
.js-quiz .quiz-reveal { display: none; }
.quiz-feedback { margin-top: 16px; font-weight: 800; font-size: 1.1rem; }
.quiz-feedback:empty { display: none; }
.quiz-feedback.ok { color: var(--green); }
.quiz-feedback.bad { color: var(--red); }
.quiz-why { margin: 6px 0 0; color: var(--ink-2); }
.quiz-nav { margin-top: 22px; }
.quiz-end { text-align: center; padding: 10px 0; }
.quiz-end:focus { outline: none; }
.quiz-score { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 700; line-height: 1; margin-bottom: 12px; }
.quiz-end-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- aplikacija ---------- */
.app { position: relative; background: var(--accent); overflow: hidden; padding: clamp(56px, 8vw, 110px) 0; }
.app::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -120px; height: 220px; background: var(--accent-hover); border-radius: 50%; opacity: .55; }
.app-in { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .app-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.app-copy .display-2 { margin-bottom: 18px; }
.app .muted { color: #3B3420; }
.app .btn-accent { background: var(--ink); color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.app .btn-accent:hover { background: #2a3150; }
.checks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 1.08rem; }
.checks .ico { flex: none; width: 26px; height: 26px; padding: 3px; border-radius: 50%; background: var(--ink); color: var(--accent); stroke-width: 3; }
.app-phone { position: relative; width: min(280px, 64vw); margin: 0 auto 30px; }
@media (min-width: 900px) { .app-phone { margin-bottom: 0; } }
.phone { position: relative; aspect-ratio: 9 / 18.5; border-radius: 42px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px -24px rgba(22, 27, 46, .6); rotate: -6deg; }
.phone-notch { position: absolute; left: 50%; top: 18px; width: 30%; height: 18px; margin-left: -15%; border-radius: 10px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 32px; background: var(--paper); padding: 48px 14px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.ps-bar { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .85rem; }
.ps-note { display: flex; gap: 10px; align-items: center; background: var(--surface); border-radius: 14px; padding: 10px; box-shadow: var(--shadow-1); }
.ps-note .ico { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 9px; background: var(--accent); }
.ps-note span { flex: 1; display: grid; gap: 6px; }
.ps-note b, .ps-note i { display: block; height: 8px; border-radius: 4px; background: #D9DEE8; }
.ps-note i { width: 60%; }
.ps-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.ps-tiles span { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ps-tiles span:first-child { background: var(--ink); }
.ps-tiles span:nth-child(4) { background: #FFE7A3; }
.ps-cta { height: 42px; border-radius: 12px; background: var(--accent); }
.app-wheel { position: absolute; right: -16%; bottom: -6%; width: 42%; }
.app-wheel .sw-hub { fill: var(--surface); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 8vw, 120px) 0; }
.faq-in { display: grid; gap: 8px 56px; }
@media (min-width: 960px) { .faq-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } .faq .section-head { position: sticky; top: calc(var(--header-h) + 40px); } }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s ease, box-shadow .2s ease, opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.faq-item[open] { border-color: var(--ink); box-shadow: var(--shadow-1); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 1.08rem; border-radius: var(--r-lg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); transition: background-color .2s ease, transform .3s ease; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; background: var(--ink); border-radius: 2px; transition: transform .3s ease; }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign { background: var(--accent); transform: rotate(180deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }
.faq-a { padding: 0 22px 20px; color: var(--ink-2); }
.faq-a p { margin: 0; max-width: 60ch; }
.faq-item.is-animating .faq-a { overflow: hidden; }

/* ---------- CTA pojas ---------- */
.cta-band { padding: 0 0 clamp(64px, 8vw, 110px); }
.cta-in { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.cta-in::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 5px; background: repeating-linear-gradient(90deg, var(--accent) 0 30px, transparent 30px 52px); opacity: .5; }
.cta-in h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin: 0 0 6px; }
.cta-in p { margin: 0; color: var(--on-dark-2); }

/* ---------- podstranice ---------- */
.page-hero { padding: clamp(24px, 4vw, 56px) 0 clamp(20px, 3vw, 36px); }
.page-hero .chips { margin-top: 22px; }
.list-filter { margin: 26px 0 0; max-width: 640px; }
.list { padding: 8px 0 clamp(56px, 7vw, 96px); }
.county-group { margin-bottom: 40px; }
.group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.group-head h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin: 0; }
.group-link { font-weight: 700; }
.empty { background: var(--surface); border: 1px dashed var(--ink-2); border-radius: var(--r-lg); padding: 28px; margin-bottom: 30px; }
.empty h2 { font-size: 1.4rem; }
.other-counties { margin-top: 48px; }
.other-counties h2 { font-family: var(--font-display); font-size: 1.9rem; }

/* stranica autoškole */
.sp-hero { padding-bottom: 28px; }
.sp-head { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.sp-logo { width: 112px; height: 112px; object-fit: contain; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: 6px; }
.sp-title { flex: 1 1 300px; min-width: 0; }
.sp-title h1 { margin: 0 0 10px; overflow-wrap: anywhere; }
.sp-place { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--ink-2); font-weight: 600; }
.sp-place .ico { flex: none; width: 20px; height: 20px; }
.sp-cats { margin-top: 12px; }
.sp-cats .cat { font-size: .92rem; padding: 3px 10px; background: var(--surface); }
.sp-grid { display: grid; gap: 28px; padding-bottom: 56px; }
@media (min-width: 900px) { .sp-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 40px; } .sp-contact { position: sticky; top: calc(var(--header-h) + 24px); } }
.sp-login { position: relative; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); margin-bottom: 32px; overflow: hidden; }
.sp-login::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255, 201, 60, .22); }
.sp-login h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); }
.sp-login p { color: var(--on-dark-2); max-width: 36em; }
.sp-login .muted { color: var(--on-dark-2); margin-bottom: 0; font-size: .95rem; }
.sp-about h2, .sp-steps h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.sp-about { margin-bottom: 28px; }
.sp-about p { max-width: 62ch; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-steps li { position: relative; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 18px 78px; }
.mini-steps .step-num { left: 18px; top: 18px; width: 42px; height: 42px; font-size: 1.35rem; }
.mini-steps h3 { font-size: 1.1rem; margin: 0 0 4px; }
.mini-steps p { margin: 0; color: var(--ink-2); }
.sp-contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; }
.sp-contact h2 { font-family: var(--font-display); font-size: 1.9rem; }
.contact-list { margin: 0; display: grid; gap: 2px; }
.contact-list > div { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 0; }
.contact-list dt { display: flex; gap: 8px; align-items: center; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.contact-list dt .ico { flex: none; width: 18px; height: 18px; }
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.others { background: var(--surface); padding: clamp(40px, 6vw, 72px) 0; }
.others .group-head h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 2rem); }

/* tekstualne stranice */
.prose-wrap { padding: 0 0 72px; }
.prose { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .35em; }

/* 404 */
.nf-in { text-align: left; padding-bottom: 72px; }
.nf-sign { margin-bottom: 18px; }
.nf-sign svg { display: block; }
.nf-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0; font-weight: 700; }
.nf-h { font-size: 1.2rem; margin-top: 32px; }

/* održavanje */
.maint { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.maint-box { max-width: 520px; background: var(--surface); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-1); }
.maint-box h1 { font-family: var(--font-display); font-size: 2.6rem; margin: 22px 0 10px; }

/* ---------- za autoškole ---------- */
.hero-b2b .crumbs { margin-bottom: 4px; }
.hero-art-b2b { aspect-ratio: 520 / 470; }
.dash { position: absolute; left: 0; top: 8%; width: 92%; height: 76%; display: flex; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid rgba(22, 27, 46, .06); }
.dash-side { flex: none; width: 22%; background: var(--ink); padding: 6% 4%; display: flex; flex-direction: column; gap: 9%; }
.dash-logo { display: block; height: 28px; border-radius: 8px; background: var(--accent); }
.dash-side i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.dash-main { flex: 1; padding: 5%; display: flex; flex-direction: column; gap: 3%; }
.dash-row { display: flex; align-items: center; gap: 10px; padding: 3% 3.5%; border-radius: 12px; background: var(--paper); }
.dash-row b { flex: 1; height: 8px; border-radius: 4px; background: #D9DEE8; }
.dash-head { background: transparent; padding-left: 0; padding-right: 0; }
.dash-head b { max-width: 40%; height: 12px; background: var(--ink); }
.dash-btn { margin-left: auto; width: 26%; height: 22px; border-radius: 999px; background: var(--accent); }
.av { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #9DB4F5; }
.av2 { background: #F5A3AC; }
.av3 { background: #8FD9B0; }
.av4 { background: #FFD976; }
.pill { flex: none; width: 18%; height: 14px; border-radius: 999px; background: #D9DEE8; }
.pill-ok { background: #8FD9B0; }
.pill-warn { background: #FFD976; }
.dash-bars { flex: 1; display: flex; align-items: flex-end; gap: 6%; padding: 2% 2% 0; min-height: 50px; }
.dash-bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--link); opacity: .85; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow-2); }
.float-card .ico { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--accent); }
.fc-bell { right: 0; top: 0; width: 46%; rotate: 4deg; }
.fc-bell span { flex: 1; display: grid; gap: 6px; }
.fc-bell b, .fc-bell i { display: block; height: 8px; border-radius: 4px; background: #D9DEE8; }
.fc-bell i { width: 65%; }
.fc-qr { left: 6%; bottom: 0; rotate: -6deg; }
.fc-qr .ico { width: 64px; height: 64px; padding: 10px; background: var(--ink); color: #fff; border-radius: 14px; }
.hero-art-b2b .hero-wheel { right: 2%; bottom: 2%; width: 22%; }
.b2b-features { position: relative; padding: clamp(56px, 8vw, 120px) 0; background: var(--surface); overflow: hidden; }
.fgroup { position: relative; margin-bottom: 40px; }
.fgroup:last-child { margin-bottom: 0; }
.fgroup-h { display: inline-block; font-size: 1rem; font-weight: 800; background: var(--ink); color: #fff; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.fgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.how-b2b .how-steps { counter-reset: none; }

/* obrazac */
.partner { padding: clamp(64px, 8vw, 120px) 0; }
.partner-in { display: grid; gap: 28px 56px; }
@media (min-width: 960px) { .partner-in { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; } .partner-intro { position: sticky; top: calc(var(--header-h) + 40px); } }
.partner-box { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: clamp(20px, 3.5vw, 40px); }
.pform fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; display: grid; gap: 14px 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pform fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field-wide { grid-column: 1 / -1; } }
.pform legend { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; margin-bottom: 12px; padding: 0; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .97rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; border-radius: 12px; border: 2px solid #C5CCD8; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px rgba(31, 79, 209, .2); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-weight: 700; font-size: .92rem; margin: 6px 0 0; }
.field-ok input { border-color: var(--green); }
.checks-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; display: inline-flex; cursor: pointer; }
.check-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check-chip span { display: inline-grid; place-items: center; min-width: 52px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 2px solid #C5CCD8; font-weight: 800; background: #fff; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.check-chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.check-chip input:focus-visible + span { outline: 3px solid var(--link); outline-offset: 2px; }
.field .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); }
.field-consent { margin-bottom: 18px; }
.form-submit { margin: 0; }
.form-alert { background: var(--red-bg); border: 2px solid var(--red); color: #8A1020; border-radius: 14px; padding: 14px 16px; font-weight: 700; margin-bottom: 22px; }
.form-success { text-align: center; padding: 24px 0; }
.form-success:focus { outline: none; }
.success-mark { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 16px; }
.success-mark .ico { width: 40px; height: 40px; stroke-width: 3; }
.form-success h3 { font-family: var(--font-display); font-size: 2.2rem; }
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- podnožje ---------- */
.site-footer { position: relative; background: var(--asphalt); color: var(--on-dark-2); padding: 56px 0 24px; }
.site-footer a { color: #fff; }
.footer-in { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-in { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { display: block; margin-bottom: 16px; }
.footer-brand p { max-width: 34em; }
.footer-note { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 12px 14px; }
.footer-note strong { color: #fff; }
.footer-h { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; }
.footer-bottom p { margin: 0; }

/* ---------- ikone ---------- */
.ico { width: 24px; height: 24px; vertical-align: middle; }

/* ---------- pokret (dodaje ga JS, samo ako korisnik ne traži smanjeno kretanje) ---------- */
.motion [data-reveal].rv-pending { opacity: 0; --lift: 34px; }
.motion .school-card.rv-pending, .motion .tile.rv-pending { --rx: 8deg; }
.motion [data-reveal].rv-in { transition-delay: var(--d, 0s); }
.motion .app-copy.rv-pending, .motion .cta-in.rv-pending, .motion .sp-login.rv-pending, .motion .faq-item.rv-pending { transform: translateY(34px); }
.motion .app-copy, .motion .cta-in, .motion .sp-login { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.motion [data-parallax] { will-change: transform; }
.motion .tile-timer .tt-bar { transition: stroke-dashoffset 1.6s cubic-bezier(.3, .7, .2, 1) .3s; }
.motion .tile-xl.rv-pending .tt-bar { stroke-dashoffset: 314.2; }
.route-line { z-index: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
@media print {
  .site-header, .site-footer, .hero-art, .route-line, .how-visual, .app-phone { display: none !important; }
  body { background: #fff; }
}

/* ---------- pregled s primjernim podacima (nema baze) ---------- */
.pregled-traka {
  background: repeating-linear-gradient(135deg, var(--accent) 0 14px, #FFD766 14px 28px);
  color: var(--accent-ink);
  font-size: .9375rem;
  line-height: 1.45;
  padding: .55rem 0;
  border-bottom: 2px solid var(--ink);
}
.pregled-traka .wrap { padding-top: 0; padding-bottom: 0; }
.pregled-traka code {
  font-size: .875em;
  background: rgba(255, 255, 255, .7);
  padding: .05em .35em;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

/* izdanje 46: poveznice na aplikacije */
.hero-apps { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 14px 0 0; font-size: .95rem; color: var(--ink-2); }
.hero-apps a { font-weight: 700; color: var(--ink); }
.app-stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.app-stores .btn .ico { width: 20px; height: 20px; margin-right: 8px; }
.pillars { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; }
.pillar h3 { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.04; margin: 0 0 8px; }
.pillar p { margin: 0; color: var(--ink-2); }

/* ---------- početna: vrh s laptopom i mobitelom (tri probne situacije) ---------- */
.hb { position: relative; background: var(--asphalt); color: var(--on-dark); overflow: hidden; }
.hb-in { display: grid; gap: 28px; align-items: center; padding-top: clamp(28px, 4.5vw, 56px); padding-bottom: clamp(28px, 4.5vw, 60px); }
@media (min-width: 1200px) { .hb-in { grid-template-columns: minmax(0, 1fr) 620px; gap: 40px; } }
.hb-copy { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hb .hb-h1 { margin: 0; color: #fff; font-size: clamp(2.9rem, 1.5rem + 4.7vw, 5.5rem); line-height: .93; max-width: 9.6em; }
.hb-lead { margin: 0; font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem); line-height: 1.5; color: var(--on-dark-2); max-width: 32em; }
.hb-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.hb-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--asphalt-2); font-weight: 600; font-size: .94rem; line-height: 1.3; }
.hb-chips svg { flex: none; }

.hb-tabs { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.js .hb-tabs { display: grid; }
@media (max-width: 1199px) { .hb-tabs { max-width: 640px; } }
.hb-tab {
  position: relative; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2;
  padding: 13px 10px 19px; border-radius: 14px; border: 2px solid #5A6380; background: transparent; color: #fff;
  cursor: pointer; text-align: center; transition: background-color .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.hb-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 800; }
@media (hover: hover) { .hb-tab[aria-selected="false"]:hover { border-color: var(--accent); background: rgba(255, 201, 60, .14); } }
.hb-tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hb-kvac {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--asphalt); display: none; align-items: center; justify-content: center;
}
.hb-tab.is-gotovo .hb-kvac { display: flex; }
.hb-traka { position: absolute; left: 12px; right: 12px; bottom: 7px; height: 3px; border-radius: 3px; background: rgba(22, 27, 46, .18); overflow: hidden; }
.hb-traka span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hb-tab[aria-selected="true"].is-tece .hb-traka span { animation: hb-napredak 7s linear forwards; }
.hb-tab[aria-selected="true"].is-stalo .hb-traka span { transform: scaleX(1); opacity: .35; }
@keyframes hb-napredak { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hb-uputa { display: none; margin: 0; font-size: .95rem; color: var(--on-dark-2); min-height: 1.5em; }
.js .hb-uputa { display: block; }

/* scena: laptop iza, mobitel naprijed */
.hb-vis { min-width: 0; display: flex; justify-content: center; }
.hb-stage { position: relative; width: 620px; max-width: 100%; height: 640px; }
.hb-oblacic {
  display: none; position: absolute; right: 318px; top: 10px; z-index: 3; margin: 0;
  align-items: center; gap: 10px; white-space: nowrap;
  background: var(--accent); color: var(--ink); font-weight: 800; font-size: 1rem; line-height: 1.2;
  padding: 11px 16px; border-radius: 14px; box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}
.js .hb-oblacic { display: flex; }
.hb-ob-m { display: none; }

.hb-laptop { position: absolute; left: 0; top: 70px; width: 470px; transform-origin: 0 0; }
.hb-lap-ekr { background: #0B0F15; border-radius: 16px 16px 0 0; padding: 12px 12px 14px; }
.hb-lap-in { background: var(--paper); border-radius: 6px; height: 280px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.hb-lap-zag { background: #1F3B57; color: #fff; padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; line-height: 1.2; }
.hb-sq { flex: none; width: 16px; height: 16px; border-radius: 4px; background: #FFD200; }
.hb-lap-tijelo { display: flex; flex: 1 1 auto; }
.hb-lap-izb { width: 92px; background: #2A4663; padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; }
.hb-lap-izb i { display: block; height: 8px; border-radius: 4px; background: #5A7290; width: 80%; }
.hb-lap-izb i:nth-child(1) { background: var(--accent); width: 70%; }
.hb-lap-izb i:nth-child(3) { width: 60%; }
.hb-lap-izb i:nth-child(5) { width: 55%; }
.hb-lap-gl { flex: 1 1 auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; font-size: 11px; font-weight: 700; line-height: 1.2; }
.hb-lap-pozdrav { font-size: 15px; }
.hb-lap-kar { background: #fff; border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.hb-lap-bar { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.hb-lap-bar span { display: block; height: 6px; width: 28%; border-radius: 3px; background: var(--link); }
.hb-lap-tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hb-lap-tri span { background: #fff; border-radius: 8px; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; }
.hb-lap-tri i { display: block; height: 26px; border-radius: 6px; }
.hb-lap-z { background: var(--green-bg); } .hb-lap-p { background: #EAF0FD; } .hb-lap-y { background: #FFF4D6; }
.hb-lap-baza { height: 14px; background: #3A4558; border-radius: 0 0 14px 14px; margin: 0 -22px; }
.hb-lap-txt {
  position: absolute; left: 0; right: 316px; top: 406px; margin: 0;
  display: flex; gap: 10px; align-items: flex-start; font-size: 1.25rem; font-weight: 800; line-height: 1.3; color: #fff;
}
.hb-lap-txt svg { flex: none; width: 26px; height: 22px; margin-top: 2px; }

.hb-tel {
  position: absolute; right: 0; top: 0; z-index: 2; width: 300px; height: 612px; padding: 12px;
  background: #0B0F15; border-radius: 46px; box-shadow: 0 0 0 2px #3A4558, 0 40px 80px rgba(0, 0, 0, .5);
}
.hb-ekran {
  width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; font-size: 13px; line-height: 1.35;
}
.hb-zag { flex: none; background: #1F3B57; color: #fff; padding: 28px 16px 11px; display: flex; align-items: center; gap: 8px; }
.hb-zag .hb-sq { width: 20px; height: 20px; border-radius: 6px; }
.hb-zag-ime { font-weight: 700; font-size: 1.077em; white-space: nowrap; }
.hb-rij { display: none; margin-left: auto; padding: 3px 9px; border-radius: 999px; font-weight: 800; font-size: .846em; white-space: nowrap; background: rgba(255, 255, 255, .16); }
.js .hb-rij { display: inline-block; }
.hb-rij.is-sve { background: var(--green); }

.hb-p { flex: 1 1 auto; min-height: 0; padding: 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.hb-p-red { display: flex; justify-content: space-between; font-weight: 800; }
.hb-sat { color: var(--red); }
.hb-pit { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 1.077em; line-height: 1.3; }
.hb-znak { flex: none; width: 4.8em; height: auto; }
.hb-p-nasl { font-weight: 800; }
.hb-nag {
  display: none; align-self: flex-start; align-items: center; gap: 6px; padding: 5px 11px 5px 7px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-weight: 800; font-size: .923em; line-height: 1.25;
}
.js .hb-nag { display: inline-flex; }
.hb-nag svg { flex: none; }
.hb-lista { position: relative; display: flex; flex-direction: column; gap: 9px; }
.hb-lista-ank { gap: 10px; }
.hb-odg, .hb-ank {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 10px; margin: 0;
  border-radius: 11px; border: 2px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: .96em; line-height: 1.3; text-align: left; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.hb-ank { min-height: 42px; padding: 9px 12px; font-size: 1em; font-weight: 700; }
.hb-odg:active, .hb-ank:active { transform: scale(.98); }
.hb-odg:disabled, .hb-ank:disabled { cursor: default; transform: none; }
.hb-odg:focus-visible, .hb-ank:focus-visible, .hb-voz:focus-visible, .hb-btn-dalje:focus-visible, .hb-link:focus-visible, .hb-cta:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
@media (hover: hover) {
  .hb-odg:not(:disabled):hover { background: #EAF0FD; border-color: var(--link); }
  .hb-ank:not(:disabled):hover { background: #F5F0FC; border-color: #6D3FB3; }
}
.hb-okv {
  flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #A8B0C2;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; line-height: 1;
}
.hb-odg.is-tocno { background: var(--green-bg); border-color: var(--green); opacity: 1; }
.hb-odg.is-tocno .hb-okv { background: var(--green); border-color: var(--green); color: #fff; }
.hb-odg.is-tocno .hb-okv::after { content: "\2713"; }
.hb-odg.is-krivo { background: var(--red-bg); border-color: var(--red); opacity: 1; }
.hb-odg.is-krivo .hb-okv { background: var(--red); border-color: var(--red); color: #fff; }
.hb-odg.is-krivo .hb-okv::after { content: "\2715"; }
.hb-odg.is-ostalo, .hb-ank.is-ostalo { opacity: .55; }
.hb-ank.is-odabrano { background: #EFE8FA; border-color: #6D3FB3; opacity: 1; }

.hb-poruka, .hb-hvala { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 11px; font-size: .923em; line-height: 1.4; }
.hb-poruka:empty, .hb-hvala:empty { display: none; }
.hb-poruka.is-ok { background: var(--green-bg); color: #0E5C36; }
.hb-poruka.is-bad { background: var(--red-bg); color: #8A1622; }
.hb-hvala { background: #EFE8FA; color: #3F2370; }

.hb-korak { display: flex; flex-direction: column; gap: 6px; }
.hb-btn-dalje {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 42px; padding: 8px 10px;
  border: 0; border-radius: 11px; background: var(--ink); color: #fff; font: inherit; font-weight: 800; cursor: pointer;
}
@media (hover: hover) { .hb-btn-dalje:hover { background: var(--asphalt-2); } .hb-cta:hover { background: #FFD666; } }
.hb-link { align-self: center; background: none; border: 0; padding: 4px 6px; font: inherit; font-size: .923em; font-weight: 600; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.hb-kraj-txt { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: .923em; color: #0E5C36; }
.hb-kraj-txt svg { flex: none; }
.hb-cta {
  display: block; background: var(--accent); color: var(--ink); text-decoration: none; border-radius: 11px; text-align: center;
  padding: 11px 8px; font-weight: 800; box-shadow: inset 0 -3px 0 rgba(22, 27, 46, .35);
}

/* raskrižje */
.hb-rask { position: relative; width: 100%; }
.hb-rask svg { display: block; width: 100%; height: auto; border-radius: 14px; background: #B9D59A; }
.hb-voz {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; display: flex; align-items: flex-start; justify-content: flex-end;
  -webkit-tap-highlight-color: transparent;
}
.hb-rask.is-gotovo .hb-voz { cursor: default; }
@media (hover: hover) { .hb-rask:not(.is-gotovo) .hb-voz:hover { background: rgba(255, 201, 60, .35); box-shadow: 0 0 0 3px var(--accent); } }
.hb-voz-br {
  display: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2.5px solid var(--link); color: var(--link);
  font-weight: 800; font-size: 11px; line-height: 1; align-items: center; justify-content: center;
}
.hb-voz-br:not(:empty) { display: inline-flex; }

/* AI test */
.hb-ai-zag { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 1.077em; }
.hb-ai-ik { flex: none; width: 32px; height: 32px; border-radius: 10px; background: #6D3FB3; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.hb-ai-opis { font-size: .923em; color: var(--ink-2); line-height: 1.4; }
.hb-ai-pit { font-size: 1.23em; line-height: 1.3; }

/* ruka koja pokazuje da se može dodirivati */
.hb-ruka { display: none; position: absolute; width: 0; height: 0; pointer-events: none; z-index: 3; }
.js .hb-ruka { display: block; }
.hb-ruka-lista { right: 30px; top: 16%; }
.hb-ruka-voz { left: 44.5%; top: 24.5%; }
.hb-ruka-val { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 201, 60, .85); opacity: .5; }
.hb-ruka svg { position: absolute; left: -20px; top: -12px; width: 42px; height: 42px; max-width: none; transform-origin: 20px 12px; overflow: visible; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }

.hb-crta { height: 12px; background-image: repeating-linear-gradient(90deg, var(--accent) 0 72px, transparent 72px 120px); }

/* pokret samo kad korisnik nije uključio "smanjeno kretanje" (klasa .motion dolazi iz app.js) */
.motion .hb-oblacic { animation: hb-mah 1.4s ease-in-out infinite; }
.motion .hb-p.is-ulaz { animation: hb-pojava .45s ease-out both; }
.motion .hb-ruka-lista { animation: hb-ruka-lista 3.6s ease-in-out infinite; }
.motion .hb-ruka-voz { animation: hb-ruka-voz 3.6s ease-in-out infinite; }
.motion .hb-ruka svg { animation: hb-ruka-tap 3.6s ease-in-out infinite; }
.motion .hb-ruka-val { opacity: 0; animation: hb-ruka-val 1.2s ease-out .43s infinite; }
.motion .hb-rask.is-prazno .hb-voz { animation: hb-puls-krug 1.6s ease-out infinite; }
.motion .hb-crta { animation: hb-crta 1.6s linear infinite; }
@keyframes hb-mah { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
@keyframes hb-mah-m { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes hb-pojava { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hb-ruka-lista { 0%, 22% { top: 16%; } 33%, 55% { top: 51%; } 66%, 88% { top: 85%; } 100% { top: 16%; } }
@keyframes hb-ruka-voz { 0%, 22% { left: 44.5%; top: 24.5%; } 33%, 55% { left: 56%; top: 74.5%; } 66%, 88% { left: 74.5%; top: 45%; } 100% { left: 44.5%; top: 24.5%; } }
@keyframes hb-ruka-tap { 0%, 8%, 18%, 41%, 51%, 74%, 84%, 100% { transform: scale(1); } 12%, 45%, 78% { transform: scale(.8); } }
@keyframes hb-ruka-val { 0% { transform: scale(.3); opacity: .9; } 70% { transform: scale(1.7); opacity: 0; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes hb-puls-krug { 0% { box-shadow: 0 0 0 0 rgba(255, 201, 60, .95); } 70% { box-shadow: 0 0 0 12px rgba(255, 201, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 201, 60, 0); } }
@keyframes hb-crta { from { background-position: 0 0; } to { background-position: -120px 0; } }

/* mobitel: manja scena, laptop viri iza mobitela */
@media (max-width: 679px) {
  .hb-copy { gap: 14px; }
  .hb-chips li { font-size: .88rem; padding: 6px 12px; }
  .hb-tabs { gap: 8px; }
  .hb-tab { font-size: .8125rem; min-height: 58px; padding: 8px 6px 14px; border-radius: 12px; }
  .hb-kvac { width: 22px; height: 22px; top: -7px; right: -7px; }
  .hb-uputa { font-size: .9rem; }
  .hb-stage { width: 358px; height: 618px; }
  .hb-ob-d { display: none; }
  .hb-ob-m { display: inline; }
  svg.hb-ob-m { display: block; }
  .hb-oblacic { right: 18px; top: 0; gap: 8px; font-size: .875rem; padding: 9px 14px; border-radius: 12px; box-shadow: 0 10px 22px rgba(0, 0, 0, .35); }
  .motion .hb-oblacic { animation-name: hb-mah-m; }
  .hb-laptop { top: 74px; -webkit-transform: scale(.49); transform: scale(.49); }
  .hb-lap-txt { right: auto; width: calc(100% - 258px); top: 240px; flex-direction: column; gap: 6px; font-size: 1rem; line-height: 1.25; }
  .hb-lap-txt svg { width: 24px; height: 20px; margin-top: 0; }
  .hb-tel { top: 52px; width: 248px; height: 566px; padding: 10px; border-radius: 40px; }
  .hb-ekran { border-radius: 31px; font-size: 11.5px; }
  .hb-zag { padding: 24px 12px 9px; gap: 7px; }
  .hb-zag .hb-sq { width: 17px; height: 17px; border-radius: 5px; }
  .hb-zag-ime { font-size: 11px; }
  .hb-rij { font-size: 10px; padding: 2px 7px; }
  .hb-p { padding: 10px; gap: 7px; }
  .hb-lista { gap: 7px; }
  .hb-lista-ank { gap: 8px; }
  .hb-okv { width: 18px; height: 18px; font-size: 11px; border-radius: 5px; }
  .hb-ai-ik { width: 28px; height: 28px; font-size: 12px; }
  .hb-ruka-lista { right: 22px; }
  .hb-ruka-val { left: -14px; top: -14px; width: 28px; height: 28px; }
  .hb-ruka svg { left: -17px; top: -10px; width: 36px; height: 36px; transform-origin: 17px 10px; }
}
@media (max-width: 389px) { .hb-lap-txt { font-size: .9rem; } }
@media (max-width: 359px) {
  .hb-laptop, .hb-lap-txt { display: none; }
  .hb-tel { right: 50%; margin-right: -124px; }
  .hb-oblacic { right: 50%; margin-right: -124px; }
}

/* tražilica ispod vrha */
.finder-form.hb-form { margin-top: 0; max-width: 760px; }
.hb-form-h { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(1.9rem, 1.35rem + 1.7vw, 2.4rem); line-height: 1; }
.hb-form-h label { cursor: pointer; }
.hb-form .finder-hint { margin: 0 0 14px; }
.page-home .finder { padding-top: clamp(32px, 4vw, 48px); }
.zup { margin: 28px 0 18px; }
.zup-h { font-size: 1.06rem; margin: 0 0 10px; }
.zup .chips { margin-bottom: 0; }
.zup-izbor { display: none; }
.zup-izbor select {
  display: block; width: 100%; height: 54px; margin: 0; padding: 0 46px 0 16px;
  border: 2px solid var(--ink); border-radius: 14px; background-color: var(--surface); color: var(--ink);
  font: inherit; font-size: 1.05rem; font-weight: 600; cursor: pointer;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1.5 1.5l6.5 6.5 6.5-6.5' fill='none' stroke='%23161B2E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 16px 10px;
}
.zup-izbor select:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
@media (max-width: 699px) {
  .js .zup-chips { display: none; }
  .js .zup-izbor { display: block; }
}

.partneri { margin-top: clamp(40px, 5vw, 60px); }
.partneri-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.partneri-head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.2rem); line-height: 1; }
.partneri-head a { font-weight: 700; }
.partneri-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .partneri-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .partneri-lista { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.partner {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 66px; padding: 10px 12px;
  border-radius: var(--r-md); background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none;
  transition: border-color .15s ease;
}
.partner:hover { border-color: var(--ink); }
.partner img { flex: none; width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; }
.partner span { min-width: 0; }
.partner b { display: block; font-size: .94rem; line-height: 1.2; overflow-wrap: anywhere; }
.partner small { display: block; font-size: .82rem; color: var(--ink-2); line-height: 1.3; }
@media (max-width: 699px) {
  .partneri-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .partneri-lista li:nth-child(n+9) { display: none; }
  .partner { gap: 8px; padding: 8px 10px; min-height: 58px; }
  .partner img { width: 34px; height: 34px; border-radius: 8px; }
  .partner b { font-size: .86rem; }
  .partner small { font-size: .78rem; }
}
