/* ==========================================================================
   Techno Bug — prodajna podstran /spletno-mesto/prodaja.html (SL) in /spletno-mesto/prodaja-en.html (EN)

   Barve in pisava sledijo glavni strani (css/main.css):
   ozadje #0a0a0a, modra #4a9eff → #0066cc, rumena #ffd100 (Techno Bug),
   sistemska pisava. Brez zunanjih pisav in knjižnic.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #0a0a0a;
  --bg-soft: #0e1013;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --line: #262626;
  --line-strong: #353535;
  --text: #e4e4e4;
  --text-strong: #ffffff;
  --muted: #a6a6a6;

  --blue: #4a9eff;
  --blue-rgb: 74 158 255;
  --blue-600: #1c6fd8;
  --blue-700: #0a58c2;
  --yellow: #ffd100;
  --yellow-rgb: 255 209 0;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.25rem;
  --section-y: clamp(4.5rem, 9vw, 7rem);
  --radius-lg: 1.25rem;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Osnova ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Fiksna glava ne prekrije cilja ob skoku na sidro ali fokusu s tipkovnico */
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-strong);
  font-weight: 750;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

::selection {
  background: rgb(var(--blue-rgb) / .35);
  color: #fff;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: .75rem;
  left: var(--gutter);
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--yellow);
  color: #0a0a0a;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

/* ---------- Gumbi ---------- */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .3s var(--ease-out),
    box-shadow .3s var(--ease-out),
    background-color .25s,
    border-color .25s,
    color .25s;
}

.btn:active {
  transform: scale(.98);
}

.btn .icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  transition: transform .35s var(--ease-out);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .18),
    0 12px 32px -14px rgb(var(--blue-rgb) / .7);
}

/* Svetlobni preblisk ob prehodu z miško */
.btn-primary::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .24) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .2),
    0 18px 40px -14px rgb(var(--blue-rgb) / .85);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-ghost {
  color: var(--text-strong);
  background: rgb(255 255 255 / .03);
  border-color: rgb(255 255 255 / .18);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgb(var(--blue-rgb) / .1);
  border-color: rgb(var(--blue-rgb) / .7);
}

.btn:hover .icon-down {
  transform: translateY(3px);
}

.btn-sm {
  min-height: 2.5rem;
  padding: 0 1.15rem;
  font-size: .9375rem;
}

.btn-lg {
  min-height: 3.5rem;
  padding: 0 2rem;
  font-size: 1.0625rem;
}

/* ---------- Glava ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgb(10 10 10 / .84);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--yellow);
  font-size: 1.1875rem;
  font-weight: 750;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: auto;
  height: 1.75rem;
}

.main-nav {
  display: none;
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: .25rem;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 550;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}

.main-nav a:hover {
  color: var(--text-strong);
  background: rgb(255 255 255 / .06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.header-cta {
  display: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.lang-switch a,
.lang-switch .is-current {
  display: inline-grid;
  place-items: center;
  min-width: 2.6rem;
  height: 2.25rem;
  padding: 0 .65rem;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}

.lang-switch a {
  color: var(--muted);
  transition: color .2s, background-color .2s;
}

.lang-switch a:hover {
  color: var(--text-strong);
  background: rgb(255 255 255 / .07);
}

.lang-switch .is-current {
  color: #06111f;
  background: var(--blue);
}

.menu-toggle {
  display: none;
}

.js .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text-strong);
  cursor: pointer;
}

.menu-toggle-bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out), opacity .2s;
}

.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 5px; }
.menu-toggle-bars span:nth-child(3) { top: 10px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: .25rem var(--gutter) 1.5rem;
  background: rgb(10 10 10 / .97);
  border-bottom: 1px solid var(--line);
}

.mobile-menu:not([hidden]) {
  animation: menu-in .3s var(--ease-out);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-strong);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1.25rem;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (min-width: 900px) {
  .main-nav {
    display: block;
  }

  .header-actions {
    margin-left: .75rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .js .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Uvodna sekcija: naše rešitve ---------- */

.opening {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.75rem, 8vh, 5.5rem));
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

/* Opazovana točka: ko jo stran preseže, glava dobi ozadje */
.header-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 3rem;
  pointer-events: none;
}

/* Modri sij */
.opening::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30rem;
  right: -25%;
  width: min(72rem, 130vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(var(--blue-rgb) / .16), rgb(var(--blue-rgb) / .05) 45%, transparent 72%);
  pointer-events: none;
}

/* Fina mreža */
.opening::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 46rem;
  background-image:
    linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 75% 0%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 70% at 75% 0%, #000 10%, transparent 72%);
  pointer-events: none;
}

.page-title {
  font-size: clamp(2.375rem, 1.35rem + 4.3vw, 4.75rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.page-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 1.5rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-700));
}

.section-head.opening-head {
  max-width: none;
}

.opening-intro {
  max-width: 42rem;
  color: #c4c4c4;
  font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem);
  line-height: 1.55;
}

@keyframes rise {
  from {
    opacity: .01;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Nežen prikaz naslova ob nalaganju */
.page-title .h-line,
.opening-intro {
  animation: rise 1s var(--ease-out) both;
}

.page-title .h-line:nth-child(2) { animation-delay: .1s; }
.page-title .h-line:nth-child(3) { animation-delay: .2s; }
.opening-intro { animation-delay: .32s; }

/* Pas z avtomobilom: cesta skozi vezje, skozi platformo do oznake »prodano« */
.car-band {
  position: relative;
  height: clamp(180px, 21vw, 290px);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.car-band svg {
  width: 100%;
  height: 100%;
}

.cb .grid { fill: rgb(255 255 255 / .06); }

.cb .tr,
.cb .road {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: cb-draw 1.3s var(--ease-out) forwards;
}

.cb .tr {
  stroke: rgb(var(--blue-rgb) / .38);
  stroke-width: 1.5;
}

.cb .road {
  stroke: rgb(var(--blue-rgb) / .17);
  stroke-width: 11;
}

.cb .r2 { stroke-width: 9; animation-delay: .25s; }
.cb .t1 { animation-delay: .1s; }
.cb .t2 { animation-delay: .2s; }
.cb .t3 { animation-delay: .9s; }
.cb .t4 { animation-delay: 1s; }

.cb .road-line {
  fill: none;
  stroke: rgb(255 255 255 / .3);
  stroke-width: 1.2;
  animation: cb-fade .8s ease-out 1.1s both;
}

.cb .ideas { animation: cb-fade .8s ease-out both; }
.cb .idea { fill: rgb(255 255 255 / .5); }

.cb .chip { animation: cb-fade 1s var(--ease-out) .6s both; }
.cb .chip-body { fill: #0c1420; stroke: rgb(var(--blue-rgb) / .8); stroke-width: 1.5; }
.cb .chip-dot { fill: rgb(255 255 255 / .3); }
.cb .chip-car { fill: rgb(var(--blue-rgb) / .9); }
.cb .chip-wheel { fill: #0c1420; stroke: rgb(var(--blue-rgb) / .9); stroke-width: 1.5; }
.cb .chip-bar { fill: rgb(255 255 255 / .55); }
.cb .chip-line { fill: rgb(255 255 255 / .22); }
.cb .chip-line-2 { fill: rgb(255 255 255 / .13); }
.cb .chip-btn { fill: var(--yellow); }
.cb .chip-flash { fill: none; stroke-width: 2; }
.cb .chip-flash.t-yellow { stroke: var(--yellow); }
.cb .chip-flash.t-blue { stroke: #9ccaff; }
.cb .pad { fill: var(--bg); stroke: rgb(var(--blue-rgb) / .8); stroke-width: 1.25; }

.cb .nodes { animation: cb-fade .8s ease-out 1.4s both; }
.cb .node { fill: var(--bg); stroke: rgb(var(--blue-rgb) / .9); stroke-width: 1.5; }
.cb .node-on-yellow { fill: var(--yellow); }
.cb .node-on-blue { fill: var(--blue); }
.cb .node-check { fill: none; stroke: #0a0a0a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.cb .trail { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.cb .trail.t-yellow { stroke: rgb(var(--yellow-rgb) / .7); }
.cb .trail.t-blue { stroke: rgb(var(--blue-rgb) / .75); }

.cb .car-beam { fill: url(#cb-beam); }
.cb .car-body.car-yellow { fill: var(--yellow); }
.cb .car-roof.car-yellow { fill: #e0b400; }
.cb .car-body.car-white { fill: #e9eef6; }
.cb .car-roof.car-white { fill: #b9cbe3; }
.cb .car-glass { fill: #0b1422; }
.cb .car-head { fill: #fffbe6; }
.cb .car-tail { fill: #ff4d4d; }

.cb .cb-static { display: none; }

@keyframes cb-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes cb-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Naslovi sekcij ---------- */

.section-title {
  font-size: clamp(2rem, 1.3rem + 2.7vw, 3.375rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
}

.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 1.25rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-700));
}

.h-line {
  display: block;
}

.section-head {
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
}

.section-intro {
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
}

/* ---------- Rešitve in projekti ---------- */

.cards {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  list-style: none;
}

.cards > li {
  display: flex;
}

@media (min-width: 800px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  --accent: var(--blue);
  --accent-rgb: var(--blue-rgb);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #151515, #111 70%);
  transition:
    transform .5s var(--ease-out),
    border-color .35s,
    box-shadow .5s var(--ease-out);
}

/* Svetlobni madež, ki sledi kazalcu (nastavi js/prodaja.js) */
.card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(28rem circle at var(--mx, 50%) var(--my, 0%), rgb(var(--accent-rgb) / .1), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgb(var(--accent-rgb) / .45);
  box-shadow: 0 32px 64px -32px rgb(var(--accent-rgb) / .5);
}

.card:hover::before {
  opacity: 1;
}

/* Fokus s tipkovnico obkroži celotno kartico (klikljivo območje) */
.card:has(.card-cta:focus-visible) {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

@supports selector(:has(*)) {
  .card .card-cta:focus-visible {
    outline: none;
  }
}

.card--tb { --accent: #4a9eff; --accent-rgb: 74 158 255; }
.card--ar { --accent: #a48bff; --accent-rgb: 164 139 255; }
.card--br { --accent: #ff8f4d; --accent-rgb: 255 143 77; }
.card--so { --accent: #14c6cc; --accent-rgb: 20 198 204; }

.card-visual {
  position: relative;
  height: clamp(160px, 16vw, 210px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 130% at 50% 0%, rgb(var(--accent-rgb) / .2), transparent 65%),
    linear-gradient(rgb(255 255 255 / .03) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgb(255 255 255 / .03) 1px, transparent 1px) 0 0 / 22px 22px;
}

.card-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.card-head {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.card-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(var(--accent-rgb) / .38);
  border-radius: .8rem;
  background: rgb(var(--accent-rgb) / .12);
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

/* Mini logotip Techno Bug namesto črke */
.card-mark--logo {
  padding: .3rem;
  background: rgb(255 255 255 / .04);
}

.card-mark--logo img {
  width: auto;
  height: 1.75rem;
}

.card-title {
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.card-kicker {
  margin-top: .15rem;
  color: var(--muted);
  font-size: .875rem;
}

.card-desc {
  margin-top: 1.25rem;
  color: #d0d0d0;
}

.card-benefits {
  display: grid;
  gap: .6rem;
  margin-top: 1.25rem;
  list-style: none;
}

.card-benefits li {
  position: relative;
  padding-left: 1.85rem;
  font-size: .96875rem;
  line-height: 1.5;
}

.card-benefits li::before {
  content: "";
  position: absolute;
  top: .15em;
  left: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgb(var(--accent-rgb) / .16);
}

.card-benefits li::after {
  content: "";
  position: absolute;
  top: calc(.15em + .275rem);
  left: .275rem;
  width: .6rem;
  height: .6rem;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4l2.5 2.5L10 3.3' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4l2.5 2.5L10 3.3' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin-top: auto;
  padding-top: 1.75rem;
}

/* Celotna kartica je klikljiva prek razširjene povezave */
.card-cta {
  position: static;
  min-height: 3rem;
  padding: 0 1.3rem;
  color: var(--text-strong);
  background: rgb(255 255 255 / .03);
  border-color: rgb(255 255 255 / .18);
}

.card-cta::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
}

.card:hover .card-cta {
  background: rgb(var(--accent-rgb) / .12);
  border-color: rgb(var(--accent-rgb) / .65);
}

.card:hover .card-cta .icon-ext {
  transform: translate(2px, -2px);
}

/* Ilustracije na karticah */
.ill .il-frame { fill: rgb(255 255 255 / .03); stroke: rgb(var(--accent-rgb) / .42); stroke-width: 1.25; }
.ill .il-sep { fill: none; stroke: rgb(255 255 255 / .1); }
.ill .il-dot { fill: rgb(255 255 255 / .24); }
.ill .il-accent { fill: var(--accent); }
.ill .il-accent-soft { fill: rgb(var(--accent-rgb) / .45); }
.ill .il-strong { fill: rgb(255 255 255 / .78); }
.ill .il-muted { fill: rgb(255 255 255 / .3); }
.ill .il-dim { fill: rgb(255 255 255 / .15); }
.ill .il-yellow { fill: var(--yellow); }
.ill .il-ink { fill: #0a0a0a; }
.ill .il-paper { fill: #17171d; stroke: rgb(var(--accent-rgb) / .5); stroke-width: 1.25; }
.ill .il-paper-back { fill: rgb(255 255 255 / .025); stroke: rgb(var(--accent-rgb) / .24); stroke-width: 1.25; }
.ill .il-qr { fill: rgb(255 255 255 / .72); }
.ill .il-note { fill: #161311; stroke: rgb(var(--accent-rgb) / .5); stroke-width: 1.25; }
.ill .il-note-back { fill: rgb(255 255 255 / .035); stroke: rgb(255 255 255 / .09); stroke-width: 1; }
.ill .il-tile { fill: rgb(var(--accent-rgb) / .12); stroke: rgb(var(--accent-rgb) / .3); stroke-width: 1; }
.ill .il-tile-strong { fill: rgb(var(--accent-rgb) / .3); stroke: rgb(var(--accent-rgb) / .55); stroke-width: 1; }
.ill .il-icon { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ill .il-icon-fill { fill: var(--accent); }
.ill .il-check { fill: none; stroke: #0a0a0a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ill .il-ping { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; }

.ill .mv,
.ill .il-ping {
  transform-box: fill-box;
  transform-origin: center;
}

.ill .mv {
  transition: transform .7s var(--ease-out);
}

.card:hover .mv-up { transform: translateY(-5px); }
.card:hover .mv-up-2 { transform: translateY(-9px); }
.card:hover .mv-tilt { transform: translate(-6px, -2px) rotate(-3deg); }
.card:hover .mv-drop { transform: translateY(4px); }
.card:hover .mv-s1 { transform: translateY(-6px); transition-delay: 0s; }
.card:hover .mv-s2 { transform: translateY(-6px); transition-delay: .06s; }
.card:hover .mv-s3 { transform: translateY(-6px); transition-delay: .12s; }

.card:hover .il-ping {
  animation: ping 1.4s var(--ease-out) infinite;
}

.card:hover .il-cursor {
  animation: blink 1s steps(1) infinite;
}

@keyframes ping {
  0% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.2); }
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ---------- Kako delamo ---------- */

.steps {
  display: grid;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  list-style: none;
}

.step {
  position: relative;
  padding: 0 0 2.5rem 4.25rem;
}

.step:last-child {
  padding-bottom: 0;
}

.step-num {
  position: absolute;
  z-index: 1;
  top: -.35rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(var(--blue-rgb) / .55);
  border-radius: 50%;
  background: var(--bg);
  color: var(--blue);
  font-weight: 750;
}

.step:last-child .step-num {
  border-color: rgb(var(--yellow-rgb) / .75);
  color: var(--yellow);
}

/* Povezava med koraki */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 2.75rem;
  bottom: .35rem;
  left: calc(1.375rem - 1px);
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgb(var(--blue-rgb) / .6), rgb(var(--blue-rgb) / .25));
  transform-origin: top;
}

.step:nth-child(3)::before {
  background: linear-gradient(180deg, rgb(var(--blue-rgb) / .5), rgb(var(--yellow-rgb) / .6));
}

.step h3 {
  font-size: 1.25rem;
  letter-spacing: -.015em;
  line-height: 1.3;
}

.step p {
  max-width: 26rem;
  margin-top: .4rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }

  .step,
  .step:last-child {
    padding: 4.25rem 0 0;
  }

  .step-num {
    top: 0;
  }

  .step:not(:last-child)::before {
    top: calc(1.375rem - 1px);
    bottom: auto;
    left: 3.5rem;
    right: -1.6rem;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, rgb(var(--blue-rgb) / .6), rgb(var(--blue-rgb) / .25));
    transform-origin: left;
  }

  .step:nth-child(3)::before {
    background: linear-gradient(90deg, rgb(var(--blue-rgb) / .5), rgb(var(--yellow-rgb) / .6));
  }
}

/* ---------- Končni poziv ---------- */

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.25rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem);
  border: 1px solid rgb(var(--blue-rgb) / .22);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(70% 90% at 100% 100%, rgb(10 88 194 / .42), transparent 62%),
    radial-gradient(50% 70% at 0% 0%, rgb(var(--blue-rgb) / .09), transparent 60%),
    #0e1117;
}

.cta-art {
  display: none;
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: min(520px, 50%);
  opacity: .6;
  pointer-events: none;
}

.cta-art .tr-s {
  fill: none;
  stroke: rgb(var(--blue-rgb) / .7);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-art .node {
  fill: #0e1117;
  stroke: rgb(var(--blue-rgb) / .9);
  stroke-width: 1.5;
}

.cta-art .node-on {
  fill: var(--yellow);
}

.cta-title {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.cta-text {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: #c9ccd2;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .cta-art {
    display: block;
  }
}

/* ---------- Noga ---------- */

.site-footer {
  padding-block: clamp(3rem, 7vw, 4.5rem) 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  text-decoration: none;
}

.footer-mark {
  width: auto;
  height: 2.5rem;
}

.footer-wordmark {
  color: var(--yellow);
  font-size: 1.375rem;
  font-weight: 750;
  letter-spacing: -.02em;
}

.footer-desc {
  max-width: 22rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: .9375rem;
}

.footer-title {
  color: var(--text-strong);
  font-size: .9375rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
  margin-top: .6rem;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  color: var(--muted);
  font-size: .9375rem;
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--text-strong);
  text-decoration: underline;
}

.footer-links [aria-current] {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  color: var(--text-strong);
  font-size: .9375rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: #8c8c8c;
  font-size: .875rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* ---------- Prikaz ob drsenju (samo z JavaScriptom) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity .8s var(--ease-out) var(--reveal-delay, 0s),
    transform .8s var(--ease-out) var(--reveal-delay, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.reveal-d1 { --reveal-delay: .08s; }
.reveal-d2 { --reveal-delay: .16s; }
.reveal-d3 { --reveal-delay: .24s; }

.js .steps[data-reveal] .step:not(:last-child)::before {
  transform: scaleY(0);
  transition: transform 1s var(--ease-out);
}

.js .steps[data-reveal].is-in .step:not(:last-child)::before {
  transform: none;
}

.js .steps[data-reveal].is-in .step:nth-child(1)::before { transition-delay: .35s; }
.js .steps[data-reveal].is-in .step:nth-child(2)::before { transition-delay: .65s; }
.js .steps[data-reveal].is-in .step:nth-child(3)::before { transition-delay: .95s; }

@media (min-width: 900px) {
  .js .steps[data-reveal] .step:not(:last-child)::before {
    transform: scaleX(0);
  }
}

/* ---------- Zmanjšano gibanje ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .cb .tr,
  .cb .road {
    animation: none;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .cb .cb-anim {
    display: none;
  }

  .cb .cb-static {
    display: inline;
  }

  .js .steps[data-reveal] .step:not(:last-child)::before {
    transform: none;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }

  .card:hover .mv {
    transform: none;
  }
}
