/* Računalniška asistenca in mreže – javna stran (temna tema).
   Barve in pisave lahko lastnik spremeni v administraciji (Splošno → Videz in pisave); theme_head() v lib/render.php
   prepiše spremenljivke spodaj. Pomen: --cream = ozadje strani, --ink = besedilo, --gold = poudarek, --gold-hi = drugi poudarek. */

:root {
  --gold: #2f9bff;
  --gold-dark: #1f7fe0;
  --gold-hi: #3ddc97;
  --gold-soft: #163663;
  --ink: #eef2f7;
  --ink-soft: #9aa6b5;
  --cream: #0b1f3d;

  --bg: var(--cream);
  --surface: color-mix(in srgb, var(--cream) 88%, #fff 5%);
  --surface-2: color-mix(in srgb, var(--cream) 80%, #fff 9%);
  --white: var(--surface);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --grad: linear-gradient(120deg, var(--gold) 0%, var(--gold-hi) 100%);
  --glow: 0 0 0 1px rgba(47, 155, 255, .25), 0 18px 50px -18px rgba(47, 155, 255, .55);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 40px -24px rgba(0, 0, 0, .8);
  --shadow-hi: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 40px 80px -30px rgba(0, 0, 0, .9);
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .15, 1);
  --head: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --grid-line: rgba(140, 190, 255, .07);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--bg); }
body {
  margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--bg);
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01";
}
/* Rahla mreža čez celo stran (kot tiskano vezje) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(1200px 800px at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(1200px 800px at 50% 0%, #000 30%, transparent 75%);
}
::selection { background: color-mix(in srgb, var(--gold) 45%, transparent); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--gold-hi); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; color: #fff; letter-spacing: -.025em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.03; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; }
h1 span, h2 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; }
strong, b { font-weight: 600; color: #fff; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--ink-soft); }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--gold-soft) 55%, transparent) 18%, color-mix(in srgb, var(--gold-soft) 55%, transparent) 82%, transparent); }
.section--dark { background: #000; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 780px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head .lead { margin-top: 14px; }
.section-head h2 { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; line-height: 1.3;
  padding: 7px 14px 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 10%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-hi) 25%, transparent), 0 0 12px var(--gold-hi); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Dostopnost */
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; opacity: 0 !important; }

/* Gumbi */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: -.005em; padding: .95em 1.6em; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; color: #04111f; background: var(--grad);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 12px 32px -12px color-mix(in srgb, var(--gold) 70%, transparent);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: normal; text-align: center; max-width: 100%; line-height: 1.3;
}
.btn::after {
  content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .45), transparent 45%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.btn:hover { color: #04111f; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 18px 44px -12px color-mix(in srgb, var(--gold) 85%, transparent); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn--ghost, .btn--outline-light { background: rgba(255, 255, 255, .04); color: var(--ink); border-color: var(--line-strong); box-shadow: none; backdrop-filter: blur(8px); }
.btn--ghost:hover, .btn--outline-light:hover { background: rgba(255, 255, 255, .09); color: #fff; border-color: rgba(255, 255, 255, .32); box-shadow: none; }
.btn--light { background: #fff; color: #081a35; box-shadow: 0 12px 30px -14px rgba(255, 255, 255, .5); }
.btn--light:hover { background: #fff; color: #081a35; }
.btn svg { flex: none; }

/* Glava: lebdeča steklena plošča */
.site-header { position: sticky; top: 0; z-index: 60; padding: 14px 0; transition: transform .5s var(--ease), padding .4s var(--ease); }
.site-header .nav {
  background: rgba(12, 32, 64, .55); border: 1px solid var(--line); border-radius: 999px;
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  padding: 0 8px 0 18px; transition: box-shadow .4s, background .4s, border-color .4s;
}
.site-header.is-scrolled { padding: 10px 0; }
.site-header.is-scrolled .nav { background: rgba(10, 28, 58, .82); border-color: var(--line-strong); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .9); }
.site-header.is-hidden { transform: translateY(-115%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; position: relative; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; min-width: 0; }
.brand img { height: 42px; width: auto; transition: transform .4s var(--ease), filter .4s; }
.brand:hover img { transform: scale(1.03); filter: drop-shadow(0 0 14px color-mix(in srgb, var(--gold) 60%, transparent)); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; }
.nav-links a {
  position: relative; display: block; padding: 9px 14px; border-radius: 999px; color: var(--ink-soft); text-decoration: none;
  font-weight: 500; font-size: .95rem; transition: color .3s, background .3s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a[aria-current="page"]::before { content: ""; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--grad); }
.nav-cta { margin-left: 8px; }
.nav-links .nav-cta a.btn { color: #04111f; padding: .7em 1.3em; font-size: .93rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05); border-radius: 50%;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .4s var(--ease), background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Napredek branja */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 70; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--gold); }
html.is-nav .progress i { transform: scaleX(.75) !important; transition: transform 1.2s cubic-bezier(.1, .7, .3, 1); }

/* Uvod (domača stran) */
.hero { position: relative; margin-top: -94px; padding: calc(94px + clamp(40px, 7vw, 100px)) 0 clamp(72px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 900px; height: 900px; top: -420px; right: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 34%, transparent), transparent); animation: drift 18s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 700px; height: 700px; bottom: -380px; left: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold-hi) 18%, transparent), transparent); animation: drift 24s ease-in-out infinite reverse;
}
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.06); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-grid > *, .page-hero-grid > *, .split > *, .contact-grid > *, .grid > *, .footer-grid > * { min-width: 0; }
.hero h1 { max-width: 14ch; }
.hero .lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; max-width: 100%; }
.hero-meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 28px; color: var(--ink-soft); font-size: .92rem; }
.hero-meta span { display: grid; gap: 2px; line-height: 1.35; padding-left: 16px; border-left: 2px solid; border-image: var(--grad) 1; max-width: 220px; }
.hero-meta strong { font-family: var(--head); font-size: 1.9rem; font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.hero-media { position: relative; margin: 0; isolation: isolate; }
.hero-media::before {
  content: ""; position: absolute; z-index: -1; inset: -1px; border-radius: calc(var(--radius-lg) + 1px); background: var(--grad); opacity: .7;
  filter: blur(28px); transform: scale(.94) translateY(16px);
}
.hero-media img {
  width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-hi);
  transform: translateY(var(--py, 0px)); transition: transform .2s linear;
}
.hero-badge {
  position: absolute; left: -24px; bottom: -24px; background: rgba(14, 36, 70, .82); border-radius: 18px; padding: 14px 18px 14px 60px;
  box-shadow: var(--shadow-hi); font-size: .9rem; line-height: 1.45; max-width: min(300px, calc(100% - 28px)); animation: floatY 6s ease-in-out infinite;
  color: var(--ink-soft); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero-badge::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 10px; background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E") center / 22px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero-badge strong { display: block; font-family: var(--head); color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Glava podstrani */
.page-hero { margin-top: -94px; padding: calc(94px + clamp(40px, 6vw, 80px)) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { width: 760px; height: 760px; top: -380px; right: -200px; }
.page-hero .wrap { position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.page-hero-grid > div:only-child { max-width: 860px; grid-column: 1 / -1; }
.page-hero h1 { margin-bottom: 0; }
.page-hero .lead { margin-top: 20px; }
.page-hero-media { position: relative; margin: 0 auto; width: fit-content; max-width: 100%; isolation: isolate; }
.page-hero-media::before { content: ""; position: absolute; z-index: -1; inset: 8%; border-radius: 50%; background: var(--grad); opacity: .45; filter: blur(50px); }
.page-hero-media img { width: auto; max-width: 100%; max-height: min(520px, 64vh); height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-hi); }
.crumbs { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--ink-soft); margin: 0 0 18px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs + .eyebrow { display: flex; width: fit-content; }

/* Drsni trak */
.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--head); font-weight: 600; font-size: 1.15rem; white-space: nowrap; padding: 0 22px; color: var(--ink-soft); letter-spacing: -.01em; }
.marquee i { font-style: normal; color: var(--gold-hi); font-size: .7rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Pasica */
.banner, .cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px;
  background: radial-gradient(700px 300px at 100% 0%, color-mix(in srgb, var(--gold) 30%, transparent), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, color-mix(in srgb, var(--gold-hi) 18%, transparent), transparent 70%), var(--surface);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-hi);
}
.banner::before, .cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
}
.banner > div, .cta-band > div { flex: 1 1 420px; }
.banner h2, .cta-band h2 { margin-bottom: .3em; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.banner p, .cta-band p { margin: 0; color: var(--ink-soft); max-width: 58ch; font-size: 1.05rem; }
.cta-band .btn--light, .banner .btn--light { background: var(--grad); color: #04111f; box-shadow: 0 16px 40px -14px color-mix(in srgb, var(--gold) 80%, transparent); }

/* Mreže in kartice */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--gold) 16%, transparent), transparent 45%);
}
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--gold) 45%, transparent); box-shadow: var(--shadow-hi); }
.card:hover::before { opacity: 1; }
.card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 28px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h2, .card-body h3 { margin-bottom: 10px; font-size: 1.3rem; }
.card-body p { color: var(--ink-soft); margin-bottom: 18px; }
.card-body .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--gold); width: fit-content; }
.card-body .more::after { content: "→"; transition: transform .3s var(--ease); }
.card-body .more:hover { color: var(--gold-hi); }
.card-body .more:hover::after { transform: translateX(4px); }
.card--plain { padding: clamp(24px, 3vw, 36px); }
.icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; font-size: 1.4rem; color: var(--gold-hi);
  background: linear-gradient(150deg, color-mix(in srgb, var(--gold) 22%, transparent), color-mix(in srgb, var(--gold-hi) 10%, transparent));
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--gold) 60%, transparent);
}
.icon svg { width: 26px; height: 26px; }

/* Vrednote */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: val; }
.value { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); counter-increment: val; transition: border-color .4s, transform .5s var(--ease); }
.value::before { content: "0" counter(val); display: block; font-family: var(--head); font-weight: 700; font-size: .9rem; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .08em; }
.value:hover { border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* Besedilo in slika */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-text p { color: var(--ink-soft); }
.split-text h2 { margin-bottom: .55em; }
.split-img { position: relative; margin: 0; isolation: isolate; }
.split-img::before { content: ""; position: absolute; z-index: -1; inset: 10% 6%; background: var(--grad); filter: blur(60px); opacity: .28; border-radius: 50%; }
.split-img img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-hi); }
.note { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 9%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 25%, transparent); color: var(--ink); font-size: .98rem; }
.checks { list-style: none; margin: 8px 0 1em; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 8px; background: color-mix(in srgb, var(--gold-hi) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold-hi) 35%, transparent);
}
.checks li::after { content: ""; position: absolute; left: 8px; top: calc(.15em + 6px); width: 6px; height: 10px; border: solid var(--gold-hi); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.split .hero-actions { margin-top: 24px; }
.more-line { margin-top: 40px; }

/* Kolaž (več slik) */
.collage { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.collage-img { display: block; border-radius: 18px; overflow: hidden; }
.collage-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; border: 1px solid var(--line-strong); }
.collage--2 { display: block; position: relative; padding-bottom: 14%; }
.collage--2 .collage-img:first-child { width: 86%; margin-left: auto; }
.collage--2 .collage-img:nth-child(2) { position: absolute; left: 0; bottom: 0; width: 46%; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); outline: 6px solid var(--bg); }
.collage--3 .collage-img:first-child { grid-column: 1 / -1; }
.collage--4 .collage-img:first-child, .collage--5 .collage-img:first-child { grid-column: 1 / -1; }
.split-img.collage img { box-shadow: var(--shadow); }

/* Koraki */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.step { position: relative; counter-increment: step; padding: 0 6px; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin-bottom: 20px; position: relative;
  font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: #04111f; background: var(--grad); box-shadow: 0 0 0 6px var(--bg), 0 12px 30px -10px var(--gold);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.split .steps { grid-template-columns: 1fr 1fr; }
.split .steps::before { display: none; }

/* Predmeti (ostanek prejšnje predloge) in oznake */
.subjects { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.subject { display: block; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--ink); text-decoration: none; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; }
.tags li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); font-size: .95rem; color: var(--ink); transition: border-color .3s, background .3s; }
.tags li:hover { border-color: color-mix(in srgb, var(--gold) 55%, transparent); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.card--plain h3 { margin-bottom: 18px; }

/* Cenik in tabela */
.price-card { padding: 30px; gap: 6px; }
.price-card.is-featured { border-color: color-mix(in srgb, var(--gold) 55%, transparent); box-shadow: var(--glow); }
.tag-line { color: var(--ink-soft); font-size: .93rem; margin: 0; }
.price { margin: 14px 0 0; font-family: var(--head); font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -.03em; }
.badge { position: absolute; top: 18px; right: 18px; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #04111f; background: var(--grad); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.table-wrap table, .prose table { width: 100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table-wrap th { font-family: var(--head); font-weight: 600; color: #fff; background: rgba(255, 255, 255, .03); }

/* Dogodki (ni v uporabi, ostane za združljivost) */
.event { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.event-date { min-width: 64px; text-align: center; }
.event-date b { display: block; font-family: var(--head); font-size: 1.8rem; color: #fff; }

/* Pogosta vprašanja */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .3s, background .3s; overflow: hidden; }
.faq-item[open] { border-color: color-mix(in srgb, var(--gold) 45%, transparent); background: rgba(255, 255, 255, .05); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 1.08rem; line-height: 1.35; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .4s var(--ease), background .3s; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i { background: var(--grad); border-color: transparent; transform: rotate(180deg); }
.faq-item[open] summary i::before, .faq-item[open] summary i::after { background: #04111f; }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-a { padding: 0 22px 22px; color: var(--ink-soft); }
.faq-a p { margin: 0; }
.faq-item[open] .faq-a { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Galerija */
.gallery { display: grid; gap: 18px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); align-items: start; }
.gallery--1 { --cols: 1; max-width: 860px; margin-inline: auto; }
.gallery--2 { --cols: 2; }
.gallery--3 { --cols: 3; }
.gallery--4 { --cols: 4; }
.gallery--custom { display: flex; flex-wrap: wrap; }
.gallery--custom .gi--velika { flex: 1 1 100%; } .gallery--custom .gi--srednja { flex: 1 1 calc(50% - 18px); } .gallery--custom .gi--majhna { flex: 0 1 calc(33.333% - 12px); }
.gallery-item { margin: 0; }
.gallery-img { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-img img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.gallery-item:hover .gallery-img img { transform: scale(1.03); }
.gallery-item figcaption { margin-top: 10px; font-size: .92rem; color: var(--ink-soft); text-align: center; }

/* Mnenja */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.q-letter { margin: 0; position: relative; padding: 32px 28px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); display: flex; flex-direction: column; }
.q-letter::before { content: "“"; position: absolute; top: 4px; right: 22px; font-family: var(--head); font-size: 5.5rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .6; }
.q-letter blockquote { margin: 0 0 20px; }
.q-letter blockquote p { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.7; }
.q-letter figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.q-letter cite, .q-chat cite { font-style: normal; font-weight: 600; color: #fff; font-size: .95rem; }
.q-letter cite::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 10px var(--gold-hi); vertical-align: middle; }
.q-who { display: flex; align-items: center; gap: 14px; }
.q-who img { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.q-who cite::before { display: none !important; }
.q-card { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.q-chats { list-style: none; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.q-chat { padding: 14px 18px; border-radius: 18px 18px 18px 4px; background: color-mix(in srgb, var(--gold) 14%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent); max-width: 420px; }
.q-chat p { margin: 0 0 4px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .3s, transform .4s var(--ease); }
.contact-list li:hover { border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.contact-list .icon { margin: 0; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 2px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--gold-hi); }
.contact-grid h3 { margin-top: 32px; }
.hours { display: grid; gap: 2px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; background: rgba(255, 255, 255, .02); }
.hours div + div { border-top: 1px solid var(--line); }
.hours span:last-child { color: #fff; font-weight: 500; }
.contact-form { position: relative; display: grid; gap: 16px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); box-shadow: var(--shadow-hi); }
.contact-form::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--grad); opacity: .25; filter: blur(30px); }
.contact-form h3 { margin: 0 0 4px; font-size: 1.45rem; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-strong); border-radius: 14px; padding: 13px 15px;
  transition: border-color .25s, box-shadow .25s, background .25s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%239aa6b5' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: #12305a; color: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); background: rgba(0, 0, 0, .5); }
.field input::placeholder, .field textarea::placeholder { color: #66717f; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-err { margin: 2px 0 0; font-size: .86rem; color: #ff8a80; display: none; }
.field.is-invalid .field-err { display: block; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #ff6b5e; }
.field.is-valid input, .field.is-valid textarea { border-color: color-mix(in srgb, var(--gold-hi) 55%, transparent); }
label.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; margin: 2px 0 4px; cursor: pointer; color: var(--ink-soft); }
label.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
label.consent a { color: var(--gold); }
.contact-form .btn { width: 100%; padding: 1.05em; font-size: 1.02rem; }
.form-note { font-size: .84rem; color: var(--ink-soft); margin: 0; }
.form-status { display: none; padding: 12px 16px; border-radius: 14px; margin: 0; }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: color-mix(in srgb, var(--gold-hi) 14%, transparent); border: 1px solid color-mix(in srgb, var(--gold-hi) 40%, transparent); color: #c9f7e2; }
.form-status.is-err { background: rgba(255, 107, 94, .12); border: 1px solid rgba(255, 107, 94, .4); color: #ffc9c3; }

/* Zemljevid (naloži se ob kliku) */
.map { margin-top: 22px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 240px; display: grid;
  background: radial-gradient(400px 200px at 50% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent), rgba(255, 255, 255, .02); }
.map-ph { display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 28px 18px;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 24px 24px; }
.map-pin { color: var(--gold-hi); }
.map-pin svg { width: 30px; height: 30px; }
.map-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.map.is-on iframe { width: 100%; height: 340px; border: 0; display: block; filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }

/* Video, dokumenti, prosto besedilo */
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-ph { display: grid; place-items: center; gap: 10px; align-content: center; text-align: center; padding: 28px; min-height: 100%; background: radial-gradient(circle at 30% 20%, #173a6b, #050608); color: #fff; }
.video-ph .muted { max-width: 46ch; font-size: .9rem; }
.video-cap { margin: 12px 0 0; color: var(--ink-soft); font-size: .95rem; text-align: center; }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 720px; }
.files a { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .03); text-decoration: none; color: inherit; transition: transform .18s ease, border-color .18s ease; }
.files a:hover { transform: translateY(-2px); border-color: var(--gold); }
.file-ext { flex: none; min-width: 52px; padding: 8px 10px; border-radius: 10px; background: var(--grad); color: #04111f; font: 700 .72rem/1 var(--body); letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.file-body { flex: 1; display: grid; gap: 2px; }
.file-body small { color: var(--ink-soft); }
.file-dl { font-size: 1.3rem; color: var(--gold); }
.prose { max-width: 760px; margin-inline: auto; color: #d6dde6; font-size: 1.08rem; line-height: 1.8; }
.prose > * + * { margin-top: 1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--gold-hi); }
.prose img, .prose iframe { max-width: 100%; border-radius: 14px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose table { display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:first-child td, .prose th { font-weight: 600; color: #fff; background: rgba(255, 255, 255, .04); }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 3px solid; border-image: var(--grad) 1; background: rgba(255, 255, 255, .03); color: var(--ink); border-radius: 0 14px 14px 0; }
.prose a { color: var(--gold); }
.prose hr { border: 0; height: 1px; background: var(--line-strong); margin: 2em 0; }

/* Noga */
.site-footer { position: relative; margin-top: clamp(40px, 6vw, 80px); padding: clamp(56px, 7vw, 88px) 0 32px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 40%); color: var(--ink-soft); font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold-hi), transparent); opacity: .6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr .8fr 1.2fr; gap: 40px; }
.footer-logo { height: 58px; width: auto; }
.footer-tag { margin-top: 18px; max-width: 34ch; color: var(--ink-soft); }
.site-footer h3 { font-family: var(--body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: .86rem; }
.footer-legal a, .footer-legal button { all: unset; cursor: pointer; color: var(--ink-soft); }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
.footer-legal button[hidden] { display: none; }

/* Pojavljanje (samo z JavaScriptom) */
.js .reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .card.reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0s; }
.js .contact-list li.reveal.is-in:hover { transform: translateX(4px); transition-delay: 0s; }
.js .fx { opacity: 0; transform: translate3d(0, 20px, 0); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.js .fx.is-in { opacity: 1; transform: none; filter: none; }
.js .hero h1.fx, .js .page-hero h1.fx { opacity: 1; filter: none; }
.js .hero-media { opacity: 0; transform: translate3d(0, 36px, 0) scale(.97); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.js .hero-media.is-in { opacity: 1; transform: none; }
.js .hero-badge { opacity: 0; }
.js .hero-media.is-in .hero-badge { opacity: 1; transition: opacity .8s .9s; }

/* Gladki prehodi med stranmi */
main { transition: opacity .3s var(--ease), transform .3s var(--ease); }
main.is-leaving { opacity: 0; transform: translateY(8px); }
main.is-entering { opacity: 0; transform: translateY(-6px); }

/* Nalagalni zaslon (privzeto izklopljen) */
/* ---------- Nalagalni zaslon (prvi obisk) ---------- */
.loader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; overflow: hidden; background: #071528;
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), opacity .5s .5s; clip-path: circle(150% at 50% 50%); }
.loader.is-done { clip-path: circle(0% at 50% 46%); opacity: 0; pointer-events: none; }
.loader.is-done .loader-inner { transform: scale(1.15); opacity: 0; transition: transform .6s, opacity .4s; }
.ld-glow { position: absolute; inset: -20%; background: radial-gradient(40% 40% at 50% 45%, rgba(47, 155, 255, .28), transparent 70%),
  radial-gradient(30% 30% at 62% 60%, rgba(61, 220, 151, .16), transparent 70%); animation: ld-breathe 3s ease-in-out infinite; }
.ld-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(120, 170, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 170, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(50% 50% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000, transparent); animation: ld-grid 6s linear infinite; }
.loader-inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.ld-word { width: min(230px, 58vw); height: auto; opacity: 0; filter: blur(8px); transform: translateY(10px); animation: ld-in .7s .35s cubic-bezier(.2, .7, .2, 1) forwards; }
.ld-ram { margin: -10px 0 0; font: 600 1rem/1 var(--head, inherit); letter-spacing: .3em; color: rgba(255, 255, 255, .55); opacity: 0; animation: ld-in .6s .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.ld-ram b { font-size: 1.5rem; font-weight: 800; letter-spacing: .18em; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(47, 155, 255, .55)); }
.ld-bar { width: 180px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); box-shadow: 0 0 12px var(--gold); animation: ld-slide 1.1s ease-in-out infinite; }
.loader-text { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.loader-text span { animation: ld-dot 1.2s infinite; } .loader-text span:nth-child(2) { animation-delay: .2s; } .loader-text span:nth-child(3) { animation-delay: .4s; }

/* Animiran znak: krog z orbitami in satelitoma (nalagalni zaslon, »Kmalu nazaj«) */
.ra-orb { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.ra-orb::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 155, 255, .35), rgba(11, 31, 61, 0) 70%); animation: ld-breathe 2.4s ease-in-out infinite; }
.ra-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; }
.ra-ring--1 { border-top-color: var(--gold); border-right-color: var(--gold); filter: drop-shadow(0 0 6px var(--gold)); animation: ra-spin 1.6s linear infinite; }
.ra-ring--2 { inset: 12px; border-bottom-color: var(--gold-hi); border-left-color: rgba(61, 220, 151, .4); animation: ra-spin 2.4s linear infinite reverse; }
.ra-sat { position: absolute; inset: 0; animation: ra-spin 3s linear infinite; }
.ra-sat::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold); }
.ra-sat--2 { inset: 12px; animation-duration: 4.2s; animation-direction: reverse; }
.ra-sat--2::after { background: var(--gold-hi); box-shadow: 0 0 10px var(--gold-hi); }
.ra-mark { position: relative; width: 58px; height: auto; clip-path: inset(0 100% 0 0); filter: drop-shadow(0 0 10px rgba(47, 155, 255, .7)); animation: ra-reveal .9s .1s cubic-bezier(.6, 0, .2, 1) forwards, ra-float 3s 1s ease-in-out infinite; }
@keyframes ra-spin { to { transform: rotate(360deg); } }
@keyframes ra-reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes ra-float { 50% { transform: translateY(-4px); } }
@keyframes ld-breathe { 50% { opacity: .55; transform: scale(1.06); } }
@keyframes ld-grid { to { background-position: 48px 48px; } }
@keyframes ld-in { to { opacity: 1; filter: none; transform: none; } }
@keyframes ld-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes ld-dot { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .loader *, .ra-orb * { animation: none !important; } .ra-mark { clip-path: none; } .ld-word { opacity: 1; filter: none; transform: none; } }

/* Na vrh in hiter kontakt na telefonu */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(14, 36, 70, .85);
  color: #fff; font-size: 18px; cursor: pointer; box-shadow: var(--shadow-hi); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), border-color .3s; backdrop-filter: blur(10px); }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--gold); color: var(--gold-hi); }
.m-cta { display: none; }

/* Stran 404 */
.err-deep { position: relative; margin-top: -94px; padding: calc(94px + clamp(48px, 7vw, 100px)) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.err-deep::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; top: -400px; right: -250px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 30%, transparent), transparent); }
.err-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.err-visual { position: relative; aspect-ratio: 1; max-width: 360px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.err-num { font-family: var(--head); font-weight: 700; font-size: clamp(5rem, 13vw, 9rem); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--gold) 50%, transparent); animation: spinSlow 40s linear infinite; }
.err-ring--2 { inset: 14%; border-color: color-mix(in srgb, var(--gold-hi) 40%, transparent); animation-direction: reverse; animation-duration: 28s; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.err-guess { margin: 14px 0 0; font-size: 1.08rem; }
.err-guess a { font-weight: 600; }
.err-find h2 { margin: 6px 0 26px; }
.err-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.err-card { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); text-decoration: none; color: inherit; transition: transform .25s var(--ease), border-color .25s; }
.err-card:hover { transform: translateY(-4px); border-color: var(--gold); color: inherit; }
.err-card strong { font-family: var(--head); font-size: 1.15rem; }
.err-card > span:last-child { color: var(--ink-soft); font-size: .93rem; line-height: 1.5; }
.err-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold-hi); margin-bottom: 6px; }
.err-ic svg { width: 20px; height: 20px; }
.err-foot { margin: 26px 0 0; color: var(--ink-soft); }

/* »Kmalu nazaj« in pasovi za prijavljene */
/* ---------- Kmalu nazaj ---------- */
.soon-body { min-height: 100vh; background: radial-gradient(900px 600px at 15% 10%, rgba(47, 155, 255, .18), transparent 60%),
  radial-gradient(800px 600px at 90% 90%, rgba(61, 220, 151, .1), transparent 60%), #071528; overflow-x: hidden; }
.soon-net { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .75; }
.soon-net .ln line { stroke: rgba(120, 170, 255, .14); stroke-width: 1.2; }
.soon-net .ln line.sig { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 18 400; filter: drop-shadow(0 0 4px var(--gold)); animation: soon-sig 5s linear infinite; }
.soon-net .nd circle { fill: #9fd0ff; filter: drop-shadow(0 0 6px var(--gold)); animation: soon-node 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes soon-sig { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@keyframes soon-node { 50% { opacity: .35; transform: scale(.6); } }
.soon { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 18px; }
.soon-card { position: relative; width: min(640px, 100%); text-align: center; padding: clamp(32px, 6vw, 56px) clamp(22px, 5vw, 52px); border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 44, 82, .72), rgba(9, 24, 48, .78)); border: 1px solid rgba(120, 170, 255, .2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: soon-up .9s cubic-bezier(.2, .7, .2, 1) both; }
.soon-card > * { animation: soon-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.soon-card > :nth-child(2) { animation-delay: .15s; } .soon-card > :nth-child(3) { animation-delay: .25s; } .soon-card > :nth-child(4) { animation-delay: .35s; }
.soon-card > :nth-child(5) { animation-delay: .45s; } .soon-card > :nth-child(n+6) { animation-delay: .55s; }
@keyframes soon-up { from { opacity: 0; transform: translateY(18px); } }
.soon-orb { margin: 0 auto 18px; }
.soon-word { display: block; width: min(250px, 70%); height: auto; margin: 0 auto 26px; }
.soon-card .eyebrow { justify-content: center; }
.soon-card h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 14px auto .35em; max-width: 14ch; }
.soon-card .lead { margin: 0 auto; max-width: 46ch; }
.soon-progress { width: min(320px, 80%); height: 6px; margin: 28px auto 0; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.soon-progress i { display: block; height: 100%; width: 35%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); box-shadow: 0 0 14px var(--gold); animation: ld-slide 2.2s ease-in-out infinite; }
.soon-until { margin: 18px 0 0; color: var(--ink-soft); }
.soon-actions { justify-content: center; margin-top: 28px; }
.soon-foot { margin: 30px 0 0; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 560px) { .soon-actions .btn { width: 100%; justify-content: center; } .soon-net { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .soon-net *, .soon-card, .soon-card > * { animation: none !important; } }
.maint-bar, .notice-bar { position: relative; z-index: 80; background: var(--grad); color: #04111f; text-align: center; padding: 10px 16px; font-size: .92rem; font-weight: 500; }
.maint-bar a, .notice-bar a { color: #04111f; font-weight: 700; margin-left: 6px; }

/* Videz sekcije iz urejevalnika */
[data-sx~="sx-pt"] { padding-top: var(--sx-pt) !important; }
[data-sx~="sx-pb"] { padding-bottom: var(--sx-pb) !important; }
[data-sx~="sx-bg-cream"] { background: var(--bg) !important; }
[data-sx~="sx-bg-custom"] { background: var(--sx-bg) !important; }
[data-sx~="sx-bg-gold"] { background: linear-gradient(150deg, color-mix(in srgb, var(--gold) 22%, var(--bg)), color-mix(in srgb, var(--gold-hi) 12%, var(--bg))) !important; }
[data-sx~="sx-bg-dark"] { background: #000 !important; }
[data-sx~="sx-ink"], [data-sx~="sx-ink"] h1, [data-sx~="sx-ink"] h2, [data-sx~="sx-ink"] h3, [data-sx~="sx-ink"] p, [data-sx~="sx-ink"] .lead { color: var(--sx-ink) !important; }
[data-sx~="sx-align-center"] .section-head, [data-sx~="sx-align-center"] .split-text, [data-sx~="sx-align-center"] .hero-copy, [data-sx~="sx-align-center"] .page-hero-grid > div { text-align: center; margin-inline: auto; }
[data-sx~="sx-align-center"] .hero-actions, [data-sx~="sx-align-center"] .hero-meta { justify-content: center; }
[data-sx~="sx-align-center"] .lead { margin-inline: auto; }
[data-sx~="sx-align-left"] .section-head { text-align: left; margin-inline: 0; }
[data-sx~="sx-align-right"] .section-head, [data-sx~="sx-align-right"] .split-text { text-align: right; }
[data-sx~="sx-bg-img"] {
  background-color: var(--bg) !important;
  background-image: linear-gradient(rgba(11, 31, 61, var(--sx-ov, .55)), rgba(11, 31, 61, var(--sx-ov, .55))), var(--sx-img) !important;
  background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important;
}
[data-preview] [data-hidden] { opacity: .35; filter: grayscale(1); }
[data-preview] .pv-focus { outline: 2px dashed var(--gold); outline-offset: -6px; border-radius: 12px; }
[data-preview] .m-cta, [data-preview] .to-top { display: none !important; }

/* Povečava slike (kolaž, galerija) */
.lb { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .88); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; cursor: zoom-out; }
.lb.is-in { opacity: 1; }
.lb img { max-width: min(1400px, 100%); max-height: 88vh; width: auto; border-radius: 14px; box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }

/* Piškotki */
.mu-cc { position: fixed; z-index: 1300; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; opacity: 0; transform: translateY(24px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.mu-cc.is-in { opacity: 1; transform: none; }
.mu-cc-card { pointer-events: auto; width: min(760px, 100%); background: rgba(14, 36, 70, .96); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: var(--shadow-hi); padding: 22px 24px 20px; backdrop-filter: blur(12px); }
.mu-cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mu-cc-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #04111f; flex: none; }
.mu-cc-head h2, .mu-cs-card h2 { margin: 0; font-size: 1.3rem; }
.mu-cc-card p { margin: 0 0 16px; font-size: .95rem; line-height: 1.6; color: var(--ink-soft); }
.mu-cc-card a, .mu-cs-card a { color: var(--gold); }
.mu-cc-actions, .mu-cs-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.mu-btn { all: unset; box-sizing: border-box; cursor: pointer; min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--grad); color: #04111f; font: 600 .92rem/1 var(--body); transition: transform .16s ease; }
.mu-btn:hover { transform: translateY(-2px); }
.mu-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.mu-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.mu-cs { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; }
.mu-cs.is-in { opacity: 1; }
.mu-cs-card { position: relative; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #0f2a50; border: 1px solid var(--line-strong); border-radius: 24px; padding: 30px 30px 24px; box-shadow: var(--shadow-hi); outline: none; }
.mu-cs-x { all: unset; cursor: pointer; position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; color: var(--ink-soft); }
.mu-cs-x:hover { background: rgba(255, 255, 255, .08); }
.mu-cs-lead { margin: 8px 0 18px; color: var(--ink-soft); }
.mu-cs-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.mu-cs-row strong { display: block; margin-bottom: 4px; }
.mu-cs-row p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.mu-sw { position: relative; flex: none; width: 52px; height: 30px; display: inline-block; }
.mu-sw input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.mu-sw i { position: absolute; inset: 0; border-radius: 999px; background: #2a323d; transition: background .2s; }
.mu-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.mu-sw input:checked + i, .mu-sw.is-on i { background: var(--gold); }
.mu-sw input:checked + i::after, .mu-sw.is-on i::after { transform: translateX(22px); }
.mu-sw.is-locked { opacity: .6; }
.mu-cs-actions { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.mu-cs-foot { margin: 14px 0 0; font-size: .82rem; color: var(--ink-soft); }
html.mu-cs-open { overflow: hidden; }

/* Prelomi: dolga besedila se nikoli ne odrežejo */
h1, h2, h3, p, li, a, td, th, .btn, .eyebrow, .price, .tags li { overflow-wrap: anywhere; }
html:not([data-preview]) main > .section:nth-of-type(n+5) { content-visibility: auto; contain-intrinsic-size: auto 760px; }

/* Lahki način (html.lite): počasne naprave dobijo isto stran brez dragih učinkov */
html.lite body::before { display: none; }
html.lite .site-header .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 28, 58, .97); }
html.lite .hero::before, html.lite .hero::after, html.lite .page-hero::before, html.lite .hero-badge, html.lite .eyebrow::before { animation: none; }
html.lite .hero-media::before, html.lite .split-img::before, html.lite .contact-form::before, html.lite .page-hero-media::before { display: none; }
html.lite.js .reveal { transform: none; transition: opacity .35s ease; }
html.lite .card, html.lite .card:hover { transition: none; transform: none; }

/* ===== Odzivnost ===== */
@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { min-height: 60px; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: rgba(12, 32, 64, .97); border: 1px solid var(--line-strong); border-radius: 24px; box-shadow: var(--shadow-hi);
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .25s, transform .35s var(--ease); max-height: calc(100dvh - 110px); overflow: auto;
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; color: var(--ink); border-radius: 14px; }
  .nav-links a[aria-current="page"]::before { left: 6px; top: 50%; bottom: auto; width: 3px; height: 18px; margin: -9px 0 0; }
  .nav-cta { margin: 6px 0 0; }
  .nav-links .nav-cta a.btn { width: 100%; padding: 14px; font-size: 1rem; }
  .hero-grid, .page-hero-grid, .split, .contact-grid, .faq-wrap, .err-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .hero h1 { max-width: none; }
  .hero-media { max-width: 640px; }
  .split > .split-img { order: -1; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .gallery--3, .gallery--4 { --cols: 2; }
  .err-visual { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 32px, var(--max)); }
  .site-header { padding: 10px 0; }
  .site-header .nav { padding: 0 6px 0 14px; }
  .brand img { height: 36px; }
  .hero { padding-top: calc(94px + 28px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { gap: 18px; }
  .hero-meta strong { font-size: 1.55rem; }
  .hero-badge { position: relative; left: auto; bottom: auto; margin: -28px 14px 0; max-width: none; animation: none; }
  .grid--2, .grid--3, .grid--4, .values, .steps, .subjects, .field-row { grid-template-columns: 1fr; }
  .grid--3 > :last-child:nth-child(odd) { grid-column: auto; }
  .steps { gap: 22px; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; align-items: start; }
  .step::before { margin: 0; grid-row: span 2; }
  .quotes { grid-template-columns: 1fr; }
  .banner, .cta-band { padding: 28px 22px; }
  .cta-band .btn, .banner .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .gallery, .gallery--2, .gallery--3, .gallery--4 { --cols: 1; }
  .gallery--custom .gallery-item { flex: 1 1 100% !important; }
  .faq-item summary { padding: 18px; font-size: 1.02rem; }
  .faq-a { padding: 0 18px 18px; }
  .contact-list li { padding: 14px; }
  .prose { font-size: 1.02rem; }
  .crumbs a, .site-footer ul a, .contact-list a { display: inline-block; padding: 8px 0; }
  .m-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 75;
    padding: 6px; border-radius: 999px; background: rgba(12, 32, 64, .94); border: 1px solid var(--line-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .8); transform: translateY(150%); transition: transform .4s var(--ease); }
  body.scrolled-far .m-cta { transform: none; }
  .m-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
  .m-cta a svg { width: 18px; height: 18px; }
  .m-cta a:first-child { background: var(--grad); color: #04111f; }
  .to-top { bottom: calc(82px + env(safe-area-inset-bottom)); right: 14px; width: 42px; height: 42px; }
  .site-footer { padding-bottom: 104px; }
  .mu-cc { left: 0; right: 0; bottom: 0; }
  .mu-cc-card { border-radius: 22px 22px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); }
  .mu-cc-actions .mu-btn, .mu-cs-actions .mu-btn { flex: 1 1 100%; }
  .js .fx { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .fx, .js .hero-media { opacity: 1; transform: none; filter: none; }
}

/* Drobni popravki */
.prose li > p { margin: 0; }
.prose li > p + p { margin-top: .4em; }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); }
.grid > .card--plain { align-self: start; }
