﻿/* =========================================================
   R-CODING — svijetli dizajn
   Bijela osnova, grafit za tekst, zelena kao naglasak.
   ========================================================= */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F6F5;
  --surface: #FFFFFF;
  --ink: #0C1113;          /* grafit iz palete */
  --ink-2: #1D2629;
  --text: #0C1113;
  --muted: #5B6765;
  --soft: #8A9593;
  --line: rgba(12, 17, 19, .08);
  --line-strong: rgba(12, 17, 19, .14);
  --green: #2BD18F;
  --green-ink: #0A704B;    /* tamnozelena za tekst na bijelom */
  --green-tint: rgba(43, 209, 143, .12);
  --on-green: #06110C;
  --red: #E0483D;

  --font: "Arimo", "Liberation Sans", Arial, Helvetica, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 1px 2px rgba(12,17,19,.06), 0 4px 12px -6px rgba(12,17,19,.10);
  --shadow-md: 0 2px 4px rgba(12,17,19,.04), 0 18px 40px -18px rgba(12,17,19,.22);
  --shadow-lg: 0 30px 80px -30px rgba(12,17,19,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--on-green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
@view-transition { navigation: auto; }

.i { width: 20px; height: 20px; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.mark { background: linear-gradient(transparent 64%, rgba(43,209,143,.45) 64%, rgba(43,209,143,.45) 92%, transparent 92%); padding: 0 .06em; }
.accent { color: var(--green-ink); }

/* ---------- dugmad ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 16.5px; line-height: 1; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .25s var(--ease-out), box-shadow .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--ink-2); box-shadow: var(--shadow-md); }
.btn-primary .btn-dot { width: 26px; height: 26px; margin-right: -8px; border-radius: 8px; display: grid; place-items: center; background: var(--green); color: var(--on-green); }
.btn-primary .btn-dot .i { width: 16px; height: 16px; }
.btn-green { background: var(--green); color: var(--on-green); }
.btn-green:hover { background: #45DBA0; }
.btn-outline, .btn-ghost, .btn-glass { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover, .btn-ghost:hover, .btn-glass:hover { border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 17.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255,255,255,.3); transform: scale(0); animation: ripple .6s var(--ease-out) forwards; }
.btn-outline .ripple, .chip .ripple, .svc-card .ripple, .c-card .ripple { background: rgba(12,17,19,.08); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12,17,19,.4); background: rgba(255,255,255,.94); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: .05em; color: var(--ink); }
.brand-mark { width: 34px; height: auto; fill: var(--green); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 14px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 15.5px; transition: color .2s ease, background-color .2s ease; }
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.nav a.is-active, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.is-active::after, .nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--green); }
.nav .nav-cta { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line-strong); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .i { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 899px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 2px; padding: 12px var(--gutter) 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .3s var(--ease-out), visibility 0s linear .3s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a { padding: 14px 12px; font-size: 18px; color: var(--ink); }
  .nav a.is-active::after { display: none; }
  .nav .nav-cta { display: flex; margin-top: 10px; }
}

/* ---------- sekcije ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-alt { background: var(--bg-alt); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--green); border-radius: 2px; }
.section-head { max-width: 680px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 30px; margin-bottom: clamp(26px, 4vw, 40px); }
.head-row .section-head { margin-bottom: 0; }
.note { margin-top: 26px; color: var(--soft); font-size: 14px; text-align: center; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 7vw, 90px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; border-radius: 50%; background: radial-gradient(closest-side, rgba(43,209,143,.16), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(12,17,19,.09) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent 75%); }
.hero-inner { position: relative; z-index: 2; min-height: calc(100svh - var(--header-h) - 70px); display: grid; align-content: center; padding-bottom: 90px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.hero-kicker .i { width: 18px; height: 18px; color: var(--green-ink); }
.hero h1 { font-size: clamp(48px, 7vw, 100px); letter-spacing: -0.045em; line-height: .98; max-width: 12ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .w { display: inline-block; transform: translateY(105%); animation: line-up 1s var(--ease-out) .1s forwards; }
.hero h1 .line:nth-child(2) .w { animation-delay: .22s; }
html.rc-intro .hero h1 .w, html.rc-intro .hero-anim, html.rc-intro .hero-car svg, html.rc-intro .hc-wheel { animation-play-state: paused !important; }
@keyframes line-up { to { transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-anim { opacity: 0; transform: translateY(14px); animation: fade-up .8s var(--ease-out) forwards; }
.hero-actions.hero-anim { animation-delay: .45s; }
.hero-proof.hero-anim { animation-delay: .6s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.hero-proof { display: flex; flex-wrap: wrap; gap: 16px 34px; margin-top: 40px; }
.proof { display: flex; align-items: center; gap: 14px; }
.proof strong { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof strong span { color: var(--green-ink); }
.proof p { color: var(--muted); font-size: 14.5px; line-height: 1.35; max-width: 13ch; }
.proof + .proof { padding-left: 34px; border-left: 1px solid var(--line-strong); }
.proof-avatars { display: flex; }
.proof-avatars i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; }
.proof-avatars i:first-child { margin-left: 0; background: #0C1113; }
.proof-avatars i:nth-child(2) { background: #2BD18F; color: var(--on-green); }
.proof-avatars i:nth-child(3) { background: #5B6765; }
.proof-ig { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--green-ink); }

/* vozilo iza teksta */
.hero-car { position: absolute; z-index: 1; right: -5vw; bottom: clamp(30px, 5vw, 60px); width: min(60vw, 900px); pointer-events: none; will-change: transform; }
.hero-car svg { width: 100%; height: auto; overflow: visible; animation: car-in 1.4s var(--ease-out) .25s both; }
@keyframes car-in { from { transform: translateX(28vw); opacity: 0; } }
.hc-wheel { animation: wheel-spin 1.4s var(--ease-out) .25s both; }
@keyframes wheel-spin { from { transform: rotate(-900deg); } }
.hc-beam { animation: beam 3.5s ease-in-out 1.6s infinite; }
@keyframes beam { 50% { opacity: .35; } }
.hero-road { position: absolute; left: 0; right: 0; bottom: clamp(30px, 5vw, 60px); height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent); z-index: 0; }
.hero-speed { position: absolute; z-index: 0; right: 62%; bottom: clamp(70px, 9vw, 120px); width: 26vw; height: 80px; pointer-events: none; }
.hero-speed i { position: absolute; right: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(12,17,19,.18)); animation: speed 2.6s linear infinite; }
.hero-speed i:nth-child(1) { top: 10px; width: 60%; }
.hero-speed i:nth-child(2) { top: 36px; width: 85%; animation-delay: .7s; }
.hero-speed i:nth-child(3) { top: 62px; width: 45%; animation-delay: 1.4s; }
@keyframes speed { 0% { transform: translateX(40%); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(-60%); opacity: 0; } }
@media (max-width: 899px) {
  .hero-inner { min-height: 0; padding-bottom: 48vw; }
  .hero-car { right: -16vw; width: 112vw; bottom: 20px; }
  .hero-road { bottom: 20px; }
  .hero-speed { display: none; }
  .proof + .proof { padding-left: 0; border-left: 0; }
}

/* marke koje prolaze */
.brands { border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.brands-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.brands:hover .brands-track { animation-play-state: paused; }
.brands-track span { padding: 22px 30px; font-weight: 700; font-size: 18px; letter-spacing: .02em; color: #A3ACAA; white-space: nowrap; transition: color .2s ease; }
.brands-track span:hover { color: var(--ink); }
.brands-track span::after { content: "•"; margin-left: 30px; color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- USLUGE ---------- */
.svc-toolbar { position: sticky; top: var(--header-h); z-index: 40; background: rgba(244,246,245,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.svc-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 520px; padding: 2px; }
.svc-filters::-webkit-scrollbar { display: none; }
.chip { position: relative; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--muted); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.chip .i { width: 16px; height: 16px; }
.chip small { opacity: .6; font-size: 12px; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc-search { position: relative; flex: 1 1 220px; max-width: 320px; }
.svc-search .i { position: absolute; left: 14px; top: 50%; margin-top: -9px; width: 18px; height: 18px; color: var(--soft); pointer-events: none; }
.svc-search input { width: 100%; min-height: 44px; padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 15px; }
.svc-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(12,17,19,.08); }
.svc-meta { display: flex; justify-content: space-between; gap: 10px; margin: 22px 0 16px; color: var(--muted); font-size: 14.5px; }
.svc-grid2 { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .svc-grid2 { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1040px) { .svc-grid2 { grid-template-columns: repeat(4, 1fr); } }
.svc-card { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .25s ease; }
.svc-grid2:not(.in-view) .svc-card { opacity: 0; }
.svc-grid2.in-view .svc-card { animation: card-in .6s var(--ease-out) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(22px) scale(.97); } }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.svc-card.in-cart { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), var(--shadow-sm); }
.svc-open { position: absolute; inset: 0; z-index: 2; background: none; border: 0; cursor: pointer; border-radius: inherit; }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0C1113; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-badge { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.svc-badge .i { width: 12px; height: 12px; color: var(--green-ink); }
.svc-pop { position: absolute; right: 8px; top: 8px; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--on-green); }
.svc-pop .i { width: 13px; height: 13px; fill: currentColor; }
.svc-body { display: flex; align-items: center; gap: 8px; padding: 12px 10px 12px 14px; min-height: 64px; flex: 1; }
.svc-body h3 { flex: 1; font-size: 14.5px; line-height: 1.25; letter-spacing: -0.01em; }
@media (min-width: 700px) { .svc-body h3 { font-size: 15.5px; } }
.svc-add { position: relative; z-index: 3; flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease-out); }
.svc-add:hover { border-color: var(--ink); transform: scale(1.06); }
.svc-add:active { transform: scale(.9); }
.svc-add[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--on-green); }
.svc-add .i { width: 18px; height: 18px; }
.svc-more-wrap { display: flex; justify-content: center; margin-top: 26px; }
.svc-empty { text-align: center; padding: 50px 20px; color: var(--muted); }

/* prozor usluge */
dialog { color: var(--text); }
.svc-modal { width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: transparent; overflow: visible; }
.svc-modal::backdrop { background: rgba(12,17,19,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade-in .25s ease; }
.svc-modal[open] .svcm-box { animation: modal-in .45s var(--ease-out); }
.svc-modal.is-closing .svcm-box { animation: modal-out .18s ease forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.svcm-box { position: relative; display: grid; grid-template-columns: 1fr; max-height: calc(100dvh - 24px); overflow: auto; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); overscroll-behavior: contain; }
@media (min-width: 860px) { .svcm-box { grid-template-columns: .95fr 1.05fr; } .svcm-media { position: sticky; top: 0; min-height: 100%; aspect-ratio: auto !important; } }
.svcm-box.is-swap .svcm-body > *, .svcm-box.is-swap .svcm-media img { animation: swap-in .4s var(--ease-out) both; }
@keyframes swap-in { from { opacity: 0; transform: translateY(8px); } }
.svcm-media { position: relative; aspect-ratio: 4 / 3; background: #0C1113; overflow: hidden; }
.svcm-media img { width: 100%; height: 100%; object-fit: cover; }
.svcm-media .svc-badge { left: 14px; top: 14px; font-size: 12px; padding: 6px 10px; }
.svcm-close { position: absolute; right: 14px; top: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); transition: transform .25s var(--ease-out); }
.svcm-close:hover { transform: rotate(90deg); }
.svcm-body { padding: clamp(22px, 3.5vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.svcm-body h2 { font-size: clamp(25px, 3vw, 32px); padding-right: 44px; }
.svcm-desc { color: var(--muted); font-size: 17px; }
.svcm-cols { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .svcm-cols { grid-template-columns: 1fr 1fr; } }
.svcm-body h3 { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.svcm-ben, .svcm-steps { display: grid; gap: 8px; }
.svcm-ben li, .svcm-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.svcm-ben .i { width: 18px; height: 18px; color: var(--green-ink); margin-top: 2px; }
.svcm-steps b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--green-tint); color: var(--green-ink); }
.svcm-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.svcm-gal .g-item { aspect-ratio: 1; border-radius: 12px; }
.svcm-gal .g-over, .svcm-gal .g-zoom { display: none; }
.svcm-note { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--soft); }
.svcm-note .i { width: 16px; height: 16px; }
.svcm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.svcm-actions .btn { flex: 1 1 200px; }
.svcm-add.is-added { background: var(--green); color: var(--on-green); }
.svcm-nav { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.svcm-nav button { display: inline-flex; align-items: center; gap: 6px; max-width: 48%; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13.5px; min-height: 44px; }
.svcm-nav button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svcm-nav button:hover { color: var(--ink); }
.svcm-nav .i { width: 18px; height: 18px; }

/* ---------- RADOVI ---------- */
.g-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.g-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .g-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .g-grid { grid-template-columns: repeat(4, 1fr); } }
.g-item { position: relative; overflow: hidden; display: block; padding: 0; border: 0; cursor: zoom-in; border-radius: 16px; aspect-ratio: 4 / 5; background: var(--bg-alt); animation: card-in .5s var(--ease-out) both; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.g-item:hover img { transform: scale(1.04); }
.g-over { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 40px 14px 14px; text-align: left; display: flex; flex-direction: column; gap: 2px; color: #fff; background: linear-gradient(180deg, transparent, rgba(5,8,9,.85)); }
.g-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #9BF5CF; font-weight: 700; }
.g-over strong { font-size: 15.5px; line-height: 1.25; }
.g-over small { color: rgba(255,255,255,.7); font-size: 13px; }
.g-zoom { position: absolute; right: 10px; top: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); opacity: 0; transform: scale(.85); transition: opacity .3s ease, transform .3s var(--ease-out); }
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }
.g-zoom .i { width: 17px; height: 17px; }
.empty { display: none; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 40px 20px; border-radius: 16px; border: 1px dashed var(--line-strong); color: var(--muted); }
[data-gallery] .empty { display: flex; }
[data-gallery].has-items .empty { display: none; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,11,12,.95); color: #fff; display: none; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; animation: fade-in .25s ease; }
.lightbox::backdrop { background: transparent; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 8px 20px; opacity: 0; transform: scale(.97); transition: opacity .3s ease, transform .4s var(--ease-out); }
.lb-fig.is-in { opacity: 1; transform: none; }
.lb-fig img { max-width: min(92vw, 1000px); max-height: calc(100dvh - 190px); border-radius: 14px; object-fit: contain; }
.lb-fig figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.lb-cat { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #9BF5CF; font-weight: 700; }
.lb-title { font-size: 18px; }
.lb-meta { color: rgba(255,255,255,.65); font-size: 14px; }
.lb-close, .lb-nav { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; cursor: pointer; z-index: 2; transition: background-color .2s ease; }
.lb-close { position: absolute; right: 16px; top: 16px; }
.lb-nav { margin: 0 12px; }
.lb-nav:hover, .lb-close:hover { background: rgba(255,255,255,.18); }
.lb-nav .i, .lb-close .i { width: 22px; height: 22px; }
.lb-count { position: absolute; left: 20px; top: 28px; font-family: var(--mono); color: rgba(255,255,255,.6); font-size: 13px; }
@media (max-width: 640px) { .lb-nav { position: absolute; bottom: 20px; margin: 0; } .lb-prev { left: calc(50% - 62px); } .lb-next { right: calc(50% - 62px); } .lightbox[open] { grid-template-columns: 1fr; } .lb-fig { padding-bottom: 90px; } }

/* ---------- KONTAKT ---------- */
.contact { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 28px; } }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.c-card { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .2s ease, transform .25s var(--ease-out), box-shadow .25s ease; }
a.c-card:hover, button.c-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
button.c-card { width: 100%; text-align: left; cursor: pointer; font: inherit; }
.c-card.is-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.c-card.is-dark small { color: #A0ABAA; }
.c-card.is-dark .c-ico { background: var(--green); color: var(--on-green); }
.c-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--green-ink); }
.c-ico .i { width: 22px; height: 22px; }
.c-card small { display: block; color: var(--muted); font-size: 13.5px; }
.c-card strong { display: block; font-size: 17.5px; margin-top: 1px; overflow-wrap: anywhere; }
.c-card > .i { margin-left: auto; color: var(--soft); }
.c-card.is-dark > .i { color: var(--green); }
.c-copy { position: relative; z-index: 2; margin-left: auto; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-alt); border: 0; color: var(--muted); cursor: pointer; }
.c-copy:hover { color: var(--ink); }
.c-copy .i { width: 17px; height: 17px; }
.open-badge { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; vertical-align: 2px; background: var(--bg-alt); color: var(--muted); }
.open-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-badge.is-open { background: var(--green-tint); color: var(--green-ink); }
.hours { width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours td { padding: 4px 0; font-size: 15px; }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.is-today td { color: var(--green-ink); }
.map-card { position: relative; border-radius: 20px; overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 420px; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-pin { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.97); box-shadow: var(--shadow-md); }
.map-pin strong { display: block; font-size: 16px; }
.map-pin small { color: var(--muted); font-size: 13.5px; }

/* ---------- FOOTER ---------- */
.site-footer { position: relative; background: #0C1113; color: #E8ECEA; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -15%; top: -40%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; border-radius: 50%; background: radial-gradient(closest-side, rgba(43,209,143,.12), transparent 70%); pointer-events: none; }
.foot-cta { position: relative; display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; padding-block: clamp(64px, 9vw, 110px) clamp(48px, 6vw, 70px); border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 900px) { .foot-cta { grid-template-columns: 1.4fr auto; } }
.foot-cta h2 { font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -0.04em; color: #fff; }
.foot-cta h2 span { color: var(--green); }
.foot-cta p { margin-top: 14px; color: #A0ABAA; font-size: 18px; max-width: 46ch; }
.foot-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.site-footer .btn-outline:hover { border-color: #fff; }
.foot-grid { position: relative; display: grid; gap: 36px; grid-template-columns: 1fr; padding-block: 52px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.foot-grid .brand { color: #fff; }
.foot-grid p { color: #A0ABAA; margin-top: 14px; font-size: 15.5px; max-width: 34ch; }
.foot-grid h3 { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: #6E7A79; margin-bottom: 14px; }
.foot-links { display: grid; gap: 2px; }
.foot-links a, .foot-links span { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; color: #D6DCDA; font-size: 15.5px; transition: color .2s ease; }
.foot-links a:hover { color: var(--green); }
.foot-links .i { width: 17px; height: 17px; color: var(--green); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: background-color .2s ease, transform .2s var(--ease-out); }
.socials a:hover { background: var(--green); color: var(--on-green); transform: translateY(-2px); }
.socials .i { width: 19px; height: 19px; }
.foot-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px 26px; border-top: 1px solid rgba(255,255,255,.08); color: #6E7A79; font-size: 13.5px; }
.foot-word { position: relative; font-weight: 700; font-size: clamp(64px, 17vw, 240px); letter-spacing: -0.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09); text-align: center; user-select: none; margin-bottom: -.1em; white-space: nowrap; overflow: hidden; }

/* ---------- PITANJA ---------- */
.page-hero { position: relative; padding-block: clamp(56px, 8vw, 96px) clamp(36px, 5vw, 56px); background: var(--bg-alt); overflow: hidden; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.035em; max-width: 16ch; }
.page-hero p { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 56ch; }
.faq-layout { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .faq-layout { grid-template-columns: .7fr 1.3fr; gap: 60px; } .faq-aside { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; } }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font-size: 18.5px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; color: var(--soft); transition: transform .3s var(--ease-out); }
.faq details[open] summary .i { transform: rotate(180deg); color: var(--green-ink); }
.faq summary:hover { color: var(--green-ink); }
.faq .answer { padding: 0 0 22px; color: var(--muted); font-size: 17px; max-width: 66ch; }
.faq .answer a, .faq .answer .accent { color: var(--green-ink); }
.aside-card { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 21px; margin-top: 16px; }
.aside-card p { margin-top: 8px; color: var(--muted); }
.aside-card .btn { margin-top: 18px; }
.cat-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--green-tint); color: var(--green-ink); }
.cat-icon .i { width: 24px; height: 24px; }

/* ---------- mobilna traka, upit, toast, progres, na vrh ---------- */
.action-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .action-bar .btn { min-height: 50px; font-size: 15.5px; padding: 0 10px; }
}
.cart-bar { position: fixed; right: 18px; bottom: 18px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .45s var(--ease-out), opacity .3s ease; }
.cart-bar.is-on { transform: none; opacity: 1; pointer-events: auto; }
@media (max-width: 767px) { .cart-bar { right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); } }
.cart-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px 0 14px; border-radius: 999px; cursor: pointer; background: var(--ink); color: #fff; border: 0; box-shadow: var(--shadow-lg); font-weight: 700; }
.cart-toggle .i { width: 20px; height: 20px; color: var(--green); }
.cart-count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--green); color: var(--on-green); display: grid; place-items: center; font-size: 13px; }
.cart-panel { width: min(360px, calc(100vw - 24px)); padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: modal-in .35s var(--ease-out); }
.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cart-clear { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; min-height: 36px; }
.cart-clear .i { width: 15px; height: 15px; }
.cart-list { display: grid; gap: 6px; max-height: 40vh; overflow: auto; margin-bottom: 14px; }
.cart-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg-alt); font-size: 14.5px; }
.cart-list button { flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; }
.cart-list button:hover { color: var(--red); }
.cart-list .i { width: 16px; height: 16px; }
.cart-panel .btn-primary { background: var(--green); color: var(--on-green); }
.cart-more { display: block; width: 100%; text-align: center; margin-top: 10px; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 600; display: grid; gap: 8px; pointer-events: none; }
@media (max-width: 767px) { .toasts { bottom: calc(150px + env(safe-area-inset-bottom)); } }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: 15px; font-weight: 700; opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .4s var(--ease-out); white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
.toast.is-in { opacity: 1; transform: none; }
.toast .i { width: 18px; height: 18px; color: var(--green); }
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 150; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }
.to-top { position: fixed; left: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: var(--shadow-md); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .4s var(--ease-out); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top .i { width: 20px; height: 20px; }
@media (max-width: 767px) { .to-top { display: none; } }

/* ---------- PROVJERI SVOJ AUTO: ulazak u vozilo (3D) ---------- */
.cc { position: fixed; inset: 0; z-index: 500; background: #05080a; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s; overflow: hidden; }
.cc.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.cc-stage { position: absolute; inset: 0; perspective: 1400px; }
.cc-scene { position: absolute; inset: 0; transform: translateZ(-420px) rotateX(6deg) scale(.86); transform-origin: var(--ox, 57%) var(--oy, 63%); transition: transform 1.2s cubic-bezier(.65, 0, .25, 1); will-change: transform; }
.cc.is-open .cc-scene { transform: translateZ(0) rotateX(0) scale(1); }
.cc.is-zoom .cc-scene { transform: translateZ(0) scale(var(--zs, 3.4)); transition-duration: 1.05s; transition-timing-function: cubic-bezier(.7, 0, .2, 1); }
.cc-scene svg { width: 100%; height: 100%; }
.cc-door { position: absolute; top: 0; bottom: 0; width: 51%; z-index: 3; background: linear-gradient(90deg, #0b0f11, #1a2225); transition: transform 1s cubic-bezier(.7, 0, .2, 1) .08s; }
.cc-door::after { content: ""; position: absolute; top: 46%; width: 90px; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #2a3438, #56605f); }
.cc-door.l { left: 0; transform-origin: left center; }
.cc-door.l::after { right: 40px; }
.cc-door.r { right: 0; transform-origin: right center; background: linear-gradient(270deg, #0b0f11, #1a2225); }
.cc-door.r::after { left: 40px; }
.cc.is-open .cc-door.l { transform: perspective(1200px) rotateY(82deg); }
.cc.is-open .cc-door.r { transform: perspective(1200px) rotateY(-82deg); }
.cc-screen-ui { opacity: 0; transition: opacity .4s ease .4s; }
.cc.is-on .cc-screen-ui { opacity: 1; }
.cc-boot { transition: opacity .3s ease; }
.cc.is-on .cc-boot { opacity: 0; }
.cc-flash { position: absolute; inset: 0; z-index: 4; background: #fff; opacity: 0; pointer-events: none; }
.cc.is-panel .cc-flash { animation: cc-flash .5s ease; }
@keyframes cc-flash { 30% { opacity: .35; } 100% { opacity: 0; } }
.cc-panel { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .45s ease, transform .6s var(--ease-out), visibility 0s linear .45s; overflow: auto; }
.cc.is-panel .cc-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.cc-ui { width: min(880px, 100%); border-radius: 26px; background: radial-gradient(120% 100% at 100% 0%, #10261d 0%, #0b1012 55%); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 40px 120px -30px #000; color: #E8ECEA; overflow: hidden; }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid rgba(255,255,255,.07); font-family: var(--mono); font-size: 12.5px; color: #8E9A98; letter-spacing: .12em; text-transform: uppercase; }
.cc-top b { color: var(--green); font-weight: 700; }
.cc-top .brand-mark { width: 22px; display: inline-block; vertical-align: -4px; margin-right: 8px; }
.cc-close { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: transform .25s var(--ease-out), background-color .2s ease; }
.cc-close:hover { transform: rotate(90deg); background: rgba(255,255,255,.14); }
.cc-body { padding: clamp(20px, 4vw, 36px); display: grid; gap: 22px; }
.cc-body h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; letter-spacing: -0.03em; }
.cc-body h2 span { color: var(--green); }
.cc-body > p { color: #A0ABAA; margin-top: -12px; }
.cc-form { display: grid; gap: 18px; }
.cc-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cc-row { grid-template-columns: 1.2fr 1fr .7fr; } }
.cc-field label, .cc-label { display: block; font-size: 13px; font-weight: 700; color: #A0ABAA; margin-bottom: 7px; letter-spacing: .02em; }
.cc-field input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 16px; transition: border-color .2s ease, background-color .2s ease; }
.cc-field input::placeholder { color: #5f6b6a; }
.cc-field input:focus { outline: none; border-color: var(--green); background: rgba(43,209,143,.06); }
.cc-field.has-error input { border-color: #F2665B; }
.cc-err { display: none; margin-top: 6px; font-size: 13px; color: #F2665B; }
.cc-field.has-error .cc-err { display: block; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); color: #D6DCDA; cursor: pointer; font-size: 14.5px; font-weight: 700; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease; }
.cc-chip .i { width: 16px; height: 16px; color: var(--green); }
.cc-chip:hover { border-color: rgba(255,255,255,.3); }
.cc-chip:active { transform: scale(.96); }
.cc-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--on-green); }
.cc-chip[aria-pressed="true"] .i { color: var(--on-green); }
.cc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cc-foot .btn { min-width: 240px; }
.cc-hint { display: flex; align-items: center; gap: 8px; color: #8E9A98; font-size: 13.5px; }
.cc-hint .i { width: 16px; height: 16px; color: var(--green); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .hero-anim { opacity: 1; transform: none; }
  .hero h1 .w { transform: none; }
  .brands-track { animation: none; }
}

/* iza obrasca: zumirani ekran se zamuti i zatamni */
.cc-stage { transition: filter .6s ease; }
.cc.is-panel .cc-stage { filter: blur(8px) brightness(.35); }

/* =========================================================
   TAMNA PREMIUM TEMA (preklapa svijetle stilove iznad)
   ========================================================= */
:root {
  --bg: #07090A;
  --bg-alt: #0B0F11;
  --surface: #101618;
  --surface-2: #151C1F;
  --ink: #F3F5F2;
  --ink-2: #FFFFFF;
  --text: #F3F5F2;
  --muted: #9AA5A3;
  --soft: #6E7A79;
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .13);
  --green-ink: #2BD18F;
  --green-tint: rgba(43, 209, 143, .11);
  --shadow-sm: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 30px -18px rgba(0,0,0,.9);
  --shadow-md: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 50px -24px rgba(0,0,0,.95);
  --shadow-lg: 0 40px 100px -30px rgba(0,0,0,1);
  color-scheme: dark;
}
body { background: var(--bg); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(1200px 700px at 80% -10%, rgba(43,209,143,.07), transparent 60%), radial-gradient(900px 600px at -10% 40%, rgba(10,112,75,.06), transparent 60%); }
.skip { background: var(--green); color: var(--on-green); }

/* naslovi sa diskretnim metalik prelivom */
.section-head h2, .page-hero h1 { background: linear-gradient(180deg, #FFFFFF 30%, #AEB8B6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mark { color: var(--green); background: linear-gradient(transparent 84%, rgba(43,209,143,.35) 84%); }

/* dugmad */
.btn-primary { background: var(--green); color: var(--on-green); box-shadow: 0 0 0 1px rgba(43,209,143,.4), 0 14px 34px -14px rgba(43,209,143,.55); }
.btn-primary:hover { background: #45DBA0; box-shadow: 0 0 0 1px rgba(43,209,143,.5), 0 18px 40px -14px rgba(43,209,143,.7); }
.btn-primary .btn-dot { background: var(--on-green); color: var(--green); }
.btn-outline, .btn-ghost, .btn-glass { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover, .btn-ghost:hover, .btn-glass:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.32); }
.btn-outline .ripple, .chip .ripple, .svc-card .ripple, .c-card .ripple { background: rgba(255,255,255,.12); }

/* header */
.site-header { background: rgba(7,9,10,.6); }
.site-header.is-scrolled { background: rgba(7,9,10,.86); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px #000; }
.nav a:hover { background: rgba(255,255,255,.05); }
.menu-toggle { background: var(--surface); }
@media (max-width: 899px) { .nav { background: var(--bg-alt); } }

/* površine */
.section-alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); border-block: 1px solid var(--line); }
.chip { background: var(--surface); }
.chip.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }
.svc-search input { background: var(--surface); }
.svc-search input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(43,209,143,.15); }
.svc-toolbar { background: rgba(11,15,17,.9); }
.svc-card, .c-card, .aside-card, .cart-panel { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), var(--surface); border-color: var(--line); }
.svc-card:hover, a.c-card:hover, button.c-card:hover { border-color: rgba(43,209,143,.35); }
.svc-add { background: var(--surface-2); }
.svc-add:hover { border-color: var(--green); color: var(--green); }
.svc-badge { background: rgba(7,9,10,.78); color: #fff; border: 1px solid rgba(255,255,255,.1); }
.svcm-box { background: var(--surface); border: 1px solid var(--line-strong); }
.svcm-close { background: rgba(7,9,10,.8); color: #fff; }
.svc-modal::backdrop { background: rgba(3,5,6,.75); }
.c-card.is-dark { background: linear-gradient(135deg, #12382a, #0d1a16 60%); border-color: rgba(43,209,143,.35); }
.c-copy { background: var(--surface-2); }
.map-pin { background: rgba(10,14,16,.92); border: 1px solid var(--line-strong); }
.proof-avatars i { border-color: var(--bg); }
.proof-avatars i:first-child { background: #1d2629; }
.empty { border-color: var(--line-strong); }
.cart-toggle { background: var(--surface-2); color: var(--text); border: 1px solid rgba(43,209,143,.4); }
.toast { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); }
.to-top { background: var(--surface); color: var(--text); }
.action-bar { background: rgba(7,9,10,.92) !important; }
.site-footer { background: #040607; border-top: 1px solid var(--line); }
.faq details, .faq details:first-of-type { border-color: var(--line); }
.cart-list li { background: var(--surface-2); }
.open-badge { background: var(--surface-2); }
.hero-bg::after { background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); }
.hero-speed i { background: linear-gradient(90deg, transparent, rgba(255,255,255,.18)); }
/* ---------- HERO (tamna, nova) ---------- */
.hero { padding-top: 0; isolation: isolate; }
.hero-inner { min-height: calc(100svh - var(--header-h) - 38px); padding-block: clamp(48px, 7vw, 90px) clamp(110px, 12vw, 160px); align-content: center; }
.hero h1 { font-size: clamp(50px, 7.4vw, 108px); max-width: 11ch; background: linear-gradient(180deg, #FFFFFF 35%, #B5BFBD 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.hero h1 .mark { -webkit-text-fill-color: var(--green); color: var(--green); background: none; position: relative; }
.hero h1 .mark::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .06em; height: .08em; border-radius: 1em; background: linear-gradient(90deg, rgba(43,209,143,0), rgba(43,209,143,.9), rgba(43,209,143,0)); }
.hero-bg::before { right: -5%; top: -30%; background: radial-gradient(closest-side, rgba(43,209,143,.14), transparent 70%); }
.hero-spot { position: absolute; z-index: 0; right: 4%; top: 6%; width: 60vw; max-width: 900px; height: 80%; pointer-events: none; background: radial-gradient(50% 55% at 50% 40%, rgba(255,255,255,.07), transparent 70%); }
.hero-floor { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255,255,255,.025) 40%, rgba(255,255,255,.04)); border-top: 1px solid rgba(255,255,255,.05); }
.hero-floor::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(43,209,143,.6), transparent); }
.hero-car { right: -4vw; bottom: 2%; width: min(64vw, 980px); z-index: 1; }
.hero-car svg { filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.hero-actions { flex-wrap: nowrap; }
.hero-actions .btn { white-space: nowrap; }
.hero-loc { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 16px 8px 8px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); width: fit-content; transition: border-color .2s ease, background-color .2s ease; }
.hero-loc:hover { border-color: rgba(43,209,143,.4); background: rgba(43,209,143,.06); }
.hero-loc-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); }
.hero-loc-ico .i { width: 19px; height: 19px; }
.hero-loc strong { display: block; font-size: 15.5px; line-height: 1.2; }
.hero-loc small { display: block; color: var(--muted); font-size: 13px; }
.hero-loc-link { color: var(--green); font-weight: 700; }
.hero-loc.hero-anim { animation-delay: .55s; }
.hero-proof { margin-top: 30px; gap: 12px 30px; }
.hero-proof.hero-anim { animation-delay: .7s; }
.proof { gap: 10px; align-items: baseline; }
.proof strong { font-size: clamp(26px, 2.6vw, 32px); }
.proof strong span { color: var(--green); }
.proof + .proof { padding-left: 30px; }
@media (max-width: 899px) {
  .hero-inner { min-height: 0; padding-block: 40px 58vw; }
  .hero-car { right: -18vw; width: 120vw; bottom: 8px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: 15px; min-height: 54px; }
  .hero-actions .btn .btn-dot { display: none; }
  .proof + .proof { padding-left: 20px; border-left: 1px solid var(--line-strong); }
}
@media (max-width: 380px) { .hero-actions .btn { font-size: 14px; } .hero-actions .btn .i { display: none; } }

/* ---------- uska zelena traka sa markama ---------- */
.brands { background: var(--green); border: 0; position: relative; z-index: 2; }
.brands-track { animation-duration: 45s; }
.brands-track span { padding: 9px 20px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(6,17,12,.82); }
.brands-track span:hover { color: #06110C; }
.brands-track span::after { content: "◆"; font-size: 7px; vertical-align: 2px; margin-left: 20px; color: rgba(6,17,12,.45); }
/* ---------- USLUGE: 7 jasnih cjelina sa malim karticama ---------- */
.svc-groups { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 940px) { .svc-groups { grid-template-columns: 1fr 1fr; align-items: start; } }
.svc-group { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)), var(--surface); scroll-margin-top: calc(var(--header-h) + 80px); }
.svc-groups:not(.in-view) .svc-group { opacity: 0; transform: translateY(26px); }
.svc-groups.in-view .svc-group { animation: card-in .7s var(--ease-out) both; }
.svc-groups.in-view .svc-group:nth-child(2) { animation-delay: .08s; }
.svc-groups.in-view .svc-group:nth-child(3) { animation-delay: .16s; }
.svc-groups.in-view .svc-group:nth-child(4) { animation-delay: .24s; }
.svc-groups.in-view .svc-group:nth-child(5) { animation-delay: .32s; }
.svc-groups.in-view .svc-group:nth-child(6) { animation-delay: .40s; }
.svc-groups.in-view .svc-group:nth-child(7) { animation-delay: .48s; }
.sg-head { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 20px 20px 16px; isolation: isolate; }
.sg-cover { position: absolute; inset: 0; z-index: -1; opacity: .28; }
.sg-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.sg-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 25%, rgba(16,22,24,.6) 70%, rgba(16,22,24,.85)), linear-gradient(180deg, transparent 50%, var(--surface)); }
.sg-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); border: 1px solid rgba(43,209,143,.25); }
.sg-ico .i { width: 22px; height: 22px; }
.sg-title h3 { font-size: 19px; letter-spacing: -0.015em; }
.sg-title p { color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 3px; }
.sg-count { min-width: 34px; height: 30px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.sg-list { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; padding: 0 14px 14px; }
.svc-tile { position: relative; display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 8px 8px 8px 8px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line); transition: border-color .2s ease, background-color .2s ease, transform .25s var(--ease-out); }
.svc-groups.in-view .svc-tile { animation: card-in .5s var(--ease-out) both; animation-delay: calc(var(--i) * 40ms + .15s); }
.svc-tile:hover { border-color: rgba(43,209,143,.35); background: rgba(43,209,143,.05); transform: translateY(-2px); }
.svc-tile.in-cart { border-color: var(--green); background: rgba(43,209,143,.08); }
.st-thumb { flex: none; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: #0C1113; }
.st-thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.st-pop { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 5px; vertical-align: -2px; color: var(--green); }
.st-pop .i { width: 12px; height: 12px; fill: currentColor; }
.svc-tile .svc-add { width: 32px; height: 32px; border-radius: 9px; }
.svc-tile .svc-add .i { width: 16px; height: 16px; }
.sg-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 46px; background: rgba(255,255,255,.02); border: 0; border-top: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.sg-more:hover { color: var(--green); background: rgba(43,209,143,.05); }
.sg-more .i { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.sg-more.is-less .i { transform: rotate(180deg); }
@media (max-width: 520px) {
  .sg-head { padding: 16px 14px 12px; gap: 12px; }
  .sg-title p { display: none; }
  .sg-list { padding: 0 10px 10px; gap: 6px; }
  .svc-tile { gap: 8px; padding: 6px; min-height: 56px; }
  .st-thumb { width: 36px; height: 36px; border-radius: 8px; }
  .st-name { font-size: 12.5px; }
  .svc-tile .svc-add { width: 28px; height: 28px; }
}
/* ---------- Provjeri svoj auto: obrazac JE ekran multimedije ---------- */
.cc-screen-ui { display: none; }
.cc-display { position: absolute; z-index: 5; left: 0; top: 0; width: 900px; height: 600px; opacity: 0; visibility: hidden; transform-origin: 50% 50%; will-change: transform, clip-path; pointer-events: none; }
.cc.is-screen .cc-display { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.cc.is-panel .cc-display { pointer-events: auto; }
.cc-display .cc-ui { width: 100%; height: 100%; overflow: auto; overscroll-behavior: contain; border-radius: 0; background: radial-gradient(120% 90% at 100% 0%, #0f2a20 0%, #0a0f11 55%, #070a0b 100%); }
.cc-display .cc-ui::-webkit-scrollbar { width: 8px; }
.cc-display .cc-ui::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 8px; }
.cc-display::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, transparent 30%); opacity: 1; transition: opacity .8s ease .6s; }
.cc.is-panel .cc-display::after { opacity: 0; }
.cc-panel { display: none; }
.cc.is-panel .cc-stage { filter: blur(10px) brightness(.3); }
/* ---------- KONTAKT + 3D VODIČ ---------- */
.contact { grid-template-columns: 1fr !important; gap: 18px; }
.contact-cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.guide { display: grid; grid-template-columns: 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 20px); }
@media (min-width: 980px) { .guide { grid-template-columns: 1.55fr 1fr; } }
.guide-stage { position: relative; height: clamp(380px, 52vw, 560px); overflow: hidden; perspective: 1100px; background: #090d0e; }
.guide-map { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.gm-svg { display: block; }
.gm-grid path { stroke: rgba(255,255,255,.025); stroke-width: 1; }
.gm-bld-shadow path { fill: #050708; }
.gm-bld path { fill: #172022; stroke: #222d30; stroke-width: 1; }
.gm-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gm-service path { stroke: #1a2326; stroke-width: 3; }
.gm-minor-case path { stroke: #0c1112; stroke-width: 10; }
.gm-minor path { stroke: #2a363a; stroke-width: 7; }
.gm-major-case path { stroke: #0c1112; stroke-width: 15; }
.gm-major path { stroke: #3a484d; stroke-width: 11; }
.gm-label { fill: #8a9593; font: 700 11px var(--font); letter-spacing: .04em; text-anchor: middle; paint-order: stroke; stroke: #090d0e; stroke-width: 4px; }
.gm-route-glow { fill: none; stroke: #2BD18F; stroke-opacity: .35; stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.gm-route-base { fill: none; stroke: rgba(43,209,143,.28); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 10; }
.gm-route { fill: none; stroke: #2BD18F; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.gm-start-ring { fill: rgba(245,183,72,.18); stroke: #F5B748; stroke-width: 2; }
.gm-start-dot { fill: #F5B748; }
.gm-tag { fill: rgba(9,13,14,.9); stroke: rgba(255,255,255,.14); }
.gm-tag-end { stroke: rgba(43,209,143,.6); }
.gm-tag-t { fill: #E8ECEA; font: 700 12px var(--font); }
.gm-tag-te { fill: #2BD18F; }
.gm-pin { fill: #2BD18F; stroke: #06110C; stroke-width: 2; }
.gm-pulse { transform-origin: 0 0; animation: gm-pulse 2s ease-out infinite; }
@keyframes gm-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.gm-car-halo { fill: rgba(46,124,246,.22); }
.gm-car-dot { fill: #fff; stroke: #2E7CF6; stroke-width: 3; }
.gm-car-arrow { fill: #2E7CF6; }
.guide-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 60%, transparent 55%, rgba(7,9,10,.85) 100%), linear-gradient(180deg, rgba(7,9,10,.85), transparent 22%); }
.guide-hud { position: absolute; z-index: 2; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; pointer-events: none; }
.gh-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(7,9,10,.75); border: 1px solid var(--line-strong); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); backdrop-filter: blur(6px); }
.gh-badge .i { width: 15px; height: 15px; color: var(--green); }
.gh-card { min-width: 210px; max-width: 62%; padding: 10px 14px; border-radius: 14px; background: rgba(7,9,10,.82); border: 1px solid rgba(43,209,143,.35); backdrop-filter: blur(8px); box-shadow: 0 14px 40px -14px #000; }
.gh-card small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.gh-card strong { display: block; font-size: 15px; line-height: 1.25; margin-top: 2px; }
.gh-card span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.guide-stage.is-arrived .gh-card { border-color: var(--green); }
.guide-panel { display: flex; flex-direction: column; gap: 16px; padding: clamp(18px, 3vw, 26px); border-left: 1px solid var(--line); }
@media (max-width: 979px) { .guide-panel { border-left: 0; border-top: 1px solid var(--line); } }
.gp-head small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.gp-head strong { display: block; font-size: 19px; line-height: 1.25; margin-top: 4px; }
.guide-steps { display: grid; gap: 4px; position: relative; }
.guide-steps li { position: relative; display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; transition: background-color .3s ease; }
.guide-steps li + li::before { content: ""; position: absolute; left: 27px; top: -6px; height: 10px; width: 2px; background: var(--line-strong); }
.gs-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); transition: all .3s ease; }
.gs-ico .i { width: 18px; height: 18px; }
.guide-steps strong { display: block; font-size: 14.5px; line-height: 1.25; color: var(--muted); transition: color .3s ease; }
.guide-steps small { display: block; font-size: 12.5px; color: var(--soft); }
.guide-steps li.is-done strong { color: var(--text); }
.guide-steps li.is-done .gs-ico { color: var(--green); border-color: rgba(43,209,143,.3); }
.guide-steps li.is-active { background: rgba(43,209,143,.08); }
.guide-steps li.is-active strong { color: var(--text); }
.guide-steps li.is-active .gs-ico { background: var(--green); border-color: var(--green); color: var(--on-green); }
.gp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.gp-actions .btn { flex: 1 1 140px; }
.gp-attr { color: var(--soft); font-size: 11.5px; }
/* preliv teksta mora biti na samim riječima (animirani dijelovi), ne na h1 */
.hero h1 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.hero h1 .w { background: linear-gradient(180deg, #FFFFFF 35%, #B5BFBD 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .w .mark { -webkit-text-fill-color: var(--green); }

.hero-floor { height: 20%; }
@media (max-width: 899px) { .hero-proof { flex-wrap: nowrap; gap: 16px; } .proof { flex-direction: column; align-items: flex-start; gap: 2px; } .proof p { max-width: none; font-size: 13px; } .proof + .proof { padding-left: 16px; } }

/* ---------- auto iz intro animacije dolazi slijeva i parkira se ---------- */
.hero-car svg { animation: car-park 1.9s cubic-bezier(.12,.72,.24,1) .15s both; transform-origin: 50% 80%; }
@keyframes car-park {
  0% { transform: translateX(-120vw); opacity: 1; }
  82% { transform: translateX(0) rotate(0deg); }
  90% { transform: translateX(6px) rotate(.6deg); }   /* kočenje: prednji kraj se spusti */
  100% { transform: translateX(0) rotate(0deg); opacity: 1; }
}
.hc-wheel { animation: wheel-park 1.9s cubic-bezier(.12,.72,.24,1) .15s both; }
@keyframes wheel-park { from { transform: rotate(-1440deg); } to { transform: rotate(0deg); } }
.hc-brake { opacity: 0; filter: blur(10px); mix-blend-mode: screen; animation: brake 1.4s ease-out 1.2s both; }
@keyframes brake { 0% { opacity: 0; } 20% { opacity: .95; } 60% { opacity: .9; } 100% { opacity: 0; } }
.hc-beam { animation: beam 3.5s ease-in-out 2.4s infinite; }
html.rc-intro .hc-brake { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .hero-car svg, .hc-wheel, .hc-brake { animation: none !important; } }
/* ---------- veće, preglednije kartice usluga ---------- */
.sg-head { padding: 22px 22px 18px; }
.sg-title h3 { font-size: 21px; }
.sg-list { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 16px 16px; }
@media (max-width: 1180px) and (min-width: 940px) { .sg-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sg-list { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 12px 12px; } }
.svc-tile { flex-direction: column; align-items: stretch; gap: 0; padding: 0; min-height: 0; overflow: hidden; border-radius: 16px; background: rgba(255,255,255,.03); }
.svc-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px #000; }
.st-thumb { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
.st-thumb img { transition: transform .6s var(--ease-out); }
.svc-tile:hover .st-thumb img { transform: scale(1.06); }
.st-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,9,10,.55)); }
.st-pop { position: absolute; z-index: 1; left: 8px; bottom: 8px; width: auto; height: auto; margin: 0; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(7,9,10,.8); color: var(--green); font-style: normal; font-size: 11px; font-weight: 700; border: 1px solid rgba(43,209,143,.35); }
.st-pop .i { width: 11px; height: 11px; fill: currentColor; }
.st-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.st-name { font-size: 15px; line-height: 1.3; }
.st-more { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--green); opacity: .85; }
.st-more .i { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.svc-tile:hover .st-more .i { transform: translateX(3px); }
.svc-tile .svc-add { position: absolute; z-index: 3; right: 8px; top: 8px; width: 36px; height: 36px; border-radius: 11px; background: rgba(7,9,10,.75); border-color: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.svc-tile .svc-add[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--on-green); }
@media (max-width: 520px) {
  .st-body { padding: 10px 10px 12px; }
  .st-name { font-size: 13.5px; }
  .svc-tile .svc-add { width: 32px; height: 32px; right: 6px; top: 6px; }
  .st-thumb { width: 100%; height: auto; border-radius: 0; }
}
/* ---------- Provjeri svoj auto: precizno zumiranje (ista putanja kamere i prozora) ---------- */
.cc-scene { transform: translate(0px, 28px) scale(.84); transform-origin: var(--ox, 57%) var(--oy, 63%); transition: transform 1.2s cubic-bezier(.65,0,.25,1); }
.cc.is-open .cc-scene { transform: translate(0px, 0px) scale(1); }
.cc.is-zoom .cc-scene { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--zs, 3)); transition: transform 1.1s cubic-bezier(.65,0,.25,1); }
.cc-display { overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.cc.is-screen .cc-display { opacity: 1; visibility: visible; }
.cc.is-panel .cc-display { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 120px -30px #000; }
.cc-boot { transition: opacity .3s ease; }
.cc.is-screen .cc-boot { opacity: 0; }
.cc.is-on .cc-boot { opacity: 1; }
.cc.is-on.is-screen .cc-boot { opacity: 0; }
.cc-boot { opacity: 0; }
/* ---------- jednostavan, profesionalan footer ---------- */
.site-footer { background: #050708; border-top: 1px solid var(--line); }
.site-footer::before { display: none; }
.ft-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-block: 44px 30px; }
.ft-brand p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.ft-brand .brand { color: #fff; }
.ft-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-mid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px; padding-block: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ft-nav, .ft-contact { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.ft-nav a, .ft-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: #C9D0CE; font-size: 15px; transition: color .2s ease; }
.ft-nav a:hover, .ft-contact a:hover { color: var(--green); }
.ft-contact .i { width: 16px; height: 16px; color: var(--green); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 18px 24px; color: var(--soft); font-size: 13px; }
@media (max-width: 640px) { .ft-cta { width: 100%; } .ft-cta .btn { flex: 1 1 0; } .ft-mid { flex-direction: column; } }

/* ---------- dizajn u pozadini cijelog sajta (motiv električnih kola) ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("../img/bg-circuit.svg"); background-size: 320px 320px;
  -webkit-mask-image: radial-gradient(1100px 800px at 85% 10%, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%), radial-gradient(900px 700px at 0% 85%, #000 0%, transparent 70%);
  mask-image: radial-gradient(1100px 800px at 85% 10%, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%), radial-gradient(900px 700px at 0% 85%, #000 0%, transparent 70%);
}
.section-alt { background: linear-gradient(180deg, rgba(11,15,17,.72), rgba(7,9,10,.55)); }
main { position: relative; }
main::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -8vw; top: 140vh; width: 46vw; max-width: 640px; aspect-ratio: 270 / 241;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 270 241'%3E%3Cpath d='M4 4H208L258 53V100L211 147H196L265 237H204L135 147H92L35 237H6V153L53 99H193L215 75L207 52H43Z' fill='none' stroke='%232BD18F' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E");
}
/* =========================================================
   ANIMACIJE USLUGA (svc-anim.js)
   ========================================================= */
.sa { display: block; width: 100%; height: 100%; }
.sa-bg { fill: #0a0f11; }
.sa *, .sa { transform-box: view-box; }
.sa-pop, .sa-drop, .sa-pulse, .sa-glow, .sa-step, .sa-type, .sa-gone, .sa-late { transform-box: fill-box; transform-origin: center; }
.sa-pop { animation: sa-pop 4.2s var(--ease-out) infinite both; }
@keyframes sa-pop { 0%, 6% { transform: scale(0); opacity: 0; } 16%, 82% { transform: scale(1); opacity: 1; } 94%, 100% { transform: scale(.7); opacity: 0; } }
.sa-draw { stroke-dasharray: var(--len); animation: sa-draw 4s ease-in-out infinite; }
@keyframes sa-draw { 0% { stroke-dashoffset: var(--len); opacity: 1; } 60%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.sa-drop { animation: sa-drop 4s var(--ease-out) infinite; }
@keyframes sa-drop { 0%, 55% { transform: translateY(-30px); opacity: 0; } 65%, 90% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.sa-move { offset-rotate: auto 90deg; animation: sa-move 4s ease-in-out infinite; }
@keyframes sa-move { 0% { offset-distance: 0%; } 80%, 100% { offset-distance: 100%; } }
.sa-fill { transform-box: fill-box; transform-origin: left center; animation: sa-fill 3.6s ease-in-out infinite; }
@keyframes sa-fill { 0% { transform: scaleX(0); opacity: 1; } 75%, 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.sa-spin { animation: sa-spin 1.1s linear infinite; }
@keyframes sa-spin { to { transform: rotate(360deg); } }
.sa-sweep { animation: sa-sweep 3.2s cubic-bezier(.45,0,.2,1) infinite; }
@keyframes sa-sweep { 0%, 12% { transform: rotate(-120deg); } 45% { transform: rotate(120deg); } 78%, 100% { transform: rotate(-120deg); } }
.sa-blink { animation: sa-blink 1.6s ease-in-out infinite; }
@keyframes sa-blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.sa-blink2 { animation: sa-blink2 .9s steps(1) infinite; }
@keyframes sa-blink2 { 50% { opacity: .12; } }
.sa-pulse { animation: sa-pulse 2s ease-in-out infinite; }
@keyframes sa-pulse { 0%, 100% { transform: scale(.92); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
.sa-eq { transform-box: fill-box; transform-origin: center bottom; animation: sa-eq .9s ease-in-out infinite alternate; }
@keyframes sa-eq { from { transform: scaleY(.18); } to { transform: scaleY(1); } }
.sa-up { animation: sa-up 3s ease-in-out infinite; }
@keyframes sa-up { 0%, 25% { transform: translateY(0); } 45%, 80% { transform: translateY(-12px); } 100% { transform: translateY(0); } }
.sa-down { animation: sa-down 3s ease-in-out infinite; }
@keyframes sa-down { 0%, 25% { transform: translateY(-12px); } 45%, 80% { transform: translateY(0); } 100% { transform: translateY(-12px); } }
.sa-fold { animation: sa-fold 3.2s ease-in-out infinite; }
@keyframes sa-fold { 0%, 20% { transform: rotate(0); } 45%, 75% { transform: rotate(58deg); } 100% { transform: rotate(0); } }
.sa-slide { animation: sa-slide 3.4s ease-in-out infinite; }
@keyframes sa-slide { 0%, 15% { transform: translateX(var(--from)); } 55%, 85% { transform: translateX(var(--to)); } 100% { transform: translateX(var(--from)); } }
.sa-glow { animation: sa-glow 2.4s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(243,255,249,.8)); }
@keyframes sa-glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.sa-step { animation: sa-step 1.5s ease-in-out infinite; }
@keyframes sa-step { 0%, 100% { opacity: .2; } 30%, 70% { opacity: 1; } }
.sa-hue { animation: sa-hue 4s linear infinite; }
@keyframes sa-hue { 0% { stroke: #2BD18F; } 33% { stroke: #2E7CF6; } 66% { stroke: #C04CF2; } 100% { stroke: #2BD18F; } }
.sa-rise { transform-box: fill-box; transform-origin: center bottom; animation: sa-rise 3.5s ease-in-out infinite; }
@keyframes sa-rise { 0% { transform: scaleY(.15); } 70%, 90% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.sa-roll { animation: sa-roll 4s steps(1) infinite; }
@keyframes sa-roll { 0% { transform: translateY(0); } 10% { transform: translateY(-70px); } 20% { transform: translateY(-140px); } 30% { transform: translateY(-210px); } 40% { transform: translateY(-280px); } 50% { transform: translateY(-350px); } 60% { transform: translateY(-420px); } 70% { transform: translateY(-490px); } 80% { transform: translateY(-560px); } 90%, 100% { transform: translateY(-630px); } }
.sa-xa { animation: sa-xa 4s ease-in-out infinite; }
.sa-xb { animation: sa-xa 4s ease-in-out infinite reverse; }
@keyframes sa-xa { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
.sa-sweepline { animation: sa-sweepline 2.4s ease-in-out infinite; }
@keyframes sa-sweepline { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(140px); } }
.sa-grow { transform-box: fill-box; transform-origin: center bottom; animation: sa-grow 3s var(--ease-out) infinite; }
@keyframes sa-grow { 0% { transform: scaleY(.05); } 50%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.05); } }
.sa-arc { animation: sa-blink 1.2s ease-in-out infinite; }
.sa-scan { animation: sa-scan 2.4s ease-in-out infinite; }
@keyframes sa-scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 60% { transform: translateY(116px); opacity: 1; } 70%, 100% { transform: translateY(116px); opacity: 0; } }
.sa-scan2 { animation: sa-scan2 2.6s ease-in-out infinite; }
@keyframes sa-scan2 { 0% { transform: translateY(0); } 100% { transform: translateY(128px); } }
.sa-lane { animation: sa-lane .7s linear infinite; }
@keyframes sa-lane { to { transform: translateY(50px); } }
.sa-wiggle { animation: sa-wiggle 3s ease-in-out infinite; }
@keyframes sa-wiggle { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-14px); } 50% { transform: translateX(0); } }
.sa-seq { animation: sa-seq 1.4s steps(1) infinite; opacity: .12; }
@keyframes sa-seq { 0% { opacity: .12; } 12%, 62% { opacity: 1; } 70%, 100% { opacity: .12; } }
.sa-gone { animation: sa-gone 4.2s ease-in-out infinite; }
@keyframes sa-gone { 0%, 10% { opacity: 0; transform: scale(.9); } 20%, 55% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; transform: translateX(30px); } }
.sa-strike { transform-box: fill-box; transform-origin: left center; animation: sa-strike 4.2s ease-in-out infinite; }
@keyframes sa-strike { 0%, 35% { transform: scaleX(0); } 52%, 100% { transform: scaleX(1); } }
.sa-late { animation: sa-late 4.2s ease-in-out infinite; }
@keyframes sa-late { 0%, 70% { opacity: 0; } 80%, 96% { opacity: 1; } 100% { opacity: 0; } }
.sa-wave { animation: sa-wave 1.6s linear infinite; }
@keyframes sa-wave { to { transform: translateX(-80px); } }
.sa-ring { stroke-dashoffset: 352; animation: sa-ring 3.4s ease-in-out infinite; }
@keyframes sa-ring { 0%, 15% { stroke-dashoffset: 0; } 50% { stroke-dashoffset: 352; } 100% { stroke-dashoffset: 0; } }
.sa-rock { animation: sa-rock 1.7s ease-in-out infinite; }
@keyframes sa-rock { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
.sa-burn { animation: sa-burn 3.2s ease-in-out infinite; }
@keyframes sa-burn { 0%, 20% { fill: #555f5e; opacity: 1; } 50% { fill: #F5B748; opacity: 1; } 80%, 100% { fill: #2BD18F; opacity: .15; } }
.sa-flame { animation: sa-flame .5s ease-in-out infinite alternate; transform-box: fill-box; }
@keyframes sa-flame { from { transform: scale(.9, .85); } to { transform: scale(1.05, 1.1); } }
.sa-flow { animation: sa-flow .9s linear infinite; }
@keyframes sa-flow { to { stroke-dashoffset: -32; } }
.sa-type { transform-origin: left center; animation: sa-type 4.4s ease-in-out infinite; }
@keyframes sa-type { 0%, 5% { opacity: 0; transform: translateX(-8px); } 15%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.sa-cursor { animation: sa-blink2 .8s steps(1) infinite; }
.sa-strip { animation: sa-strip 3s linear infinite; }
@keyframes sa-strip { to { transform: translateX(-140px); } }
.sa-track { animation: sa-track 3.6s ease-in-out infinite; }
@keyframes sa-track { 0%, 20% { fill: #3a4448; } 30%, 85% { fill: #2BD18F; } 95%, 100% { fill: #3a4448; } }
.sa-knob { animation: sa-knob 3.6s ease-in-out infinite; }
@keyframes sa-knob { 0%, 20% { transform: translateX(0); } 30%, 85% { transform: translateX(18px); } 95%, 100% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .sa * { animation: none !important; } }
/* =========================================================
   USLUGE v3: prozori po oblastima → primjeri → detalji
   ========================================================= */
.svc-cats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); margin-top: 22px; }
.cat-win { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: 22px; overflow: hidden; cursor: pointer; color: inherit; font: inherit;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--surface);
  transition: transform .35s var(--ease-out), border-color .25s ease, box-shadow .35s ease; }
.cat-win:hover { transform: translateY(-5px); border-color: rgba(43,209,143,.4); box-shadow: 0 30px 60px -30px #000, 0 0 0 1px rgba(43,209,143,.12); }
.svc-cats:not(.in-view) .cat-win { opacity: 0; transform: translateY(24px); }
.svc-cats.in-view .cat-win { animation: card-in .7s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }
.cw-anim { position: relative; display: block; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); overflow: hidden; }
.cw-anim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,15,17,.6)); pointer-events: none; }
.cw-body { position: relative; display: grid; gap: 6px; padding: 18px 20px 18px; }
.cw-ico { position: absolute; right: 18px; top: -24px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #0f1618; border: 1px solid rgba(43,209,143,.4); color: var(--green); box-shadow: 0 10px 24px -10px #000; }
.cw-ico .i { width: 22px; height: 22px; }
.cw-body strong { font-size: 20px; letter-spacing: -0.015em; padding-right: 54px; }
.cw-body small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.cw-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.cw-foot b { color: var(--muted); font-weight: 700; }
.cw-foot span { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; }
.cw-foot .i { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.cat-win:hover .cw-foot .i { transform: translateX(4px); }

.svc-results, .swc-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.svc-results { margin-top: 22px; }
@media (max-width: 560px) { .svc-results, .swc-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.svc-ex { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: transform .3s var(--ease-out), border-color .2s ease, box-shadow .3s ease; }
.svc-ex:hover { transform: translateY(-4px); border-color: rgba(43,209,143,.4); box-shadow: 0 20px 40px -24px #000; }
.svc-ex.in-cart { border-color: var(--green); }
.svc-results.in-view .svc-ex, .sw-box.v-cat .svc-ex { animation: card-in .5s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
.ex-anim { position: relative; display: block; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.ex-pop { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(7,9,10,.85); color: var(--green); font-style: normal; font-size: 11px; font-weight: 700; border: 1px solid rgba(43,209,143,.35); }
.ex-pop .i { width: 11px; height: 11px; fill: currentColor; }
.ex-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.ex-body strong { font-size: 14.5px; line-height: 1.3; }
.ex-more { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--green); }
.ex-more .i { width: 14px; height: 14px; }
.svc-ex .svc-add { position: absolute; z-index: 3; right: 8px; top: 8px; width: 34px; height: 34px; border-radius: 10px; background: rgba(7,9,10,.8); border-color: rgba(255,255,255,.18); color: #fff; }
.svc-ex .svc-add[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--on-green); }

/* prozor */
.svc-win { width: min(1080px, calc(100% - 20px)); max-height: calc(100dvh - 20px); padding: 0; border: 0; border-radius: 26px; background: transparent; overflow: visible; color: var(--text); }
.svc-win::backdrop { background: rgba(3,5,6,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade-in .3s ease; }
.svc-win[open] .sw-box { animation: win-in .5s var(--ease-out); }
.svc-win.is-closing .sw-box { animation: modal-out .2s ease forwards; }
@keyframes win-in { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.sw-box { position: relative; max-height: calc(100dvh - 20px); overflow: auto; overscroll-behavior: contain; border-radius: 26px; border: 1px solid var(--line-strong);
  background: radial-gradient(800px 400px at 100% 0%, rgba(43,209,143,.08), transparent 60%), linear-gradient(180deg, #11181b, #0b1012); box-shadow: 0 50px 120px -40px #000; }
.sw-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(13,19,21,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.sw-back, .sw-close { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text); cursor: pointer; transition: background-color .2s ease, transform .25s var(--ease-out); }
.sw-back:hover, .sw-close:hover { background: rgba(255,255,255,.1); }
.sw-close { margin-left: auto; }
.sw-close:hover { transform: rotate(90deg); }
.sw-back .i, .sw-close .i { width: 20px; height: 20px; }
.sw-box.v-cat .sw-back, .sw-box.v-cat .sw-crumb-sep { visibility: hidden; }
.sw-crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; color: var(--muted); }
.sw-crumb-cat { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; padding: 6px 4px; white-space: nowrap; }
.sw-crumb-cat:hover { color: var(--green); }
.sw-crumb-svc { color: var(--text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-view { display: none; }
.sw-box.v-cat .sw-cat, .sw-box.v-detail .sw-detail { display: block; }
.sw-box.v-detail .sw-detail { display: grid; }
.sw-box.anim-fwd .sw-view { animation: view-fwd .45s var(--ease-out); }
.sw-box.anim-back .sw-view { animation: view-back .45s var(--ease-out); }
@keyframes view-fwd { from { opacity: 0; transform: translateX(40px); } }
@keyframes view-back { from { opacity: 0; transform: translateX(-40px); } }
.sw-cat { padding: clamp(18px, 3vw, 30px); }
.swc-top { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 22px; }
.swc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); border: 1px solid rgba(43,209,143,.3); }
.swc-ico .i { width: 26px; height: 26px; }
.swc-top h2 { font-size: clamp(24px, 3vw, 32px); }
.swc-intro { color: var(--muted); margin-top: 4px; }
.swc-count { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) { .swc-top { grid-template-columns: auto 1fr; } .swc-count { display: none; } }
.sw-detail { grid-template-columns: 1fr; }
@media (min-width: 880px) { .sw-detail { grid-template-columns: 1.05fr 1fr; } .swd-anim { position: sticky; top: 65px; align-self: start; } }
.swd-anim { margin: 16px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #0a0f11; box-shadow: 0 30px 60px -30px #000; }
.swd-body { display: flex; flex-direction: column; gap: 16px; padding: clamp(18px, 3vw, 30px) clamp(18px, 3vw, 30px) 24px 10px; }
@media (max-width: 879px) { .swd-body { padding: 4px 18px 22px; } }
.swd-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 11px; border-radius: 999px; background: var(--green-tint); color: var(--green); font-size: 12.5px; font-weight: 700; border: 1px solid rgba(43,209,143,.3); }
.swd-badge .i { width: 14px; height: 14px; }
.swd-title { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.03em; }
.swd-desc { color: #C9D0CE; font-size: 17px; }
.swd-cols { display: grid; gap: 18px; grid-template-columns: 1fr; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
@media (min-width: 560px) { .swd-cols { grid-template-columns: 1fr 1fr; } }
.swd-body h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.swd-ben, .swd-steps { display: grid; gap: 8px; }
.swd-ben li, .swd-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.swd-ben .i { width: 17px; height: 17px; color: var(--green); margin-top: 2px; }
.swd-steps b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--green-tint); color: var(--green); }
.swd-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.swd-gal .g-item { aspect-ratio: 1; border-radius: 12px; }
.swd-gal .g-over, .swd-gal .g-zoom { display: none; }
.swd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.swd-actions .btn { flex: 1 1 200px; }
.swd-add.is-added { background: #1d2a2d; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.swd-nav { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.swd-nav button { display: inline-flex; align-items: center; gap: 6px; max-width: 48%; background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 13.5px; min-height: 44px; }
.swd-nav button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swd-nav button:hover { color: var(--text); }
.swd-nav .i { width: 18px; height: 18px; flex: none; }
/* ---------- HERO: lokacija jasno označena, 3D pod ---------- */
.hero-loc { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; padding: 10px 14px 10px 10px; border-radius: 16px; width: fit-content; max-width: 100%;
  background: linear-gradient(135deg, rgba(43,209,143,.10), rgba(255,255,255,.02)); border: 1px solid rgba(43,209,143,.28); }
.hero-loc:hover { border-color: rgba(43,209,143,.6); background: linear-gradient(135deg, rgba(43,209,143,.16), rgba(255,255,255,.03)); }
.hero-loc-ico { position: relative; width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: var(--on-green); }
.hero-loc-ico::after { content: ""; position: absolute; inset: -4px; border-radius: 15px; border: 2px solid rgba(43,209,143,.5); animation: loc-ping 2s ease-out infinite; }
@keyframes loc-ping { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.hero-loc-ico .i { width: 21px; height: 21px; }
.hero-loc-txt { display: grid; gap: 1px; }
.hl-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.hero-loc strong { font-size: 16px; }
.hl-link { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 13.5px; font-weight: 700; color: var(--text); white-space: nowrap; }
.hl-link .i { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.hero-loc:hover .hl-link .i { transform: translateX(3px); }
@media (max-width: 520px) { .hero-loc { flex-wrap: wrap; } .hl-link { margin-left: 0; width: 100%; justify-content: center; } }
.hero-grid3d { position: absolute; z-index: 0; left: -20%; right: -20%; bottom: -6%; height: 46%; pointer-events: none;
  background-image: linear-gradient(rgba(43,209,143,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(43,209,143,.16) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(72deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 45%, #000 70%, transparent);
  animation: grid-run 3s linear infinite; opacity: .55; }
@keyframes grid-run { to { background-position: 0 64px; } }
.hero h1 { filter: drop-shadow(0 18px 40px rgba(0,0,0,.65)); }
.hero-spot { background: radial-gradient(50% 55% at 55% 45%, rgba(255,255,255,.08), transparent 70%), radial-gradient(35% 40% at 70% 70%, rgba(43,209,143,.12), transparent 70%); }

/* ---------- POZADINA: aurora + svjetlosni impulsi po linijama ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx .aur { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.bg-fx .a1 { width: 46vw; height: 46vw; left: -12vw; top: 30vh; background: radial-gradient(closest-side, rgba(10,112,75,.35), transparent); animation: aur1 22s ease-in-out infinite alternate; }
.bg-fx .a2 { width: 40vw; height: 40vw; right: -10vw; top: -10vh; background: radial-gradient(closest-side, rgba(43,209,143,.18), transparent); animation: aur2 26s ease-in-out infinite alternate; }
@keyframes aur1 { to { transform: translate(18vw, -14vh) scale(1.15); } }
@keyframes aur2 { to { transform: translate(-12vw, 22vh) scale(.9); } }
.bg-fx svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-fx .tr { fill: none; stroke: rgba(43,209,143,.07); stroke-width: 1.2; }
.bg-fx .pl { fill: none; stroke: #2BD18F; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 60 1400; stroke-dashoffset: 1460; opacity: .55; filter: drop-shadow(0 0 4px rgba(43,209,143,.9)); animation: pulse-run 7s linear infinite; }
@keyframes pulse-run { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .bg-fx .pl, .bg-fx .aur, .hero-grid3d { animation: none; } .bg-fx .pl { display: none; } }
/* ---------- mapa: klik → Google Maps, življa ruta ---------- */
.guide-stage { cursor: pointer; }
.guide-stage:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.gh-open { position: absolute; z-index: 3; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(7,9,10,.85); border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 700; backdrop-filter: blur(8px); transition: background-color .2s ease, border-color .2s ease, transform .25s var(--ease-out); }
.gh-open .i { width: 16px; height: 16px; color: var(--green); }
.guide-stage:hover .gh-open { background: var(--green); color: var(--on-green); border-color: var(--green); transform: translateY(-2px); }
.guide-stage:hover .gh-open .i { color: var(--on-green); }
.gm-route-base { animation: route-flow 1.2s linear infinite; }
@keyframes route-flow { to { stroke-dashoffset: -24; } }
.gm-car-halo { transform-box: fill-box; transform-origin: center; animation: car-halo 1.6s ease-out infinite; }
@keyframes car-halo { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.guide-stage.is-arrived .gh-card { box-shadow: 0 0 0 1px var(--green), 0 14px 40px -14px #000; }
/* ---------- Provjeri svoj auto: opis, tri načina slanja, bogatija tranzicija ---------- */
.cc-field textarea { width: 100%; min-height: 96px; padding: 12px 14px; border-radius: 12px; resize: vertical; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 16px; line-height: 1.5; transition: border-color .2s ease, background-color .2s ease; }
.cc-field textarea::placeholder { color: #5f6b6a; }
.cc-field textarea:focus { outline: none; border-color: var(--green); background: rgba(43,209,143,.06); }
.cc-help { margin-top: 6px; font-size: 12.5px; color: #6E7A79; }
.cc-send { display: grid; gap: 10px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.07); }
.cc-send-btns { display: grid; gap: 10px; grid-template-columns: 1.4fr 1fr 1fr; }
.cc-send-btns .btn { min-height: 52px; padding: 0 12px; }
.cc-send-btns .btn-outline { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.16); }
.cc-send-btns .cc-ig:hover { border-color: #E1306C; background: rgba(225,48,108,.12); }
.cc-send-btns .cc-call:hover { border-color: var(--green); background: rgba(43,209,143,.1); }
@media (max-width: 520px) { .cc-send-btns { grid-template-columns: 1fr 1fr; } .cc-send-btns .cc-wa { grid-column: 1 / -1; } }
/* enterijer oživi: ambijentalno svjetlo, instrumenti, učitavanje ekrana */
.cc-amb { opacity: 0; filter: drop-shadow(0 0 8px #2BD18F); transition: opacity 1s ease .5s; }
.cc.is-open .cc-amb { opacity: .85; }
.cc-dial { stroke-opacity: .12; transition: stroke-opacity .6s ease .4s; }
.cc.is-open .cc-dial { stroke-opacity: .6; }
.cc-needle { transform: rotate(0deg); }
.cc.is-open .cc-needle { animation: cc-sweep 1.3s cubic-bezier(.45,0,.2,1) .35s both; }
@keyframes cc-sweep { 0% { transform: rotate(0deg); } 45% { transform: rotate(250deg); } 100% { transform: rotate(0deg); } }
.cc-bootbar { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.cc.is-on .cc-bootbar { animation: cc-boot .5s ease-out forwards; }
@keyframes cc-boot { to { transform: scaleX(1); } }
.cc.is-screen .cc-display::after { animation: cc-shine 1s ease .1s both; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 45%, transparent 60%); background-size: 250% 100%; }
@keyframes cc-shine { from { background-position: 120% 0; } to { background-position: -60% 0; } }
.cc-door { box-shadow: inset 0 0 120px rgba(0,0,0,.8); }
.cc::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(120% 90% at 50% 55%, transparent 55%, rgba(0,0,0,.7)); }
/* ---------- hero auto: sporiji, mekši ulazak ---------- */
.hero-car svg { animation-duration: 3.2s; animation-timing-function: cubic-bezier(.16,.8,.24,1); }
.hc-wheel { animation-duration: 3.2s; animation-timing-function: cubic-bezier(.16,.8,.24,1); }
.hc-brake { animation-delay: 2.5s; }
.hero-car { transition: none; }

/* ---------- veliki naslov sekcije USLUGE ---------- */
.title-xl { font-size: clamp(56px, 10vw, 132px) !important; letter-spacing: -0.05em; line-height: .9; text-transform: uppercase; }
#usluge .head-row { align-items: flex-end; }

/* ---------- manji prozori oblasti ---------- */
.svc-cats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
@media (max-width: 560px) { .svc-cats { grid-template-columns: 1fr 1fr; gap: 10px; } }
.cat-win { border-radius: 18px; }
.cw-anim { aspect-ratio: 16 / 8; }
.cw-body { padding: 14px 14px 14px; gap: 4px; }
.cw-ico { width: 38px; height: 38px; border-radius: 11px; top: -19px; right: 12px; }
.cw-ico .i { width: 18px; height: 18px; }
.cw-body strong { font-size: 16px; padding-right: 40px; }
.cw-body small { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cw-foot { margin-top: 6px; padding-top: 10px; font-size: 13px; }
@media (max-width: 560px) { .cw-body small { display: none; } .cw-body strong { font-size: 14px; padding-right: 30px; } .cw-ico { width: 32px; height: 32px; top: -16px; } .cw-foot b { display: none; } }

/* ---------- radovi: "Učitaj sve" i sekcija sa svim radovima ---------- */
.g-more-wrap { display: flex; justify-content: center; margin-top: 26px; }
.g-more .g-more-n { font-variant-numeric: tabular-nums; }
.lb-ig { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: #9BF5CF; text-decoration: underline; text-underline-offset: 3px; }
.works-all { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); }
.works-all::backdrop { background: rgba(3,5,6,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.works-all[open] .wa-box { animation: win-in .5s var(--ease-out); }
.wa-box { height: 100%; overflow: auto; overscroll-behavior: contain; background: radial-gradient(900px 500px at 100% 0%, rgba(43,209,143,.08), transparent 60%), var(--bg); }
.wa-head { position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); background: rgba(7,9,10,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.wa-head > div { margin-right: auto; }
.wa-head .eyebrow { margin-bottom: 4px; }
.wa-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.wa-head h2 small { font-size: .5em; color: var(--muted); font-weight: 700; }
.wa-close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-strong); color: #fff; cursor: pointer; transition: transform .25s var(--ease-out); }
.wa-close:hover { transform: rotate(90deg); }
.wa-close .i { width: 20px; height: 20px; }
.wa-filters, .wa-grid, .wa-note { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.wa-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 18px 6px; }
.wa-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); padding-block: 14px 20px; }
.wa-item { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--surface); animation: card-in .55s var(--ease-out) both; animation-delay: calc(var(--i) * 50ms); }
.wa-img { display: block; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; background: #0c1113; }
.wa-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.wa-item:hover .wa-img img { transform: scale(1.04); }
.wa-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.wa-body strong { font-size: 18px; }
.wa-body p { color: var(--muted); font-size: 14.5px; }
.wa-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.wa-tags li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgba(43,209,143,.08); border: 1px solid rgba(43,209,143,.22); font-size: 12.5px; }
.wa-tags .i { width: 12px; height: 12px; color: var(--green); }
.wa-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--green); }
.wa-link .i { width: 16px; height: 16px; }
.wa-note { padding-block: 10px 50px; color: var(--soft); font-size: 14px; text-align: center; }
/* ================= PERFORMANSE: glatke animacije bez kočenja =================
   Pravilo: u pokretu se mijenjaju samo transform i opacity. Filteri, zamućenja
   pozadine i animirane pozadine (background-position, dashoffset preko cijelog ekrana)
   su skupi jer se pregledač u svakom frejmu crta ponovo. */

/* aurora: gradijent je već mekan, blur(60px) nije potreban; svaka mrlja dobija svoj sloj */
.bg-fx .aur { filter: none; opacity: .62; will-change: transform; }
.bg-fx svg { transform: translateZ(0); }
/* impulsi po linijama: sitni elementi koji klize po putanji (offset-path), sjaj je statičan */
.bg-fx .pls { position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; transform-origin: 0 0; }
.bg-fx .pls i { position: absolute; left: 0; top: 0; width: 64px; height: 2px; margin: -1px 0 0 -32px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #2BD18F 70%, #E6FFF3); box-shadow: 0 0 8px rgba(43,209,143,.7);
  offset-rotate: auto; offset-distance: 0%; opacity: .6; will-change: offset-distance, transform;
  animation: pl-run 7s linear infinite; }
@keyframes pl-run { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* hero: senka auta je sada statična slika ispod auta (ne filter na SVG-u koji se stalno mijenja) */
.hero-car svg { filter: none; will-change: transform; }
.hero-car { will-change: transform; }
/* 3D mreža: pomjera se unutrašnji sloj transformacijom umjesto background-position */
.hero-grid3d { background: none; animation: none; overflow: hidden; }
.hero-grid3d::before { content: ""; position: absolute; left: 0; right: 0; top: -64px; bottom: 0;
  background-image: linear-gradient(rgba(43,209,143,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(43,209,143,.16) 1px, transparent 1px);
  background-size: 64px 64px; will-change: transform; animation: grid-run2 3s linear infinite; }
@keyframes grid-run2 { from { transform: translateY(0); } to { transform: translateY(64px); } }

/* zaglavlje i trake: jako zamućenje pozadine iza animirane pozadine je najskuplje — puna boja */
.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7,9,10,.9); }
.site-header.is-scrolled { background: rgba(7,9,10,.96); }
.svc-toolbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11,15,17,.97); }
.action-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7,9,10,.97); }
.sw-head, .wa-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13,19,21,.98); }
.svc-win::backdrop, .works-all::backdrop, .svc-modal::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
.gh-badge, .gh-card, .gh-open, .svc-tile .svc-add { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* animacije usluga: bez filtera; pauziraju se kad nisu na ekranu */
.sa-glow { filter: none; }
.sa-off, .sa-off * { animation-play-state: paused !important; }

/* sekcije ispod prvog ekrana se ne iscrtavaju dok im se ne približiš */
#radovi, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

@media (prefers-reduced-motion: reduce) { .bg-fx .pls { display: none; } .hero-grid3d::before { animation: none; } }

/* mapa: statični sloj (zgrade, ulice) + živi sloj (ruta, auto) jedan preko drugog */
.guide-map .gm-svg { position: absolute; left: 0; top: 0; }
.guide-map .gm-live { will-change: transform; }

/* ================= HERO v3: novi auto, fizika vožnje, ocjena ================= */
.hero-car svg, .hc-wheel, .hc-brake, .hc-beam { animation: none !important; filter: none !important; mix-blend-mode: normal !important; }
.hero-car { transform: translate3d(-140vw,0,0); }             /* JS ga dovozi; bez JS-a stoji na mjestu */
html.no-js .hero-car { transform: none; }
.hc-body, .hc-smoke circle { will-change: auto; }
.hero-speed { opacity: .25; transition: none; }
.hero-car::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 22%; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(43,209,143,.55), rgba(255,255,255,.4), rgba(43,209,143,.55), transparent); opacity: .5; }

/* statistika: tri stavke, ocjena sa zvjezdicom */
.hero-proof { gap: 14px 28px; }
.proof-rate .stars { display: inline-flex; margin-left: 6px; vertical-align: -.08em; }
.proof-rate .stars svg { width: .78em; height: .78em; fill: #F5B748; filter: none; }
.proof-rate strong { display: inline-flex; align-items: baseline; }
@media (max-width: 899px) {
  .hero-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px; }
  .proof + .proof { padding-left: 12px; }
  .proof strong { font-size: 24px; }
  .proof p { font-size: 12px; max-width: 12ch; }
}
@media (max-width: 380px) { .proof strong { font-size: 21px; } .proof + .proof { padding-left: 10px; } }

/* ================= ZELENA TRAKA SA MARKAMA ================= */
.brands { background: linear-gradient(90deg, #1FB97C, #2BD18F 30%, #45E0A2 50%, #2BD18F 70%, #1FB97C); position: relative; z-index: 2; overflow: hidden;
  box-shadow: 0 -1px 0 rgba(255,255,255,.25) inset, 0 1px 0 rgba(0,0,0,.25) inset, 0 18px 40px -22px rgba(43,209,143,.7); }
.brands::before, .brands::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.brands::before { left: 0; background: linear-gradient(90deg, #17A56D, rgba(31,185,124,0)); }
.brands::after { right: 0; background: linear-gradient(270deg, #17A56D, rgba(31,185,124,0)); }
.brands-track { animation-duration: 50s; will-change: transform; }
.brands-track span { padding: 11px 24px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #052014; }
.brands-track span::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 24px; vertical-align: 2px; transform: rotate(45deg); background: rgba(5,32,20,.35); }
/* odsjaj koji putuje preko trake */
.brands .br-shine { position: absolute; top: 0; bottom: 0; left: 0; width: 220px; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); animation: br-shine 5.5s ease-in-out infinite; will-change: transform; }
@keyframes br-shine { 0% { transform: translateX(-260px) skewX(-20deg); } 60%, 100% { transform: translateX(calc(100vw + 260px)) skewX(-20deg); } }
@media (prefers-reduced-motion: reduce) { .brands .br-shine { display: none; } }

/* ================= 3D VODIČ: življa vožnja ================= */
.gm-trail { fill: none; stroke: #E9FFF5; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.gm-head { transition: opacity .3s ease; }
.gm-car-cone { opacity: .9; }
.gm-ring { fill: none; stroke: #2BD18F; stroke-width: 2; transform-origin: 0 0; opacity: 0; animation: gm-ring 2.7s ease-out infinite; }
.gm-ring.r2 { animation-delay: .9s; } .gm-ring.r3 { animation-delay: 1.8s; }
@keyframes gm-ring { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.gm-pin-shadow { fill: rgba(0,0,0,.55); }
.gh-prog { display: block; height: 3px; margin-top: 8px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.gh-prog i { display: block; height: 100%; background: linear-gradient(90deg, #1FB97C, #7BF0C0); transform-origin: 0 50%; transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) { .gm-ring { animation: none; } }

/* ================= PROVJERI SVOJ AUTO: kamera vođena iz JS-a ================= */
.cc-scene, .cc.is-open .cc-scene, .cc.is-zoom .cc-scene { transition: none !important; will-change: transform; }
.cc-display { transition: opacity .35s ease !important; will-change: transform; backface-visibility: hidden; }
.cc-stage, .cc.is-panel .cc-stage { filter: none !important; transition: none; }
.cc-dim { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: radial-gradient(120% 100% at 50% 50%, rgba(3,6,7,.75), rgba(3,6,7,.96)); }
.cc.is-panel .cc-display { box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 40px 120px -30px #000, 0 0 80px -30px rgba(43,209,143,.35); }
.cc.is-panel .cc-flash { animation: none; }

/* ================= PROZOR DETALJA USLUGE v2 ================= */
.svc-win { width: min(1180px, calc(100% - 24px)); }
.sw-detail { grid-template-columns: 1fr; gap: 0; }
.swd-media { display: grid; gap: 14px; padding: 18px; align-content: start; }
.swd-anim { margin: 0; aspect-ratio: 16 / 10; border-radius: 18px; position: relative;
  background: radial-gradient(90% 80% at 50% 0%, rgba(43,209,143,.10), transparent 70%), #0a0f11; box-shadow: 0 30px 60px -30px #000, inset 0 0 0 1px rgba(255,255,255,.04); }
.swd-anim svg.sa { display: block; width: 100%; height: 100%; }
.swd-facts { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.swd-facts li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.swd-facts .i { flex: none; width: 18px; height: 18px; color: var(--green); margin-top: 1px; }
.swd-facts b { display: block; color: var(--text); font-size: 13.5px; margin-bottom: 2px; }
.swd-media .swd-works h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
.swd-gal { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.swd-gal .g-item { aspect-ratio: 4 / 3; border-radius: 12px; }
.swd-body { padding: 4px 20px 22px; gap: 18px; }
.swd-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.swd-desc { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; }
.swd-cols { padding: 0; background: none; border: 0; gap: 12px; }
.swd-card { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.swd-ben li, .swd-steps li { font-size: 15px; line-height: 1.45; }
.swd-actions { position: sticky; bottom: 0; z-index: 2; margin-inline: -20px; padding: 14px 20px; background: linear-gradient(180deg, rgba(13,19,21,0), #0d1315 30%); }
.swd-actions .btn { min-height: 52px; }
@media (max-width: 560px) { .swd-facts { grid-template-columns: 1fr; } .swd-facts li { padding: 10px 12px; } }
@media (min-width: 900px) {
  .sw-detail { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .swd-media { position: sticky; top: 65px; align-self: start; padding: 22px 10px 22px 22px; }
  .swd-body { padding: 26px 26px 0 16px; }
  .swd-actions { margin-inline: -26px 0; margin-right: -26px; padding: 16px 26px 18px; }
  .swd-cols { grid-template-columns: 1fr; }
  .swd-anim { position: relative; top: auto; }
}
@media (min-width: 1100px) { .swd-cols { grid-template-columns: 1fr 1fr; } }

/* ================= KOMPJUTER: sve veće i čitljivije ================= */
@media (min-width: 1200px) {
  :root { --container: 1320px; }
  body { font-size: 18px; }
  .section-head h2, .head-row h2:not(.title-xl) { font-size: clamp(44px, 4vw, 60px); }
  .eyebrow { font-size: 14px; }
  .site-header .nav a { font-size: 16px; }
  .btn-lg { min-height: 60px; padding-inline: 28px; font-size: 17.5px; }
  .hero h1 { font-size: clamp(80px, 7.6vw, 124px); }
  .hero-loc strong { font-size: 17px; }
  .proof strong { font-size: 38px; }
  .proof p { font-size: 15px; }
  .hero-car { width: min(54vw, 1000px); right: -3vw; bottom: 3%; }
  /* usluge */
  .svc-cats { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
  .cat-win { border-radius: 22px; }
  .cw-anim { aspect-ratio: 16 / 9; }
  .cw-body { padding: 20px 20px 18px; gap: 6px; }
  .cw-ico { width: 46px; height: 46px; top: -23px; right: 16px; border-radius: 13px; }
  .cw-ico .i { width: 22px; height: 22px; }
  .cw-body strong { font-size: 20px; padding-right: 54px; }
  .cw-body small { font-size: 14.5px; }
  .cw-foot { font-size: 14.5px; }
  .svc-search input { font-size: 17px; min-height: 52px; }
  .swc-grid, .svc-results { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
  .svc-ex strong, .svc-ex .ex-name { font-size: 16.5px; }
  .swc-top h2 { font-size: 36px; }
  .swc-intro { font-size: 17px; }
  /* radovi i kontakt */
  .g-grid { gap: 18px; }
  .c-card strong { font-size: 19px; }
  .c-card small { font-size: 14px; }
  .guide-stage { min-height: 480px; }
  .gp-head strong { font-size: 22px; }
  .guide-steps strong { font-size: 16.5px; }
  .ft-brand p, .ft-nav a, .ft-contact a { font-size: 16px; }
}
@media (min-width: 1600px) {
  :root { --container: 1440px; }
  body { font-size: 19px; }
  .svc-cats { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
}

/* statistika: broj iznad opisa i na kompjuteru — kompaktno, ne ulazi pod auto */
.hero-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; }
.proof { flex-direction: column; align-items: flex-start; gap: 4px; }
.proof + .proof { padding-left: clamp(14px, 2.2vw, 30px); margin-left: clamp(14px, 2.2vw, 30px); border-left: 1px solid var(--line-strong); }
.proof p { max-width: 14ch; }
@media (max-width: 899px) { .proof + .proof { padding-left: 12px; margin-left: 12px; } }

/* detalji usluge: kolone se ne šire preko prozora na telefonu */
.sw-detail { grid-template-columns: minmax(0, 1fr); }
.swd-media, .swd-body, .swd-anim, .swd-facts, .swd-gal { min-width: 0; }
@media (min-width: 900px) { .sw-detail { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

/* ================= HERO AUTO v4: slojevi (sve animacije su transform/opacity) ================= */
.hero-car { aspect-ratio: 1000 / 420; height: auto; contain: layout style; }
.hero-car > svg, .hero-car .hc-bodyw > svg, .hc-w svg { animation: none !important; filter: none !important; }
.hero-car .hc-defs { position: absolute !important; width: 0 !important; height: 0 !important; overflow: hidden; }
.hero-car .hc-ground, .hero-car .hc-bodysvg { position: absolute; left: 0; top: 0; width: 100% !important; height: 100% !important; overflow: visible; }
.hc-smoke { position: absolute; inset: 0; pointer-events: none; }
.hc-smoke i { position: absolute; left: 0; top: 0; width: 6%; aspect-ratio: 1; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(205,214,214,.55), rgba(205,214,214,0)); will-change: transform, opacity; }
.hc-bodyw { position: absolute; inset: 0; transform-origin: 52% 59.5%; will-change: transform; }
/* svjetla: pozicija u koordinatama crteža (1000 × 420) */
.hc-l { position: absolute; display: block; pointer-events: none; will-change: opacity;
  left: calc(var(--x) * .1%); top: calc(var(--y) / 4.2 * 1%); width: calc(var(--w) * .1%); height: calc(var(--h) / 4.2 * 1%); }
.hc-pool { --x: 930; --y: 292; --w: 440; --h: 52; background: radial-gradient(closest-side, rgba(234,251,255,.22), rgba(234,251,255,0)); opacity: .5; }
.hc-beam { --x: 958; --y: 112; --w: 382; --h: 188; clip-path: polygon(0 29%, 100% 0, 100% 100%, 0 37%);
  background: linear-gradient(90deg, rgba(234,251,255,.5), rgba(234,251,255,.12) 50%, rgba(234,251,255,0)); opacity: .45; }
.hc-trail { --x: -460; --y: 168; --w: 500; --h: 10; border-radius: 10px; transform-origin: 100% 50%;
  background: linear-gradient(270deg, rgba(255,59,48,.85), rgba(255,59,48,.25) 40%, rgba(255,59,48,0)); opacity: 0; will-change: opacity, transform; }
.hc-head { --x: 888; --y: 156; --w: 92; --h: 32; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(207,246,255,.35) 45%, rgba(207,246,255,0)); opacity: .7; }
.hc-tail { --x: 30; --y: 160; --w: 88; --h: 28; background: radial-gradient(closest-side, rgba(255,74,61,.95), rgba(255,42,31,.4) 50%, rgba(255,42,31,0)); opacity: .35; }
.hc-brake { --x: -8; --y: 148; --w: 160; --h: 56; background: radial-gradient(closest-side, rgba(255,74,61,.95), rgba(255,42,31,.45) 45%, rgba(255,42,31,0)); opacity: 0; }
.hc-ind { --w: 40; --h: 26; background: radial-gradient(closest-side, rgba(255,190,70,1), rgba(255,160,40,.45) 50%, rgba(255,160,40,0)); opacity: 0; }
.hc-ind-f { --x: 936; --y: 176; }
.hc-ind-r { --x: 32; --y: 172; }
.hc-flame { --x: 2; --y: 230; --w: 66; --h: 18; background: radial-gradient(farthest-side at 100% 50%, #FFF6D0, #FFB13B 30%, rgba(255,90,31,.7) 65%, rgba(255,59,31,0)); border-radius: 50%; opacity: 0; }
/* odsjaj okoline koji klizi preko karoserije dok auto vozi */
.hc-sweep { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: url(../img/car-mask.svg) 0 0 / 100% 100% no-repeat; mask: url(../img/car-mask.svg) 0 0 / 100% 100% no-repeat; }
.hc-sweep i { position: absolute; top: 0; bottom: 0; left: 0; width: 22%; will-change: transform;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.16) 45%, rgba(255,255,255,.05) 55%, rgba(255,255,255,0)); transform: translateX(-200%); }
/* točkovi */
.hc-w { position: absolute; top: 40.476%; width: 14.8%; height: 35.238%; }
.hc-w1 { left: 16.4%; }
.hc-w2 { left: 70.2%; }
.hc-w > svg, .hc-rot, .hc-rot svg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.hc-rot { will-change: transform; }
.hc-hot { position: absolute; inset: 19.6%; border-radius: 50%; opacity: 0; will-change: opacity;
  background: radial-gradient(closest-side, rgba(255,120,40,0) 40%, rgba(255,110,30,.85) 80%, rgba(255,80,20,0)); }
.hc-wb { position: absolute; inset: 12%; border-radius: 50%; opacity: 0; will-change: opacity;
  background: radial-gradient(closest-side, rgba(154,164,163,0) 25%, rgba(142,152,151,.7) 50%, rgba(94,104,102,.9) 88%, rgba(46,53,52,.9)); }
/* položaj parkiranja: auto stane ranije (ne ide skroz desno) i cijeli je vidljiv */
.hero-car { right: 5vw; width: min(52vw, 940px); bottom: 3%; }
@media (min-width: 1200px) { .hero-car { right: 6vw; width: min(50vw, 960px); } }
@media (max-width: 899px) { .hero-car { right: 3vw; width: 94vw; bottom: 12px; } }
.hero-car::after { display: none; }
@media (prefers-reduced-motion: reduce) { .hc-smoke, .hc-trail { display: none; } }

/* parkiranje: žmigavci trepnu dva puta, farovi bljesnu, odsjaj pređe preko auta */
.hero-car.is-parked .hc-ind { animation: hc-blink 1.1s steps(1, end) .15s 1 backwards; }
@keyframes hc-blink { 0% { opacity: 1; } 25% { opacity: 0; } 50% { opacity: 1; } 75%, 100% { opacity: 0; } }
.hero-car.is-parked .hc-head { animation: hc-flash .9s ease-out .15s 1 backwards; }
@keyframes hc-flash { 0% { opacity: .7; } 20% { opacity: 1; } 100% { opacity: .7; } }
.hero-car.is-parked .hc-sweep i { animation: hc-shine 1.6s cubic-bezier(.4,0,.2,1) .5s 1 backwards; }
@keyframes hc-shine { from { transform: translateX(-120%); } to { transform: translateX(470%); } }

/* kamera: pozadina iza vjetrobrana je zaseban, sporiji sloj */
.cc-bgl { position: absolute; inset: 0; will-change: transform; }
.cc-bgl svg { width: 100%; height: 100%; display: block; }
.cc-scene svg { display: block; }

/* ================= USLUGE: pregledniji nazivi (iste veličine kartica) ================= */
.cw-body { padding: 16px 16px 14px; gap: 6px; }
.cw-body strong { font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.cw-body small { font-size: 13.5px; line-height: 1.5; color: #9AA6A4; }
.cw-foot { margin-top: 10px; }
.ex-body { gap: 10px; padding: 14px 16px 14px; }
.ex-body strong { font-size: 15.5px; line-height: 1.35; font-weight: 700; letter-spacing: -0.005em; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ex-more { padding-top: 10px; border-top: 1px solid var(--line); width: 100%; font-size: 13px; }
@media (max-width: 560px) {
  .cw-body { padding: 13px 12px 12px; }
  .cw-body strong { font-size: 15px; line-height: 1.28; }
  .ex-body { padding: 11px 12px 12px; gap: 8px; }
  .ex-body strong { font-size: 14px; line-height: 1.32; }
  .ex-more { padding-top: 8px; font-size: 12.5px; }
}
@media (min-width: 1200px) {
  .cw-body { padding: 20px 20px 18px; }
  .cw-body strong { font-size: 20px; }
  .cw-body small { font-size: 14.5px; }
  .ex-body { padding: 16px 18px 16px; }
  .ex-body strong { font-size: 16.5px; }
}

/* 3D vodič na platnu */
.guide-map { position: absolute; inset: 0; transform: none !important; will-change: auto; width: auto !important; height: auto !important; }
.gm-cv { position: absolute; left: 0; top: 0; display: block; will-change: transform; }

/* ================= PERFORMANSE v2 ================= */
.hero.is-off *, .hero.is-off *::before, .hero.is-off *::after, .brands.is-off *, .brands.is-off::before, .brands.is-off::after { animation-play-state: paused !important; }
/* dok je otvoren prozor preko cijelog ekrana, pozadina iza ne animira */
html:has(.cc.is-open) .bg-fx, html:has(dialog[open]) .bg-fx { visibility: hidden; }
html:has(.cc.is-open) .brands-track, html:has(dialog[open]) .brands-track,
html:has(.cc.is-open) .hero *, html:has(dialog[open]) .hero * { animation-play-state: paused !important; }
/* slike: glatko dekodiranje i bez pomjeranja rasporeda */
.g-item img, .wa-img img { content-visibility: auto; }
