/* NETOM: skupni slogi.
   Barve: bela, črna, rdeča (iz logotipa). Oblike: gumbi in polja 10px, kartice 18px.
   Naslovi v razširjeni Archivo (širina kot v logotipu), besedilo v običajni širini. */
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/vendor/archivo/archivo-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/vendor/archivo/archivo-latin-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #f3f2ef;
  --ink: #141414;
  --ink-2: #3c3d40;
  --muted: #64666b;
  --line: #e8e6e1;
  --line-2: #d6d3cc;
  --accent: #e42928;
  --accent-btn: #e42928;
  --accent-ink: #d01f1e;
  --accent-soft: #fdecec;
  --brand-grey: #505256;
  --warn: #c62221;
  --warn-soft: #fdecec;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgb(20 20 20 / .05), 0 2px 10px rgb(20 20 20 / .05);
  --shadow: 0 1px 2px rgb(20 20 20 / .05), 0 12px 32px rgb(20 20 20 / .08);
  --shadow-lg: 0 2px 6px rgb(20 20 20 / .05), 0 28px 70px rgb(20 20 20 / .12);
  --font: 'Archivo Variable', 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wide: 116%;
  --nav-h: 70px;
  --wrap: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --z-stage: 1;
  --z-overlay: 5;
  --z-nav: 50;
  --z-modal: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; font-stretch: var(--wide); letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }
section[id], form[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
.story { scroll-margin-top: 0 !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.18em; }
:focus-visible { outline: 3px solid #f08a89; outline-offset: 3px; border-radius: 6px; }
.em { color: var(--accent-ink); }
::selection { background: var(--accent); color: #fff; }

/* ---------- logotip (risan iz geometrije, kot v izvirniku) ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo svg { height: 22px; width: auto; }
.logo .lg-l { fill: #141414; }
.logo .lg-o { fill: none; stroke: var(--accent); stroke-width: 18; }
.logo .lg-h { fill: var(--accent); }

/* ---------- navigacija ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgb(255 255 255 / .82);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in { width: min(var(--wrap), 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav__links a {
  display: block; padding: 8px 14px; border-radius: 8px; text-decoration: none;
  font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s;
}
.nav__links a:hover { background: var(--surface-2); color: var(--ink); }
.nav__cta { margin-left: 8px; }
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 520px) {
  :root { --nav-h: 62px; }
  .logo svg { height: 19px; }
  .nav__cta .btn__long { display: none; }
}

/* ---------- gumbi ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #ffffff; --b-ring: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius-sm);
  background: var(--b-bg); color: var(--b-fg); box-shadow: inset 0 0 0 1.5px var(--b-ring);
  font-weight: 650; font-size: 16px; letter-spacing: 0; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn:hover { background: #2a2a2b; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--accent { --b-bg: var(--accent-btn); --b-fg: #fff; box-shadow: 0 8px 22px rgb(228 41 40 / .25); }
.btn--accent:hover { background: #c91f1e; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-ring: var(--line-2); }
.btn--ghost:hover { background: var(--surface-2); --b-ring: var(--ink); }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 18px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn .i { width: 20px; height: 20px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- obrazci ---------- */
.field { display: grid; gap: 8px; }
.field > label, .field > .label { font-weight: 650; color: var(--ink); font-size: 16px; }
.field .help { font-size: 14.5px; color: var(--muted); }
.field .err { font-size: 14.5px; color: var(--warn); font-weight: 600; display: none; }
.field.is-bad .err { display: block; }
.field.is-bad .input, .field.is-bad .chips { box-shadow: inset 0 0 0 2px var(--warn); }
.input {
  width: 100%; min-height: 54px; padding: 12px 16px; border: 0; border-radius: var(--radius-sm);
  background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 17px; color: var(--ink);
  transition: box-shadow .15s;
}
.input::placeholder { color: #7a7c81; }
.input:hover { box-shadow: inset 0 0 0 1.5px #a9a6a0; }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%233c3d40' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
select.input option { background: #fff; color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15.5px; line-height: 1.5; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--accent); flex: none; margin-top: 1px; }
.check a { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border-radius: var(--radius-sm); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 18px;
  border-radius: var(--radius-sm); background: #ffffff; box-shadow: inset 0 0 0 1.5px var(--line-2);
  font-weight: 600; color: var(--ink); transition: background .15s, box-shadow .15s, color .15s;
}
.chip input:hover + span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip input:checked + span { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 3px solid #f08a89; outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- vprašanja (harmonika) ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 650; color: var(--ink); font-size: 18px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  border-radius: 6px; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23e42928' d='M228 128a12 12 0 0 1-12 12h-76v76a12 12 0 0 1-24 0v-76H40a12 12 0 0 1 0-24h76V40a12 12 0 0 1 24 0v76h76a12 12 0 0 1 12 12Z'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--ink-2); max-width: 70ch; }
.faq details > div a { color: var(--ink); }

/* ---------- noga ---------- */
.foot { padding: 64px 0 40px; background: var(--bg-2); color: var(--ink-2); font-size: 15.5px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-stretch: 100%; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot__small { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- prihod ob drsenju ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- 3D oznake (skupno) ---------- */
.pins { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: var(--z-overlay); }
.pin { position: absolute; left: 0; top: 0; will-change: transform; }
.pin__in {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px;
  background: #ffffff; box-shadow: 0 1px 2px rgb(20 20 20 / .08), 0 10px 26px rgb(20 20 20 / .12);
  font-size: 13.5px; white-space: nowrap; color: var(--ink-2); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(8px) scale(.92); transition: opacity .35s var(--ease), transform .45s var(--ease), background .3s;
  position: relative;
}
.pin__in::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.pin.is-on .pin__in { opacity: 1; transform: none; }
.pin b { font-weight: 750; color: var(--ink); }
