/* =========================================================
   Skarabej – barvna shema in teme
   ========================================================= */
:root {
  /* barve znamke (enake v obeh temah) */
  --navy: #132c46;
  --navy-deep: #0e2237;
  --navy-darker: #0a1a2b;
  --orange: #f0874f;
  --steel: #6aa6c8;

  /* svetla tema (privzeto) */
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f9fc;
  --ink: #132c46;                 /* naslovi */
  --text: #425466;                /* besedilo */
  --muted: #697386;
  --border: #e3e8ee;
  --border-soft: #eff3f8;
  --mreza: rgba(66, 71, 112, 0.09);
  --accent-o: #c25418;            /* oranžna za besedilo na beli */
  --accent-s: #2f6f93;            /* modra za besedilo na beli */
  --header-bg: rgba(255, 255, 255, 0.72);
  --band: #132c46;
  --hero-glow: 1;
  --map-filter: none;
  --shadow-sm: 0 2px 5px -1px rgba(50, 50, 93, 0.1), 0 1px 3px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 13px 27px -5px rgba(50, 50, 93, 0.18), 0 8px 16px -8px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 50px 100px -20px rgba(50, 50, 93, 0.22), 0 30px 60px -30px rgba(0, 0, 0, 0.28);
  --i-sun: none;
  --i-moon: block;
  color-scheme: light;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --radius: 10px;
  --rob: 26px;
  --section-y: clamp(66px, 8.4vw, 124px);
  --head-gap: clamp(30px, 3.4vw, 48px);
  --header-h: 68px;
}

/* temna tema – sledi sistemu, razen če uporabnik izbere svetlo */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #132c46;
    --surface: #173250;
    --surface-2: #0e2237;
    --ink: #ffffff;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --border: rgba(255, 255, 255, 0.12);
    --border-soft: rgba(255, 255, 255, 0.06);
    --mreza: rgba(255, 255, 255, 0.05);
    --accent-o: #f0874f;
    --accent-s: #6aa6c8;
    --header-bg: rgba(19, 44, 70, 0.78);
    --band: #0a1a2b;
    --hero-glow: 0.55;
    --map-filter: invert(0.9) hue-rotate(180deg) saturate(0.7) brightness(0.95) contrast(0.92);
    --shadow-sm: 0 2px 5px -1px rgba(0, 0, 0, 0.3), 0 1px 3px -1px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 13px 27px -5px rgba(0, 0, 0, 0.45), 0 8px 16px -8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 50px 100px -20px rgba(0, 0, 0, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    --i-sun: block;
    --i-moon: none;
    color-scheme: dark;
  }
}
/* temna tema – izbrana ročno */
:root[data-theme="dark"] {
  --paper: #132c46;
  --surface: #173250;
  --surface-2: #0e2237;
  --ink: #ffffff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.06);
  --mreza: rgba(255, 255, 255, 0.05);
  --accent-o: #f0874f;
  --accent-s: #6aa6c8;
  --header-bg: rgba(19, 44, 70, 0.78);
  --band: #0a1a2b;
  --hero-glow: 0.55;
  --map-filter: invert(0.9) hue-rotate(180deg) saturate(0.7) brightness(0.95) contrast(0.92);
  --shadow-sm: 0 2px 5px -1px rgba(0, 0, 0, 0.3), 0 1px 3px -1px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 13px 27px -5px rgba(0, 0, 0, 0.45), 0 8px 16px -8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 50px 100px -20px rgba(0, 0, 0, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --i-sun: block;
  --i-moon: none;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

/* navpične vodilne črte čez celo stran */
body::before {
  content: "";
  position: fixed;
  top: 0; bottom: 0; left: 50%;
  z-index: 0;
  width: calc(min(1140px, 100vw) - 2 * var(--rob));
  transform: translateX(-50%);
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, var(--mreza) 0 1px, transparent 1px calc(100% / 3)),
    linear-gradient(90deg, transparent calc(100% - 1px), var(--mreza) calc(100% - 1px));
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; }
h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
}
h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
p { margin: 0; }

.wrap {
  position: relative;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--rob);
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--navy-deep);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.kicker {
  margin-bottom: 14px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--accent, var(--accent-o));
}

.lead { font-size: 1.125rem; line-height: 1.56; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--accent, var(--accent-o));
  background: color-mix(in srgb, var(--accent-fill, var(--orange)) 14%, transparent);
}

.ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  color: var(--accent, var(--accent-o));
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--accent-fill, var(--orange)) 14%, transparent),
    color-mix(in srgb, var(--accent-fill, var(--orange)) 26%, transparent));
}
.ico svg,
.hero-note svg,
.theme-toggle svg,
.hv-badge svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- gumbi ---------- */
.btn {
  --btn-bg: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--navy-deep);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn span[aria-hidden] { transition: transform 0.2s; }
.btn:hover span[aria-hidden] { transform: translateX(2px); }
.btn-steel { --btn-bg: var(--steel); }
.btn-ghost {
  --btn-bg: var(--surface-2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border);
}
.btn-ghost:hover { filter: none; box-shadow: inset 0 0 0 1px var(--muted); }
.btn-sm { padding: 9px 17px; font-size: 0.9rem; }

/* =========================================================
   GLAVA
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--border-soft); box-shadow: var(--shadow-sm); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  flex: none;
  width: 26px; height: 26px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange) 0 3.5px, transparent 4px);
}
.brand-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  position: relative;
  padding: 4px 0;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--link-accent, var(--ink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a[data-accent="steel"] { --link-accent: var(--steel); }
.nav-links a[data-accent="orange"] { --link-accent: var(--orange); }
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-tel {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav-tel:hover { color: var(--accent-o); }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.theme-toggle:hover { border-color: var(--muted); background: var(--surface-2); }
.theme-toggle .i-sun { display: var(--i-sun); }
.theme-toggle .i-moon { display: var(--i-moon); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   UVOD
   ========================================================= */
.hero {
  position: relative;
  padding: 104px 0 112px;
  overflow: hidden;
}
/* mreža kvadratkov zgoraj desno */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(75% 80% at 78% 8%, #000 0%, transparent 72%);
          mask-image: radial-gradient(75% 80% at 78% 8%, #000 0%, transparent 72%);
}
/* poševni barvni pas */
.hero::after {
  content: "";
  position: absolute;
  inset: -1px 0 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--hero-glow);
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 84% 100%);
  background: linear-gradient(104deg,
    rgba(19, 44, 70, 0.16) 0%,
    rgba(30, 74, 98, 0.30) 16%,
    rgba(106, 166, 200, 0.36) 34%,
    rgba(240, 135, 79, 0.40) 56%,
    rgba(240, 160, 100, 0.34) 74%,
    rgba(246, 214, 170, 0.26) 90%,
    rgba(250, 234, 210, 0.16) 100%);
}
.hero .wrap { z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  background-image: linear-gradient(90deg, var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-size: 100% 4px;
  background-position: 0 94%;
  padding-bottom: 2px;
}
.hero .lead { max-width: 520px; color: var(--text); margin-bottom: 14px; }
.hero-sub { max-width: 500px; color: var(--muted); font-size: 0.96rem; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}
.hero-note svg { width: 16px; height: 16px; color: #2e7b45; }

/* desna stran: kartici obeh dejavnosti */
.hero-visual {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 26px 0 0 0;
}
.hv-card {
  --accent: var(--accent-o);
  --accent-fill: var(--orange);
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px 20px 16px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-soft);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-fill);
}
.hv-card--steel { --accent: var(--accent-s); --accent-fill: var(--steel); width: 88%; }
.hv-card--orange { width: 88%; margin-left: 12%; }
.hv-card:hover { transform: translateY(-4px); }

.hv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hv-title { font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.hv-list { display: grid; border-top: 1px solid var(--border-soft); }
.hv-list > span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-soft);
}
.hv-list i {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 6px;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--navy-deep);
  background: var(--accent-fill);
}
.hv-foot { font-size: 0.86rem; font-weight: 600; color: var(--accent); }

.hv-badge {
  position: absolute;
  top: 128px; right: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border-soft);
  font-size: 0.8rem;
  color: var(--muted);
}
.hv-badge strong { display: block; color: var(--ink); font-size: 0.9rem; }
.hv-badge small { font-size: 0.78rem; }
.hv-badge-ico {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  color: var(--accent-o);
  background: color-mix(in srgb, var(--orange) 16%, transparent);
}

/* =========================================================
   PASOVI IN SEKCIJE
   ========================================================= */
.sekcija { position: relative; padding: var(--section-y) 0; }
.pas {
  --line-c: var(--mreza);
  position: relative;
  padding: var(--section-y) 0;
  background: var(--surface-2);
}
/* vodilne črte tudi čez obarvane pasove */
.pas::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: calc(min(1140px, 100vw) - 2 * var(--rob));
  transform: translateX(-50%);
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, var(--line-c) 0 1px, transparent 1px calc(100% / 3)),
    linear-gradient(90deg, transparent calc(100% - 1px), var(--line-c) calc(100% - 1px));
}

.sec--steel { --accent: var(--accent-s); --accent-fill: var(--steel); }
.sec--orange { --accent: var(--accent-o); --accent-fill: var(--orange); }

.sec-head { max-width: 600px; margin-bottom: var(--head-gap); }
.sec-head h2 { margin-bottom: 16px; }
.sec-head--wide {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 56px;
  align-items: end;
}
.sec-head--wide h2 { margin-bottom: 0; }

/* zakaj skarabej */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 56px;
  align-items: end;
  margin-bottom: 56px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
.stats > div {
  padding-left: 18px;
  border-left: 2px solid var(--orange);
}
.stats > div:first-child { border-left-color: var(--steel); }
.stats dt {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stats dd { margin: 2px 0 0; font-size: 0.92rem; color: var(--muted); }

/* logistika: besedilo + plošča */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr);
  gap: 64px;
  align-items: start;
}
.feat { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.feat li { display: flex; gap: 16px; }
.feat h3 { margin-bottom: 4px; }
.feat p { color: var(--text); font-size: 0.97rem; }

.panel {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  padding: 22px 24px 24px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-soft);
}
.panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: var(--accent-fill);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }
.panel-rows { margin: 0 0 20px; border-top: 1px solid var(--border-soft); }
.panel-rows > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.93rem;
}
.panel-rows dt { font-weight: 600; color: var(--ink); }
.panel-rows dd { margin: 0; color: var(--muted); }
.panel-foot { display: grid; gap: 10px; justify-items: start; }
.panel-foot small { font-size: 0.82rem; color: var(--muted); }

/* temni poševni pas */
.pas.temno {
  --ink: #ffffff;
  --line-c: rgba(255, 255, 255, 0.08);
  --accent: var(--steel);
  background: var(--band);
  color: rgba(255, 255, 255, 0.78);
}
.pas.posevno {
  clip-path: polygon(0 3.4vw, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--section-y) + 3.4vw);
}
.pas.temno .lead { color: rgba(255, 255, 255, 0.78); }

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li { position: relative; padding-top: 22px; }
.steps li::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--orange);
}
.step-num {
  display: block;
  margin-bottom: 14px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.32);
}
.steps h3 {
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 3px solid var(--steel);
  line-height: 1.25;
}
.steps p { font-size: 0.95rem; }

/* avto nega: kartice */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--border-soft);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-fill), color-mix(in srgb, var(--accent-fill) 55%, #f6d6aa));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.card:hover { box-shadow: var(--shadow-md), 0 0 0 1px var(--border-soft); transform: translateY(-3px); }
.card:hover::before { transform: scaleX(1); }
.card .ico { margin-bottom: 16px; }
.card h3 { margin-bottom: 6px; }
.card p { font-size: 0.95rem; color: var(--text); }

.promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.promises li { padding-top: 18px; border-top: 2px solid var(--border); position: relative; }
.promises li::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 28px; height: 2px;
  background: var(--orange);
}
.promises h3 { margin-bottom: 6px; }
.promises p { font-size: 0.95rem; color: var(--muted); }

/* poziv */
.final { overflow: hidden; }
.final::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(var(--hero-glow) * 0.5);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 88% 100%);
  background: linear-gradient(104deg, rgba(106, 166, 200, 0.4), rgba(240, 135, 79, 0.4), rgba(246, 214, 170, 0.3));
}
.final-inner {
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
}
.final-inner > div:first-child { max-width: 560px; }
.final h2 { margin-bottom: 14px; }
.final .lead { margin-bottom: 18px; }
.final-contact { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.final-contact a { text-decoration: none; }
.final-contact a:hover { color: var(--accent-o); }
.final-cta { display: flex; flex-direction: column; gap: 12px; }

/* =========================================================
   LOKACIJA
   ========================================================= */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: stretch;
}
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding: 28px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border-soft);
  font-style: normal;
}
.contact-list { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; width: 100%; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list > li > div { color: var(--ink); font-weight: 500; }
.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent-o); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; margin: 2px 0 0; }
.hours dt { color: var(--text); font-weight: 400; }
.hours dd { margin: 0; color: var(--ink); font-weight: 600; }

.map-wrap {
  position: relative;
  min-height: 440px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border-soft);
}
.map {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: var(--map-filter);
}

/* =========================================================
   NOGA
   ========================================================= */
.site-footer {
  position: relative;
  padding: 64px 0 32px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}
.site-footer .brand-text { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid > div { display: flex; flex-direction: column; gap: 6px; }
.footer-grid p { margin-top: 12px; line-height: 1.7; }
.footer-grid h4 {
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--orange); }
.footer-copy { padding-top: 24px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- animacija ob drsenju (samo, če JS teče) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   ODZIVNOST
   ========================================================= */
@media (max-width: 1040px) {
  .nav { gap: 28px; }
  .nav-tel { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .panel { position: relative; top: 0; max-width: 560px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --rob: 20px; }
  body::before {
    background-image:
      linear-gradient(90deg, var(--mreza) 0 1px, transparent 1px),
      linear-gradient(90deg, transparent calc(100% - 1px), var(--mreza) calc(100% - 1px));
  }
  .pas::before {
    background-image:
      linear-gradient(90deg, var(--line-c) 0 1px, transparent 1px),
      linear-gradient(90deg, transparent calc(100% - 1px), var(--line-c) calc(100% - 1px));
  }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--rob) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--border-soft); }
  .nav-links a::after { bottom: 8px; right: auto; width: 28px; }

  .hero::after { clip-path: polygon(0 36%, 100% 0, 100% 100%, 0 100%); opacity: calc(var(--hero-glow) * 0.38); }
  .intro-grid,
  .sec-head--wide { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --section-y: 56px; --head-gap: 28px; --header-h: 60px; }
  body { font-size: 16.5px; }
  .nav-right { gap: 10px; }
  .nav-right .btn-sm { display: none; }

  .hero { padding: 48px 0 64px; }
  .hero-grid { gap: 28px; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { padding-top: 40px; }
  .hv-card--steel,
  .hv-card--orange { width: 100%; margin-left: 0; }
  .hv-badge { position: relative; top: auto; right: auto; justify-self: start; order: -1; }

  .stats { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .grid3 { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .final-cta { width: 100%; }
  .final-cta .btn { width: 100%; }
  .panel-rows > div { grid-template-columns: 76px 1fr; }
  .contact-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
