/* ==========================================================
   Inkrement — privatni časovi
   ========================================================== */

:root {
  --ink: #12142a;
  --ink-2: #2a2e4a;
  --muted: #5d6280;
  --paper: #fbfaf6;
  --card: #ffffff;
  --line: #e9e5da;
  --night: #0d0f22;
  --night-2: #161937;

  --violet: #6b4dff;
  --violet-soft: #efeaff;
  --violet-deep: #4b2fd6;
  --teal: #0aa892;
  --teal-soft: #e0f6f2;
  --teal-deep: #067a6a;
  --amber: #ff9a1f;
  --amber-soft: #fff0dc;
  --amber-deep: #b35f00;
  --coral: #ff5d73;

  --radius: 22px;
  --shadow: 0 1px 2px rgba(18, 20, 42, .05), 0 18px 40px -18px rgba(18, 20, 42, .22);

  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
code, .f { font-family: var(--font-mono); font-weight: 500; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--tint { background: #f3f0e8; }

.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .78rem/1 var(--font-mono);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .i { width: 20px; height: 20px; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 12px 26px -12px var(--coral); }
.btn--ghost { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--line { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--wa { background: #25d366; color: #06301a; }
.btn--viber { background: #7360f2; color: #fff; }
.btn--small { padding: .7em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 34, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #fff;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.22rem/1 var(--font-head); letter-spacing: -.02em; }
.logo__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  font: 700 .86rem/1 var(--font-mono); color: #fff;
  box-shadow: 0 8px 20px -8px var(--violet);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) {
  padding: .55em .8em; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  color: rgba(255, 255, 255, .8);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links .switch { font-family: var(--font-mono); font-size: .8rem; border: 1px solid rgba(255, 255, 255, .18); margin: 0 6px; }
.nav-links .btn { margin-left: 6px; white-space: nowrap; }
.nav-toggle { display: none; }

@media (max-width: 1120px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 12px; border: 0;
    background: rgba(255, 255, 255, .08); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: -16px; right: -16px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px;
    background: var(--night);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: .9em 1em; }
  .nav-links .switch { margin: 6px 0; text-align: center; }
  .nav-links .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden;
  background: var(--night); color: #fff;
}
.hero { padding: clamp(56px, 8vw, 100px) 0 clamp(80px, 10vw, 130px); }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0;
  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: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 65% 35%, #000 25%, transparent 72%);
          mask-image: radial-gradient(ellipse at 65% 35%, #000 25%, transparent 72%);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(20px); }
.glow--a { width: 680px; height: 680px; right: -180px; top: -280px; background: radial-gradient(circle, rgba(107, 77, 255, .5), transparent 62%); }
.glow--b { width: 520px; height: 520px; left: -220px; bottom: -300px; background: radial-gradient(circle, rgba(255, 93, 115, .32), transparent 62%); }
.glow--c { width: 420px; height: 420px; right: 18%; bottom: -260px; background: radial-gradient(circle, rgba(10, 168, 146, .3), transparent 62%); }

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .eyebrow, .page-hero .eyebrow { color: #b9a9ff; }
.hero h1 em, .page-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #b9a9ff, var(--coral) 55%, var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .76); max-width: 580px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.facts li {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .55em 1em; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .88);
}
.facts strong { color: var(--amber); }
.facts .i { width: 18px; height: 18px; color: #b9a9ff; }

/* Stepenice: vizuelni inkrement */
.stairs {
  position: relative; justify-self: end;
  width: 100%; max-width: 500px; aspect-ratio: 1 / 1;
  display: flex; flex-direction: column;
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.stairs__code { font: 500 .88rem/1.5 var(--font-mono); color: rgba(255, 255, 255, .55); }
.stairs__code .k { color: #c792ea; }
.stairs__code .n { color: var(--amber); }
.stairs__code .o { color: var(--coral); }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; margin-top: 34px; }
.bars span {
  --c: var(--violet);
  position: relative; flex: 1;
  height: calc(var(--h) * 15%);
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 30%, transparent));
  transform-origin: bottom;
  animation: grow 1s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--h) * .13s);
}
.bars span:nth-child(3n + 2) { --c: var(--teal); }
.bars span:nth-child(3n) { --c: var(--amber); }
.bars span::before {
  content: "+1"; position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  font: 600 .72rem/1 var(--font-mono); color: rgba(255, 255, 255, .5);
}
.chip {
  position: absolute; z-index: 2;
  padding: .7em 1.05em; border-radius: 14px;
  background: #fff; color: var(--ink);
  font: 500 .9rem/1 var(--font-mono);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .65);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}
.chip--math { top: 20%; left: -30px; border-left: 4px solid var(--violet); }
.chip--code { top: 42%; right: -26px; border-left: 4px solid var(--teal); animation-delay: -2s; }
.chip--phys { bottom: 12%; left: 14%; border-left: 4px solid var(--amber); animation-delay: -4s; }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stairs { justify-self: center; max-width: 420px; }
  .chip--math { left: -4px; }
  .chip--code { right: -4px; }
}
@media (max-width: 480px) {
  .chip { font-size: .78rem; }
}

/* ---------- Zašto Inkrement ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why__mark {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  border-radius: 32px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.why__mark::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .6;
}
.why__big {
  position: relative;
  font: 700 clamp(4rem, 11vw, 8rem)/1 var(--font-mono);
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.why__note {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  font: 500 .85rem/1.5 var(--font-mono); color: var(--muted);
  text-align: center;
}
.why__text > p { color: var(--muted); font-size: 1.1rem; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.checks li { display: flex; gap: 14px; }
.checks .tick { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--violet-soft); color: var(--violet); }
.checks .tick .i { width: 18px; height: 18px; stroke-width: 2.6; }
.checks strong { display: block; font-weight: 800; margin-bottom: 2px; }
.checks span { color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) { .why { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* ---------- O meni ---------- */
.section--flush { padding-top: 0; }
.about {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 72px); align-items: center;
  padding: clamp(32px, 6vw, 68px);
  border-radius: 36px;
  background: var(--night); color: #fff;
}
.about .glow--a { width: 560px; height: 560px; left: -200px; top: -220px; right: auto; }
.about > :not(.glow) { position: relative; }
.about .eyebrow { color: #b9a9ff; }
.about__text > p { color: rgba(255, 255, 255, .76); font-size: 1.08rem; }
.about__visual { display: grid; place-items: center; padding: 28px 0; }
.about__ring {
  display: grid; place-items: center;
  width: min(280px, 70vw); aspect-ratio: 1;
  border-radius: 50%;
  padding: 10px;
  background: conic-gradient(from 200deg, var(--violet), var(--coral), var(--amber), var(--teal), var(--violet));
  box-shadow: 0 30px 70px -30px var(--violet);
}
.about__monogram, .about__ring img {
  display: grid; place-items: center;
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover;
  background: radial-gradient(circle at 30% 25%, #262a55, var(--night) 70%);
  color: #fff;
}
.about__monogram { font: 800 clamp(3.4rem, 9vw, 5rem)/1 var(--font-head); letter-spacing: -.04em; }
.about__monogram b { font-weight: 800; background: linear-gradient(135deg, #b9a9ff, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about h2 { margin-bottom: .2em; }
.about__role { font: 600 1.15rem/1.4 var(--font-body); color: #ffc77a !important; margin-bottom: 1.2em; }
.about__badge {
  position: absolute;
  padding: .65em 1.05em; border-radius: 14px;
  background: #fff; color: var(--ink);
  font: 700 .85rem/1 var(--font-body);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.about__badge--a { top: 12%; left: 0; border-left: 4px solid var(--amber); }
.about__badge--b { bottom: 12%; right: 0; border-left: 4px solid var(--teal); animation-delay: -3s; }
.creds { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.creds li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.creds__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--violet), var(--coral)); }
.creds__icon .i { width: 22px; height: 22px; }
.creds strong { display: block; font-weight: 800; }
.creds span { color: rgba(255, 255, 255, .65); font-size: .93rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- Predmeti ---------- */
.subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.subject {
  --c: var(--violet); --soft: var(--violet-soft); --deep: var(--violet-deep);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 34px 32px 30px;
  border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.subject > * { position: relative; z-index: 1; }
.subject::after {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--soft);
  transition: transform .5s ease;
}
.subject:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.subject:hover::after { transform: scale(1.35); }
.subject--code { --c: var(--teal); --soft: var(--teal-soft); --deep: var(--teal-deep); }
.subject--phys { --c: var(--amber); --soft: var(--amber-soft); --deep: var(--amber-deep); }
.subject__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 18px;
  background: var(--c); color: #fff;
  margin-bottom: 26px;
  box-shadow: 0 12px 24px -12px var(--c);
}
.subject__icon .i { width: 28px; height: 28px; }
.subject h3 { font-size: 1.45rem; }
.subject p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: auto 0 0; }
.tags li { font-size: .8rem; font-weight: 700; padding: .42em .85em; border-radius: 999px; background: var(--soft); color: var(--deep); }
.subject__more { display: inline-flex; align-items: center; gap: .4em; margin-top: 24px; font-weight: 800; color: var(--deep); }
.subject__more .i { width: 18px; height: 18px; transition: transform .25s; }
.subject:hover .subject__more .i { transform: translateX(4px); }
@media (max-width: 980px) { .subjects { grid-template-columns: 1fr; } }

/* ---------- Pripreme ---------- */
.prep {
  position: relative; overflow: hidden;
  border-radius: 36px;
  padding: clamp(36px, 6vw, 72px);
  background: linear-gradient(135deg, #2b1a8f, var(--violet) 55%, #8e5bff);
  color: #fff;
}
.prep::before {
  content: "Σ"; position: absolute; right: -10px; top: -90px;
  font: 700 22rem/1 var(--font-head); color: rgba(255, 255, 255, .06);
  pointer-events: none;
}
.prep .eyebrow { color: #ffd59e; }
.prep__head { position: relative; max-width: 640px; margin-bottom: 40px; }
.prep__head p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; }
.prep__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prep-card {
  padding: 30px; border-radius: 24px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px);
}
.prep-card__tag { display: inline-block; font: 600 .75rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: .5em .8em; border-radius: 8px; background: rgba(255, 255, 255, .14); margin-bottom: 18px; }
.prep-card h3 { font-size: 1.4rem; }
.prep-card p { color: rgba(255, 255, 255, .8); margin: 0; }
.prep__cta { position: relative; margin-top: 32px; }
@media (max-width: 760px) { .prep__grid { grid-template-columns: 1fr; } }

/* ---------- Načini rada ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mode { padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.mode__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 22px; background: var(--ink); color: #fff; }
.mode:nth-child(2) .mode__icon { background: var(--coral); }
.mode:nth-child(3) .mode__icon { background: var(--teal); }
.mode p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }

/* ---------- Cene ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 28px;
  background: var(--card); border: 1px solid var(--line);
}
.tier > :not(.glow) { position: relative; }
.tier__time { font: 600 .85rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.tier__price { display: flex; align-items: baseline; gap: .25em; margin: 18px 0 14px; font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-head); letter-spacing: -.04em; }
.tier__price small { font-size: .36em; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.tier__desc { color: var(--muted); margin-bottom: 28px; flex: 1; }
.tier--featured { background: var(--night); color: #fff; border-color: var(--night); box-shadow: 0 30px 60px -30px rgba(107, 77, 255, .7); }
.tier--featured .glow--a { width: 420px; height: 420px; top: -200px; right: -160px; }
.tier--featured .tier__time { color: #b9a9ff; }
.tier--featured .tier__price small, .tier--featured .tier__desc { color: rgba(255, 255, 255, .7); }
.tier__badge {
  position: absolute !important; top: 22px; right: 22px;
  padding: .45em .8em; border-radius: 999px;
  background: var(--coral); color: #fff;
  font: 700 .75rem/1 var(--font-body);
}
.group-note {
  display: flex; gap: 20px; align-items: center;
  margin-top: 24px; padding: 26px 30px;
  border-radius: 24px;
  background: var(--teal-soft);
}
.group-note__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--teal); color: #fff; }
.group-note h3 { margin-bottom: 4px; }
.group-note p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .group-note { flex-direction: column; align-items: flex-start; } }

/* ---------- Koraci ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step code { display: inline-block; margin-bottom: 20px; padding: .4em .7em; border-radius: 8px; font-size: .85rem; background: var(--violet-soft); color: var(--violet-deep); }
.step:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.step:last-child code { background: var(--coral); color: #fff; }
.step:last-child p { color: rgba(255, 255, 255, .7); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pitanja ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--violet-soft); color: var(--violet);
  font: 600 1.2rem/1 var(--font-mono);
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact .eyebrow { color: #b9a9ff; }
.contact__text > p { color: rgba(255, 255, 255, .74); font-size: 1.1rem; }
.phone-big {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 18px 0 26px;
  font: 700 clamp(1.6rem, 4vw, 2.4rem)/1 var(--font-head); letter-spacing: -.02em;
  text-decoration: none;
}
.phone-big .i { width: 30px; height: 30px; color: var(--coral); }
.contact__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__meta { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; }
.contact__meta li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .78); }
.contact__meta .i { color: #b9a9ff; width: 20px; height: 20px; }

.form { padding: clamp(26px, 4vw, 38px); border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.form h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85em 1em;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font: 500 1rem/1.4 var(--font-body); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.form__hint { margin: 12px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: #080918; color: rgba(255, 255, 255, .7); padding: 64px 0 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer h4 { font: 700 .8rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .85rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Stranice predmeta ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; }
.page-hero--math .glow--a { background: radial-gradient(circle, rgba(107, 77, 255, .55), transparent 62%); }
.page-hero--code .glow--a { background: radial-gradient(circle, rgba(10, 168, 146, .5), transparent 62%); }
.page-hero--phys .glow--a { background: radial-gradient(circle, rgba(255, 154, 31, .45), transparent 62%); }
.page-hero--code .eyebrow { color: #6ee7d4; }
.page-hero--phys .eyebrow { color: #ffc77a; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; padding: 0; margin: 0 0 28px; font-size: .88rem; color: rgba(255, 255, 255, .55); }
.crumbs li + li::before { content: "/"; margin-right: .5em; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.formulas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.formulas span { padding: .6em 1em; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font: 500 .92rem/1 var(--font-mono); color: rgba(255, 255, 255, .9); }

.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.levels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.level { padding: clamp(28px, 4vw, 40px); border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.level__tag { display: inline-block; margin-bottom: 18px; padding: .45em .85em; border-radius: 8px; font: 600 .78rem/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; background: var(--soft, var(--violet-soft)); color: var(--deep, var(--violet-deep)); }
.level h3 { font-size: 1.5rem; }
.level > p { color: var(--muted); }
.topics { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.topics li { position: relative; padding-left: 30px; }
.topics li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 14px; height: 14px; border-radius: 5px;
  background: var(--c, var(--violet));
  box-shadow: 4px 4px 0 var(--soft, var(--violet-soft));
}
.topics strong { font-weight: 800; }
.theme-math { --c: var(--violet); --soft: var(--violet-soft); --deep: var(--violet-deep); }
.theme-code { --c: var(--teal); --soft: var(--teal-soft); --deep: var(--teal-deep); }
.theme-phys { --c: var(--amber); --soft: var(--amber-soft); --deep: var(--amber-deep); }
.theme-oet { --c: var(--coral); --soft: #ffe6ea; --deep: #c22c45; }
@media (max-width: 900px) { .levels { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature--one { grid-template-columns: 1fr; }
.highlight {
  position: relative; overflow: hidden;
  padding: clamp(30px, 4vw, 44px); border-radius: 28px;
  background: var(--c); color: #fff;
}
.highlight::after { content: attr(data-mark); position: absolute; right: 18px; bottom: -36px; font: 700 9rem/1 var(--font-mono); color: rgba(255, 255, 255, .12); pointer-events: none; }
.highlight h3 { font-size: 1.6rem; }
.highlight p, .highlight li { color: rgba(255, 255, 255, .86); }
.highlight ul { padding-left: 1.1em; margin: 16px 0 0; display: grid; gap: 8px; }
.highlight .eyebrow { color: rgba(255, 255, 255, .8); }
.highlight--dark { background: var(--ink); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

.split-title { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; }
.split-title__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: var(--c); color: #fff; flex: none; box-shadow: 0 14px 28px -14px var(--c); }
.split-title__icon .i { width: 30px; height: 30px; }
.split-title h2 { margin: 0; }
.split-title p { margin: 4px 0 0; color: var(--muted); }

.cta-band {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 32px;
  background: linear-gradient(120deg, var(--night), var(--night-2));
  color: #fff;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .72); }
.cta-band__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Animacije pri skrolovanju ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

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

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .why__big { font-size: clamp(5rem, 16vw, 10rem); }
