/* ==========================================================================
   WARDUS SECURITY CONSULTING — stylesheet
   Design system: ink/paper neutrals + signal-blue accent (with a violet
   gradient partner spent only in dark hero/CTA moments), Archivo / IBM Plex
   Sans / IBM Plex Mono type system. Single committed visual world
   (light institutional, ink bookends) — colors declared explicitly so the
   page holds regardless of host theme.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root{
  /* neutrals */
  --ink: #14161b;
  --ink-2: #0e1015;
  --paper: #f6f5f0;
  --paper-raised: #ffffff;
  --steel: #8d919b;
  --steel-line: #dedcd4;
  --text: #23252b;
  --text-body: #3c3e45;
  --text-muted: #6b6e76;

  /* on dark */
  --on-dark: #f3f2ed;
  --on-dark-muted: #a3a7b2;
  --on-dark-line: rgba(255,255,255,0.14);
  --on-dark-line-soft: rgba(255,255,255,0.08);

  /* accent — signal blue (the one accent used everywhere) */
  --accent: #2454c7;
  --accent-deep: #15327e;
  --accent-bright: #5c86ff;
  --accent-soft: #e7ecfa;
  --accent-soft-line: #c9d5f2;

  /* accent 2 — signal violet, spent only in dark hero/CTA gradients */
  --accent-2-bright: #a78bfa;
  --accent-2-mid: #7c5cff;

  /* type */
  --f-display: "Archivo", "Arial Narrow", Helvetica, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --fs-h1: clamp(2.5rem, 1.55rem + 4.2vw, 4.35rem);
  --fs-h2: clamp(1.9rem, 1.45rem + 2vw, 2.65rem);
  --fs-h3: 1.32rem;
  --fs-lead: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-eyebrow: 0.8rem;

  --container: 1152px;
  --pad: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  --section-pad: clamp(4.5rem, 3.6rem + 4vw, 8rem);

  --radius: 3px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body{ margin: 0; }
img, svg, canvas{ display: block; max-width: 100%; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p,figure{ margin: 0; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select{ font: inherit; color: inherit; }
:focus-visible{ outline: 2px solid var(--accent-bright); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Base ---------- */
body{
  background: var(--paper);
  color: var(--text-body);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

h1, h2, h3{
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
  letter-spacing: -0.015em;
}

.text-gradient{
  background-image: linear-gradient(100deg, var(--accent-bright) 0%, var(--accent-bright) 62%, var(--accent-2-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before{
  content: "";
  width: 1.1em;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.on-dark{ color: var(--accent-bright); }

.eyebrow-live .dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot{
  0%{ box-shadow: 0 0 0 0 rgba(92,134,255,0.55); }
  70%{ box-shadow: 0 0 0 8px rgba(92,134,255,0); }
  100%{ box-shadow: 0 0 0 0 rgba(92,134,255,0); }
}

.breadcrumb{
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--on-dark-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a{ transition: color .2s var(--ease); }
.breadcrumb a:hover{ color: var(--on-dark); }
.breadcrumb .sep{ opacity: 0.45; }
.breadcrumb .current{ color: var(--on-dark); }

.section-head{
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 1.9rem + 1.5vw, 3.5rem);
}
.section-head h2{ margin-top: 0.65rem; }
.section-head p{ margin-top: 1rem; font-size: var(--fs-lead); color: var(--text-muted); max-width: 42rem; }
.section-head.center{ margin-inline: auto; text-align: center; }
.section-head.center p{ margin-inline: auto; }

.section-link{
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}
.section-link svg{ width: 0.9em; height: 0.9em; transition: transform .2s var(--ease); }
.section-link:hover svg{ transform: translateX(3px); }

.hairline{
  border: 0;
  border-top: 1px solid var(--steel-line);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.5em;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg{ width: 1em; height: 1em; flex: none; transition: transform 0.2s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

.btn-primary{
  position: relative;
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease);
}
.btn-primary:hover{ background: var(--accent-deep); }
.btn-primary:hover::after{ transform: translateX(130%); }

.btn-ghost{
  border-color: var(--steel-line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover{ border-color: var(--ink); }

.btn-on-dark{
  border-color: var(--on-dark-line);
  color: var(--on-dark);
}
.btn-on-dark:hover{ border-color: var(--on-dark); background: rgba(255,255,255,0.06); }

.btn-block{ width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), padding-block 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.site-header.is-scrolled{
  background: rgba(20, 22, 27, 0.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--on-dark-line-soft);
  padding-block: 0.75rem;
}

.brand{ display: flex; align-items: center; gap: 0.65rem; }
.brand-mark{ width: 34px; height: 34px; flex: none; }
.brand-text{ display: flex; flex-direction: column; line-height: 1; }
.brand-word{
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--on-dark);
}
.brand-sub{
  font-family: var(--f-mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-top: 0.25em;
}

.main-nav{ display: flex; align-items: center; gap: 1.65rem; }
.main-nav a:not(.btn){
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  transition: color 0.2s var(--ease);
  padding-bottom: 0.2rem;
}
.main-nav a:not(.btn)::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:not(.btn):hover{ color: var(--on-dark); }
.main-nav a:not(.btn):hover::after{ transform: scaleX(1); }
.main-nav a.is-active{ color: var(--on-dark); }
.main-nav a.is-active::after{ transform: scaleX(1); background: var(--accent-bright); }

.nav-toggle{ display: none; width: 40px; height: 40px; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: ""; display: block; width: 20px; height: 2px; background: var(--on-dark); position: relative; transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }

/* ---------- Dark gradient atmosphere (hero + page-hero + cta-band) ---------- */
.atmosphere{ position: relative; overflow: clip; }
.atmosphere::before, .atmosphere::after{
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}
.atmosphere::before{
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  right: -6%; top: -14%;
  background: radial-gradient(circle, rgba(36,84,199,0.55), rgba(36,84,199,0) 70%);
  animation: driftA 26s ease-in-out infinite;
}
.atmosphere::after{
  width: 34vw; height: 34vw; max-width: 460px; max-height: 460px;
  left: 4%; bottom: -18%;
  background: radial-gradient(circle, rgba(124,92,255,0.24), rgba(124,92,255,0) 70%);
  animation: driftB 32s ease-in-out infinite;
}
@keyframes driftA{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(-4%, 5%) scale(1.08); }
}
@keyframes driftB{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(5%, -4%) scale(1.1); }
}
.atmosphere .grain{
  position: absolute; inset: 0;
  background-image: var(--noise);
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.atmosphere > .container{ position: relative; z-index: 2; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: radial-gradient(120% 90% at 78% 8%, #1b2030 0%, var(--ink) 55%, var(--ink-2) 100%);
  color: var(--on-dark);
  padding-top: clamp(9rem, 7rem + 6vw, 12.5rem);
  padding-bottom: clamp(5rem, 4rem + 4vw, 7.5rem);
}
.hero-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  z-index: 1;
}
.hero-glow{
  position: absolute;
  left: 0; top: 0;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(92,134,255,0.22), rgba(92,134,255,0) 68%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce), (hover: none){
  .hero-glow{ display: none; }
}
.hero-particles{
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles span{
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 7px 1px rgba(92,134,255,0.55);
  opacity: 0;
  animation-name: floatParticle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.hero-particles span.violet{
  background: var(--accent-2-bright);
  box-shadow: 0 0 7px 1px rgba(167,139,250,0.5);
}
@keyframes floatParticle{
  0%{ transform: translateY(0) scale(0.7); opacity: 0; }
  12%{ opacity: 0.65; }
  55%{ opacity: 0.85; }
  100%{ transform: translateY(-110px) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .hero-particles{ display: none; }
}
.hero-inner{ max-width: 44rem; }
.hero h1{
  color: var(--on-dark);
  font-size: var(--fs-h1);
  margin-top: 1rem;
}
.hero-lead{
  margin-top: 1.5rem;
  font-size: var(--fs-lead);
  color: var(--on-dark-muted);
  max-width: 38rem;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  position: relative;
  background: radial-gradient(120% 90% at 80% 0%, #1b2030 0%, var(--ink) 55%, var(--ink-2) 100%);
  color: var(--on-dark);
  padding-top: clamp(7.5rem, 6.2rem + 4.5vw, 10rem);
  padding-bottom: clamp(3rem, 2.4rem + 2.5vw, 4.5rem);
}
.page-hero-inner{ max-width: 42rem; }
.page-hero h1{ color: var(--on-dark); font-size: var(--fs-h2); margin-top: 0.65rem; }
.page-hero p{ margin-top: 1.1rem; font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 38rem; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 3rem + 2vw, 5rem);
}
.cta-band-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band-text{ max-width: 32rem; }
.cta-band h2{ color: var(--on-dark); font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.2rem); }
.cta-band p{ color: var(--on-dark-muted); margin-top: 0.6rem; }
.cta-band-actions{ display: flex; gap: 1rem; flex-wrap: wrap; flex: none; }

/* ---------- Trust strip ---------- */
.trust{
  background: var(--paper-raised);
  border-bottom: 1px solid var(--steel-line);
  padding-block: 2.1rem;
}
.trust .container{
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 1rem + 2vw, 3rem);
  flex-wrap: wrap;
}
.trust-label{
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  flex: none;
}
.trust-track-wrap{
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-track{
  display: flex;
  width: max-content;
  gap: clamp(1.1rem, 0.9rem + 1.5vw, 2.4rem);
  animation: trustScroll 24s linear infinite;
}
.trust-track:hover{ animation-play-state: paused; }
@keyframes trustScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.trust-track li{
  font-family: var(--f-mono);
  font-size: 0.86rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce){
  .trust-track{ animation: none; flex-wrap: wrap; width: 100%; }
  .trust-track-wrap{ -webkit-mask-image: none; mask-image: none; }
  .trust-track [aria-hidden="true"]{ display: none; }
}

/* ---------- Generic section ---------- */
section{ padding-block: var(--section-pad); }
.section-paper{ background: var(--paper); }
.section-raised{ background: var(--paper-raised); border-block: 1px solid var(--steel-line); }
.section-tint{ background: linear-gradient(180deg, var(--accent-soft), #eef1fb); border-block: 1px solid var(--accent-soft-line); }
.section-dark{ background: var(--ink); color: var(--on-dark); }
.section-tight{ padding-block: clamp(3.5rem, 3rem + 2vw, 5.5rem); }

/* ---------- Corner-frame hover detail (scan reticle) ---------- */
.corner-frame{ position: relative; }
.corner-frame::before{
  content: "";
  position: absolute;
  inset: 10px;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top left / 2px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 2px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 2px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 2px 14px no-repeat;
  opacity: 0;
  transition: opacity 0.25s var(--ease), inset 0.25s var(--ease);
  pointer-events: none;
}
.corner-frame:hover::before, .corner-frame:focus-within::before{ opacity: 1; inset: 6px; }

/* ---------- Pristup (3 levels) ---------- */
.levels{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--steel-line);
  border: 1px solid var(--steel-line);
}
.level{
  position: relative;
  overflow: hidden;
  background: var(--paper-raised);
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.level-ghost{
  position: absolute;
  right: 0.4rem;
  bottom: -1.15rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}
.level-index{
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 500;
}
.level h3{ font-size: var(--fs-h3); }
.level p{ color: var(--text-muted); font-size: var(--fs-sm); position: relative; }

/* ---------- Usluge (services cards) ---------- */
.cards{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.card{
  background: var(--paper-raised);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover{ border-color: var(--accent); transform: translateY(-3px); }
.card-tag{
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.card h3{ font-size: 1.15rem; line-height: 1.25; }
.card p{ color: var(--text-muted); font-size: var(--fs-sm); flex: 1; }
.card-cta{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 0.25rem;
}
.card-cta svg{ width: 0.9em; height: 0.9em; transition: transform .2s var(--ease); }
.card:hover .card-cta svg{ transform: translateX(3px); }

/* Edukacije sub-panel */
.edu-panel{
  margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 1.5rem + 1.5vw, 3rem);
}
.edu-head{ max-width: 40rem; margin-bottom: 2rem; }
.edu-head h3{ font-size: 1.4rem; margin-top: 0.5rem; }
.edu-head p{ color: var(--text-muted); margin-top: 0.75rem; font-size: var(--fs-sm); }
.edu-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.edu-item{
  background: var(--paper-raised);
  border: 1px solid var(--accent-soft-line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.edu-item .card-tag{ color: var(--accent); }
.edu-item h4{ font-family: var(--f-display); font-size: 1.05rem; color: var(--ink); margin-top: 0.6rem; font-weight: 700; }
.edu-item p{ margin-top: 0.6rem; color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Za koga radim ---------- */
.audience{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--steel-line);
  border: 1px solid var(--steel-line);
}
.audience-item{
  background: var(--paper-raised);
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
}
.audience-item h3{ font-size: 1.1rem; }
.audience-item p{ margin-top: 0.65rem; color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- Za partnere ---------- */
.partners-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.partners-top .section-head{ margin-bottom: 0; }
.partner-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.partner-item{
  position: relative;
  padding: 1.25rem 0.75rem 1.5rem 0;
  border-top: 2px solid var(--accent);
}
.partner-num{ font-family: var(--f-mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.08em; }
.partner-item h3{ font-size: 1.05rem; margin-top: 0.6rem; }
.partner-item p{ margin-top: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }

/* ---------- O meni ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 1.6rem + 2vw, 4rem);
  align-items: start;
}
.about-body p{ margin-top: 1.1rem; color: var(--text-body); }
.about-body p:first-of-type{ margin-top: 0; }
.about-callout{
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--steel-line);
}
.about-callout h3{ font-size: 1.2rem; }
.about-callout p{ margin-top: 0.5rem; color: var(--text-muted); }

.qual-card{
  background: var(--paper-raised);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  position: sticky;
  top: 6.5rem;
}
.qual-card .eyebrow{ margin-bottom: 1.1rem; }
.qual-list li{
  display: flex;
  gap: 0.75rem;
  padding-block: 0.65rem;
  border-top: 1px solid var(--steel-line);
  font-size: 0.9rem;
  color: var(--text-body);
}
.qual-list li:first-child{ border-top: 0; }
.qual-list li::before{
  content: "";
  flex: none;
  width: 6px; height: 6px;
  margin-top: 0.5em;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Mini teasers (homepage) ---------- */
.mini-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.mini-card{
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.mini-card:hover{ border-color: var(--accent); transform: translateY(-2px); }
.mini-tag{
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.mini-card h3{ font-size: 1.05rem; margin-top: 0.55rem; }
.mini-card p{ font-size: 0.88rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ---------- Koraci (process) ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  position: relative;
}
.steps::before{
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--steel-line);
}
.step{ position: relative; }
.step-num{
  width: 2.15rem; height: 2.15rem;
  display: grid; place-items: center;
  background: var(--paper-raised);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--f-mono);
  font-size: 0.9rem;
  color: var(--ink);
  position: relative;
  z-index: 1;
  margin-bottom: 1.1rem;
}
.step h3{ font-size: 1.1rem; }
.step p{ margin-top: 0.55rem; color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- FAQ ---------- */
.faq-list{ max-width: 46rem; }
.faq-item{
  border-top: 1px solid var(--steel-line);
}
.faq-item:last-child{ border-bottom: 1px solid var(--steel-line); }
.faq-item summary{
  list-style: none;
  cursor: pointer;
  padding-block: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-icon{
  flex: none;
  width: 20px; height: 20px;
  position: relative;
}
.faq-icon::before, .faq-icon::after{
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity .25s var(--ease);
}
.faq-icon::before{ top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after{ left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after{ opacity: 0; transform: translateX(-50%) rotate(90deg); }
.faq-item p{ padding-bottom: 1.5rem; color: var(--text-muted); max-width: 40rem; }

/* ---------- Kontakt ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1.6rem + 2vw, 4.5rem);
}
.contact-info-list{ margin-top: 2.25rem; display: flex; flex-direction: column; gap: 1.35rem; }
.contact-info-list li{ display: flex; flex-direction: column; gap: 0.2rem; }
.contact-info-label{
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.contact-info-value{ font-size: 1.05rem; color: var(--on-dark); }
.contact-info-value a:hover{ color: var(--accent-bright); }

.contact-note{
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--on-dark-line);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}

.form-card{
  background: var(--on-dark);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
  color: var(--ink);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field{ display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1.1rem; }
.field:first-child, .form-row .field{ margin-top: 0; }
.form-row + .field{ margin-top: 1.1rem; }
.field label{
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input, .field select, .field textarea{
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: 0.75em 0.85em;
  background: var(--paper);
  font-size: 0.95rem;
  transition: border-color .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--accent); }
.field textarea{ resize: vertical; min-height: 6.5rem; }
.field-check{
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
.field-check input{ margin-top: 0.25rem; flex: none; width: 16px; height: 16px; accent-color: var(--accent); }
.field-check label{ text-transform: none; letter-spacing: normal; font-family: var(--f-body); font-size: 0.86rem; color: var(--text-body); }
.field-check a{ color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-submit{ margin-top: 1.6rem; }
.form-fineprint{ margin-top: 0.9rem; font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink-2);
  color: var(--on-dark-muted);
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) 2rem;
}
.footer-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  border-bottom: 1px solid var(--on-dark-line-soft);
}
.footer-brand-col{ display: flex; flex-direction: column; gap: 0.85rem; }
.footer-credentials{
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
  opacity: 0.85;
}
.footer-nav{ display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-nav a{ font-size: 0.9rem; transition: color .2s var(--ease); }
.footer-nav a:hover{ color: var(--on-dark); }
.footer-bottom{
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
.footer-bottom .brand-word{ font-size: 0.95rem; }

/* ---------- Back to top ---------- */
.to-top{
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  display: grid;
  place-items: center;
  border: 1px solid var(--on-dark-line);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s var(--ease);
  z-index: 80;
}
.to-top svg{ width: 16px; height: 16px; }
.to-top.is-visible{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover{ background: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .main-nav{
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--ink);
    padding: 6rem var(--pad) 2.5rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    transition: transform 0.3s var(--ease);
    z-index: 90;
  }
  .main-nav.is-open{ transform: translateY(0); }
  .main-nav a:not(.btn){ font-size: 1.05rem; }
  .nav-toggle{ display: grid; z-index: 101; }

  .cards{ grid-template-columns: repeat(2, 1fr); }
  .edu-grid{ grid-template-columns: 1fr; }
  .levels{ grid-template-columns: 1fr; }
  .audience{ grid-template-columns: 1fr; }
  .partner-grid{ grid-template-columns: repeat(2, 1fr); }
  .about-grid{ grid-template-columns: 1fr; }
  .qual-card{ position: static; }
  .steps{ grid-template-columns: 1fr; gap: 2rem; }
  .steps::before{ display: none; }
  .contact-grid{ grid-template-columns: 1fr; }
  .cta-band-inner{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px){
  .cards{ grid-template-columns: 1fr; }
  .partner-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .trust .container{ flex-direction: column; align-items: flex-start; }
  .footer-bottom{ flex-direction: column; }
  .footer-top{ flex-direction: column; }
  .to-top{ right: 1rem; bottom: 1rem; width: 40px; height: 40px; }
}
