/* ============================================================
   Akvaponika.si — design system (mobile-first)
   Baza = mobilni zaslon; izboljšave layouta se dodajajo z
   @media (min-width: …) poizvedbami.

   Razčlenitev po širinah:
   – baza           0–639 px  (telefon, 1 stolpec)
   – ≥560 px                   koraki v vodniku v dveh stolpcih
   – ≥641 px                   mreže 2+ stolpca, noga 2 stolpca
   – ≥941 px                   namizna navigacija, hero/split v dveh stolpcih
   – ≥1081 px                  mreže s 4 stolpci
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #071009;
  --bg-2: #0a1810;
  --bg-3: #0d2117;
  --panel: #0e2118;
  --panel-2: #12291d;
  --panel-3: #163324;
  --line: rgba(190, 245, 190, 0.12);
  --line-strong: rgba(190, 245, 190, 0.24);

  --text: #eff7ef;
  --text-dim: #c3d6c6;
  --muted: #93ab9b;
  --faint: #6c8a78;

  --lime: #c0f24a;
  --lime-deep: #8fd61d;
  --teal: #37e0a9;
  --aqua: #7de3f7;
  --amber: #ffc857;
  --coral: #ff8a6b;

  --grad-main: linear-gradient(120deg, var(--lime), var(--teal) 55%, var(--aqua));
  --grad-soft: linear-gradient(160deg, rgba(192, 242, 74, 0.16), rgba(55, 224, 169, 0.1));

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 26px;
  --radius-xl: 36px;

  --shadow-1: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
  --shadow-2: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --glow: 0 0 0 1px rgba(192, 242, 74, 0.25), 0 18px 60px -18px rgba(55, 224, 169, 0.4);

  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.14;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.05rem, 6.4vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 3vw, 1.45rem); }

::selection { background: var(--lime); color: #0a1a10; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--lime);
  color: #08140c;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 14px; }

/* ---------- Layout: kontejnerji in sekcije ---------- */
.container { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
.container-narrow { width: min(820px, calc(100% - 2.5rem)); margin-inline: auto; }

.section { position: relative; padding: clamp(3.2rem, 9vw, 7.5rem) 0; }
.section-tight { padding: clamp(2.6rem, 6vw, 4.5rem) 0; }

/* ---------- Tipografija / dekorativni poudarki ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: none;
  background: var(--grad-main);
  border-radius: 2px;
}
.head { max-width: 780px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.head p.lead { font-size: 1.13rem; color: var(--muted); }

.accent-serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, border-color 0.25s, color 0.25s;
  text-align: center;
  overflow-wrap: break-word;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--lime);
  color: #0b1a0d;
  box-shadow: 0 12px 30px -12px rgba(192, 242, 74, 0.6);
}
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(192, 242, 74, 0.75); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn-row { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.btn-row .btn { width: 100%; }
.btn-block { width: 100%; }

/* ---------- Glava + navigacija (mobilna baza) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(1.3);
  background: rgba(6, 14, 9, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad-main);
  box-shadow: 0 6px 18px -6px rgba(55, 224, 169, 0.6);
  color: #07130b;
}
.brand-mark svg { width: 21px; height: 21px; }
.brand .dot { color: var(--lime); }

/* Mobilni meni: padajoča plošča pod glavo */
.nav-links {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 18px max(1.25rem, calc((100% - 38rem) / 2)) 26px;
  background: rgba(7, 16, 9, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0s linear 0.3s;
  max-height: calc(100dvh - var(--header-h));
  overflow: auto;
}
.site-header.nav-open .nav-links {
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--lime); background: rgba(192, 242, 74, 0.07); }

.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ic-x { display: none; }
.site-header.nav-open .nav-toggle .ic-menu { display: none; }
.site-header.nav-open .nav-toggle .ic-x { display: block; }

/* Brez JS: navigacija ostane vidna in uporabna */
html.no-js .nav-toggle { display: none; }
html.no-js .nav-links {
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  max-height: none;
}
html.no-js .nav-cta { display: inline-flex; }

/* ---------- Hero (domov) ---------- */
.hero {
  position: relative;
  padding: clamp(2.6rem, 6vw, 5.5rem) 0 clamp(2.8rem, 7vw, 6rem);
  overflow: clip;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(55, 224, 169, 0.16), transparent 60%),
    radial-gradient(700px 460px at -10% 30%, rgba(192, 242, 74, 0.1), transparent 55%),
    radial-gradient(640px 420px at 60% 110%, rgba(125, 227, 247, 0.1), transparent 60%),
    linear-gradient(180deg, #08130c, var(--bg) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(192, 242, 74, 0.07);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(192, 242, 74, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(192, 242, 74, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(192, 242, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 242, 74, 0); }
}

.hero h1 { margin-bottom: 0.35em; }
.hero .sub {
  font-size: clamp(1.04rem, 2.4vw, 1.25rem);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 1.8rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat .num small { font-size: 0.6em; color: var(--lime); font-weight: 600; }
.stat .lbl { font-size: 0.84rem; color: var(--muted); margin-top: 4px; max-width: 26ch; }

/* Vizual cikla */
.hero-visual {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.cycle-wrap { position: relative; width: 100%; aspect-ratio: 720 / 640; }
.cycle-wrap svg { width: 100%; height: 100%; overflow: visible; }

.cycle-caption {
  margin-top: 6px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 46ch;
  margin-inline: auto;
}

/* ---------- Page hero (podstrani) ---------- */
.page-hero {
  position: relative;
  padding: clamp(2.8rem, 6.5vw, 5.6rem) 0 clamp(2rem, 5vw, 4rem);
  overflow: clip;
}
.page-hero .hero-bg {
  background:
    radial-gradient(820px 420px at 85% -10%, rgba(55, 224, 169, 0.15), transparent 60%),
    radial-gradient(560px 340px at -5% 40%, rgba(192, 242, 74, 0.08), transparent 55%),
    linear-gradient(180deg, #08130c, transparent 80%);
}
.page-hero h1 { margin-bottom: 0.4em; }
.page-hero .lead { max-width: 44em; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--faint);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb svg { width: 13px; height: 13px; color: var(--faint); flex: none; }
.breadcrumb .here { color: var(--lime); font-weight: 500; }
.breadcrumb [aria-current="page"] { color: var(--lime); font-weight: 500; }

/* ---------- Mreže in kartice ---------- */
.grid { display: grid; gap: 20px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

.card {
  position: relative;
  background: linear-gradient(170deg, var(--panel-2), var(--panel) 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 242, 74, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-2); }
  .card:hover::before { opacity: 1; }
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  color: var(--lime);
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 25px; height: 25px; }
.card-icon.teal { color: var(--teal); background: linear-gradient(160deg, rgba(55, 224, 169, 0.16), transparent); }
.card-icon.aqua { color: var(--aqua); background: linear-gradient(160deg, rgba(125, 227, 247, 0.15), transparent); }
.card-icon.amber { color: var(--amber); background: linear-gradient(160deg, rgba(255, 200, 87, 0.14), transparent); }
.card p { color: var(--muted); font-size: 0.97rem; }
.card h3 { margin-bottom: 0.5rem; }

.card-link { text-decoration: none; display: block; }
.card-link .more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lime);
}
.card-link .more svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.card-link:hover .more svg { transform: translateX(5px); }

/* Velike številke */
.tile-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.tile-num small { font-size: 0.42em; color: var(--lime); vertical-align: super; }

/* Kontrolni seznam */
.check-list { display: grid; gap: 13px; }
.check-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--text-dim);
  font-size: 0.99rem;
}
.check-list .tick {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(192, 242, 74, 0.12);
  border: 1px solid rgba(192, 242, 74, 0.4);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}
.check-list .tick svg { width: 13px; height: 13px; }

/* Primerjalne vrstice */
.bars { display: grid; gap: 1.4rem; }
.bar-row .bar-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.bar-row .bar-head b { font-family: var(--font-display); }
.bar {
  height: 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  width: var(--w, 0%);
  transition: width 1.4s var(--ease);
}
.bar.aqua i { background: linear-gradient(90deg, var(--aqua), var(--teal)); }
.bar.soil i { background: linear-gradient(90deg, #6b5a48, #a18972); }
.js .bar i { width: 0; }

/* Pilule / dejstva */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
}
.pill svg { width: 15px; height: 15px; color: var(--lime); }

/* ---------- Split / vrstice z vsebino ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; }
.split.rev > :first-child { order: 0; }

/* Zaščita pred prelivanjem: otroci grid/flex postavitev naj se lahko
   skrčijo, namesto da bi potisnili vsebino čez rob ali jo prekrivali. */
.split > *,
.grid > *,
.hero-grid > *,
.footer-grid > *,
.hero-stats > *,
.note > span,
.flow-step > span:last-child { min-width: 0; }

.media-panel {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2.6rem);
  background: var(--grad-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.media-panel .deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(300px 200px at 20% 0%, rgba(125, 227, 247, 0.12), transparent 60%),
    radial-gradient(300px 220px at 90% 100%, rgba(192, 242, 74, 0.12), transparent 60%);
}
.media-content { position: relative; width: 100%; }

/* Tok hranil */
.flow-list { display: grid; gap: 0; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(10, 24, 16, 0.6);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
@media (hover: hover) {
  .flow-step:hover { border-color: var(--line-strong); transform: translateX(4px); }
}
.flow-step b { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.flow-step small { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.flow-step .f-ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(125, 227, 247, 0.16), transparent);
  border: 1px solid rgba(125, 227, 247, 0.35);
  color: var(--aqua);
}
.flow-step .f-ico svg { width: 22px; height: 22px; }
.flow-step .f-lime { background: linear-gradient(160deg, rgba(192, 242, 74, 0.14), transparent); border-color: rgba(192, 242, 74, 0.35); color: var(--lime); }
.flow-step .f-green { background: linear-gradient(160deg, rgba(55, 224, 169, 0.14), transparent); border-color: rgba(55, 224, 169, 0.35); color: var(--teal); }
.flow-step .f-aqua { color: var(--aqua); }
.flow-arrow {
  display: grid;
  place-items: center;
  color: rgba(147, 171, 155, 0.7);
  height: 26px;
}
.flow-arrow svg { width: 16px; height: 16px; }

/* ---------- Pas z dejstvi (band) in poziv k dejanju ---------- */
.band {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: clamp(1.8rem, 5vw, 4rem);
  background:
    radial-gradient(640px 320px at 85% 0%, rgba(55, 224, 169, 0.2), transparent 60%),
    linear-gradient(150deg, #12301f, #0c2016 60%, #0b1c13);
  border: 1px solid rgba(192, 242, 74, 0.2);
  box-shadow: var(--shadow-2);
}
.band::after {
  content: "∞";
  position: absolute;
  right: -20px;
  bottom: -60px;
  font-family: var(--font-display);
  font-size: 15rem;
  line-height: 1;
  color: rgba(192, 242, 74, 0.05);
  pointer-events: none;
}

.cta-panel {
  position: relative;
  text-align: center;
  border-radius: var(--radius-xl);
  padding: clamp(2.6rem, 6vw, 5rem) clamp(1.4rem, 5vw, 4rem);
  background:
    radial-gradient(520px 300px at 50% 0%, rgba(192, 242, 74, 0.22), transparent 60%),
    linear-gradient(160deg, #173a25, #0d2417 70%);
  border: 1px solid rgba(192, 242, 74, 0.25);
  box-shadow: var(--shadow-2);
  overflow: clip;
}
.cta-panel h2 { font-size: clamp(1.8rem, 5.4vw, 3rem); }
.cta-panel p { color: var(--muted); max-width: 46em; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: border-color 0.25s, background 0.25s;
}
.faq-item[open] { border-color: rgba(192, 242, 74, 0.45); background: var(--panel-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--lime);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-item summary .chev svg { width: 15px; height: 15px; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--lime); color: #0a150c; }
.faq-item .faq-body { padding: 0 1.3rem 1.3rem; color: var(--muted); font-size: 0.97rem; }

/* ---------- Prose (članek) ---------- */
.prose { max-width: 780px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; color: var(--text); }
.prose p, .prose li { color: var(--text-dim); }
.prose ul { display: grid; gap: 0.6em; padding-left: 0.2em; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(192, 242, 74, 0.15);
}
.prose blockquote {
  margin: 1.8em 0;
  padding: 1.3rem 1.6rem;
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  background: rgba(192, 242, 74, 0.06);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.13rem;
  color: var(--text);
}
.prose a:not(.btn) { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.prose a:not(.btn):hover { color: var(--teal); }
.prose strong { color: var(--text); }

/* Povezava znotraj odstavka (zunaj .prose) */
.txt-link {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.txt-link:hover { color: var(--lime); }

/* Tabele */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 620px;
}
thead { background: rgba(192, 242, 74, 0.06); }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-display); font-size: 0.88rem; letter-spacing: 0.02em; color: var(--text); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
td .tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
}
.tag.good { background: rgba(192, 242, 74, 0.14); color: var(--lime); }
.tag.warn { background: rgba(255, 200, 87, 0.14); color: var(--amber); }
.tag.info { background: rgba(125, 227, 247, 0.14); color: var(--aqua); }

/* Opozorilna polja */
.note {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-m);
  border: 1px solid rgba(125, 227, 247, 0.3);
  background: rgba(125, 227, 247, 0.07);
  font-size: 0.95rem;
  color: var(--text-dim);
}
.note svg { flex: none; width: 20px; height: 20px; color: var(--aqua); margin-top: 2px; }
.note.warn { border-color: rgba(255, 200, 87, 0.35); background: rgba(255, 200, 87, 0.07); }
.note.warn svg { color: var(--amber); }
.note.good { border-color: rgba(192, 242, 74, 0.35); background: rgba(192, 242, 74, 0.07); }
.note.good svg { color: var(--lime); }

/* ---------- Sistemi: prednosti/slabosti na kartici ---------- */
.sys-detail {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.sys-detail div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.sys-detail svg {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--lime);
  margin-top: 2px;
}
.sys-detail .neg svg { color: var(--coral); }
.sys-detail b { color: var(--text-dim); }

/* ---------- Vodnik: koraki ---------- */
.guide { display: grid; gap: 18px; }
.gs {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 2.6vw, 1.9rem);
  align-items: start;
  background: linear-gradient(170deg, var(--panel-2), var(--panel) 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.3rem, 2.6vw, 2rem);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
@media (hover: hover) {
  .gs:hover { border-color: var(--line-strong); transform: translateX(4px); }
}
.gs h3 { margin-bottom: 0.4rem; }
.gs p { color: var(--muted); font-size: 0.98rem; }
.gs-num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--lime);
  background: var(--grad-soft);
  border: 1px solid rgba(192, 242, 74, 0.4);
  box-shadow: 0 10px 26px -14px rgba(192, 242, 74, 0.5);
}

/* ---------- Trak s ključnimi dejstvi (marquee) ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(192, 242, 74, 0.05);
  overflow: clip;
  padding: 0.9rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3.2rem;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.marquee-track .star { color: var(--lime); font-size: 0.9rem; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Noga ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  padding: clamp(2.6rem, 6vw, 4.5rem) 0 1.6rem;
  margin-top: clamp(1rem, 3vw, 3rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding-bottom: 2.4rem;
}
.footer-grid h4 {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer-grid p, .footer-grid li { font-size: 0.94rem; color: var(--muted); }
.footer-grid ul { display: grid; gap: 0.6rem; }
.footer-grid ul a { transition: color 0.2s; }
.footer-grid ul a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.footer-note { display: flex; align-items: flex-start; gap: 10px; }
.footer-note svg { flex: none; width: 17px; height: 17px; color: var(--lime); margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-size: 0.86rem;
  color: var(--faint);
  text-align: center;
}
.footer-bottom .heart { color: var(--coral); }

/* ---------- Reveal ob pomiku ---------- */
/* Vsebina je vedno vidna (SEO/AI prijazno); ob vstopu v vidno polje
   se predvaja zgolj kratka animacija dviga. */
.js .reveal.in-view { animation: rise 0.7s var(--ease); }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Drsnik ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: #1d3a2a;
  border-radius: 99px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: #2a5440; }

/* ============================================================
   Izboljšave za večje zaslone (mobile-first navzgor)
   ============================================================ */

/* ≥560: koraki v vodniku v dveh stolpcih */
@media (min-width: 560px) {
  .gs { grid-template-columns: auto 1fr; }
  .gs-num { width: 58px; height: 58px; border-radius: 18px; font-size: 1.55rem; }
}

/* ≥641: mreže in noga v več stolpcev, gumbi v vrsto */
@media (min-width: 641px) {
  body { font-size: 1.02rem; }

  .btn-row { flex-direction: row; align-items: center; }
  .btn-row .btn { width: auto; }

  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: space-between; text-align: left; }
}

/* ≥941: namizna navigacija ter dvostolpčni odseki */
@media (min-width: 941px) {
  .nav-wrap { gap: 20px; }
  .nav-links {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
    max-height: none;
  }
  .nav-links a {
    display: block;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    background: transparent;
  }
  .nav-links a.active { background: transparent; }
  .nav-links a.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-main);
  }
  .nav-cta { display: inline-flex; }
  .nav-cta .btn { padding: 11px 20px; font-size: 0.9rem; }
  .nav-toggle { display: none; }
  html.no-js .nav-cta { display: inline-flex; }

  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
  .hero-visual { width: 100%; }
  .hero-stats { gap: clamp(1.4rem, 3vw, 2.6rem); }

  .split { grid-template-columns: 1fr 1fr; }
  .split.rev > :first-child { order: 2; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(1.6rem, 4vw, 3rem); }
}

/* ≥1081: polne štiri stolpce */
@media (min-width: 1081px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Zmanjšano gibanje ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js .reveal.in-view { animation: none; }
}
