/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESET
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TMAVÉ TÉMA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root, [data-theme="dark"] {
  --bg:          #0a0a0a;
  --bg2:         #161616;
  --card:        #1a1a1a;
  --card2:       #202020;
  --border:      #2a2a2a;
  --border2:     #353535;
  --accent1:     #86efac;
  --accent2:     #7dd3fc;
  --text:        #f0f0f0;
  --muted:       #888;
  --muted2:      #555;
  --danger:      #f87171;
  --nav-bg:      rgba(14,14,14,0.88);
  --overlay:     rgba(0,0,0,0.6);
  --shadow:      0 12px 48px rgba(0,0,0,0.6);
  --shadow-sm:   0 2px 12px rgba(65, 141, 154, 0.2);
  --grad:        linear-gradient(135deg, var(--accent1), var(--accent2));
  --glass-bg:    rgba(18,18,18,0.72);
  --glass-border:rgba(255,255,255,0.08);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SVĚTLÉ TÉMA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
[data-theme="light"] {
  --bg:           #f4f7f9;
  --bg2:          #ffffff;
  --card:         #ffffff;
  --card2:        #fdfdfd;
  --text:         #2d3748;
  --muted:        #718096;
  --muted2:       #a0aec0;
  --accent1:      #86efac;
  --accent2:      #7dd3fc;
  --border:       rgba(0, 0, 0, 0.05);
  --border2:      rgba(0, 0, 0, 0.08);
  --shadow:       0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --shadow-sm:    0 2px 8px rgba(125, 211, 252, 0.2);
  --grad:         linear-gradient(135deg, var(--accent1), var(--accent2));
  --nav-bg:       rgba(255, 255, 255, 0.85);
  --glass-bg:     rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
  --overlay:      rgba(0,0,0,0.45);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BASE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: .25;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LOGO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.logo {
  font-family: 'Space Mono', monospace;
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.03em;
  text-decoration: none; display: inline-flex; align-items: center;
}
.logo-side   { color: var(--accent1); }
.logo-quests { color: var(--accent2); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAV
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: none;
  background: var(--nav-bg);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: background .3s, border-color .3s;
}
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-brigady-link {
  font-family: 'Space Mono', monospace; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav-brigady-link:hover { color: var(--text); }

.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 28px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.hamburger span {
  display: block; height: 2px; width: 100%; background: var(--muted);
  border-radius: 2px; transition: background .2s, transform .2s, opacity .2s;
}
.hamburger:hover span { background: var(--accent1); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MENU OVERLAY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; justify-content: flex-end; align-items: flex-start;
  padding: 4.5rem 1.25rem 1.25rem;
  background: var(--overlay); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

.menu-panel {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 16px; width: min(340px, calc(100vw - 2.5rem));
  height: calc(100vh - 4.5rem - 1.25rem);
  display: flex; flex-direction: column; padding: 1.5rem 1.75rem 1.5rem;
  backdrop-filter: blur(28px) saturate(1.6); -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px var(--glass-border);
  transform: translateY(-12px) scale(0.97); transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow: hidden; color: var(--text);
}
.menu-overlay.open .menu-panel { transform: translateY(0) scale(1); }

.menu-panel-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1.25rem; margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
}
.menu-logo { font-size: 1.1rem; }
.menu-close {
  width: 32px; height: 32px; background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border); border-radius: 8px; cursor: pointer;
  color: var(--text); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: color .2s, background .2s; flex-shrink: 0;
}
.menu-close:hover { background: rgba(255,255,255,0.14); }

.menu-nav { flex: 1; display: flex; flex-direction: column; padding: 0.25rem 0; overflow-y: auto; }
.menu-link {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 0;
  border-bottom: 1px solid var(--glass-border); text-decoration: none;
  color: var(--text); font-size: 1.05rem; font-weight: 700; transition: color .2s;
}
.menu-link:last-child { border-bottom: none; }
.menu-link:hover { color: var(--accent1); }
.menu-link:hover .menu-link-arrow { opacity: 1; transform: translateX(0); }
.menu-link-num { font-family: 'Space Mono', monospace; font-size: 0.62rem; color: var(--muted); width: 20px; flex-shrink: 0; }
.menu-link-text { flex: 1; }
.menu-link-arrow {
  font-family: 'Space Mono', monospace; font-size: 0.85rem; color: var(--accent1);
  opacity: 0; transform: translateX(-6px); transition: all .2s;
}

.menu-panel-foot {
  padding-top: 1.25rem; border-top: 1px solid var(--glass-border);
  display: flex; flex-direction: column; gap: 0.75rem; flex-shrink: 0; position: relative; z-index: 1;
}
.menu-theme-row { display: flex; align-items: center; justify-content: space-between; }
.menu-theme-label { font-family: 'Space Mono', monospace; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--text); font-weight: 700; }

.theme-toggle {
  position: relative; width: 48px; height: 26px;
  background: var(--border2); border: none; border-radius: 999px; cursor: pointer;
  transition: background .3s; flex-shrink: 0; padding: 0; z-index: 10; pointer-events: all; -webkit-appearance: none;
}
.theme-toggle.light { background: var(--accent1); }
.theme-toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform .3s cubic-bezier(.4,0,.2,1); pointer-events: none;
}
.theme-toggle.light .theme-toggle-thumb { transform: translateX(22px); }

.menu-foot-links { display: flex; flex-direction: column; gap: 0.25rem; }
.menu-foot-copy { font-family: 'Space Mono', monospace; font-size: 0.72rem; color: var(--muted); }
.menu-foot-email { font-family: 'Space Mono', monospace; font-size: 0.78rem; color: var(--text); text-decoration: none; transition: color .2s; }
.menu-foot-email:hover { color: var(--accent1); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 36px 36px; opacity: .35;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 1; flex: 1;
  display: flex; align-items: center;
  max-width: 1200px; width: 100%; margin: 0 auto; padding: 6rem 2rem 3rem; gap: 4rem;
}
.hero-content {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start;
  animation: fadeUp .65s ease both;
}
.hero-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 0.78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Space Mono', monospace; font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700; line-height: 0.95; letter-spacing: -.04em; margin-bottom: 1.4rem;
}
.hero-side   { color: var(--accent1); display: block; }
.hero-quests { color: var(--accent2); display: block; }
.hero-sub { font-size: 1.1rem; color: var(--muted); line-height: 1.75; max-width: 440px; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero-visual {
  position: relative; flex: 0 0 420px; height: 420px;
  animation: fadeUp .65s ease both .15s;
}
.mesh-blob {
  position: absolute; inset: 0;
  border-radius: 40% 60% 55% 45% / 45% 45% 55% 55%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(134,239,172,0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 65%, rgba(125,211,252,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 55% 15%, rgba(134,239,172,0.1) 0%, transparent 50%);
  filter: blur(32px); animation: blobFloat 8s ease-in-out infinite;
}
@keyframes blobFloat {
  0%, 100% { border-radius: 40% 60% 55% 45% / 45% 45% 55% 55%; transform: scale(1); }
  33%       { border-radius: 55% 45% 40% 60% / 55% 40% 60% 45%; transform: scale(1.03); }
  66%       { border-radius: 45% 55% 60% 40% / 40% 60% 45% 55%; transform: scale(0.98); }
}
.hero-cards-float { position: absolute; inset: 0; }
.float-card {
  position: absolute; background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 12px; padding: 0.85rem 1.1rem; box-shadow: 0 8px 32px rgba(0,0,0,0.3); min-width: 180px;
}
.float-card-1 { top: 8%; left: 5%; animation: floatA 6s ease-in-out infinite; }
.float-card-2 { top: 38%; right: 2%; animation: floatB 7s ease-in-out infinite 1s; }
.float-card-3 { bottom: 10%; left: 12%; animation: floatA 8s ease-in-out infinite 2s; }
@keyframes floatA { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(8px); } }
.float-card-cat { font-family: 'Space Mono', monospace; font-size: 0.6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent1); margin-bottom: 0.3rem; }
.float-card-title { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.float-card-meta { font-family: 'Space Mono', monospace; font-size: 0.62rem; color: var(--muted); }

.hero-stats {
  position: relative; z-index: 1;
  display: flex; align-items: stretch; justify-content: center;
  border-top: 1px solid var(--border); background: var(--bg2);
  animation: fadeUp .65s ease both .25s;
}
.hero-stat { flex: 1; max-width: 200px; padding: 1.4rem 1rem; text-align: center; }
.hero-stat-sep { width: 1px; background: var(--border); flex-shrink: 0; }
.hero-stat-n {
  font-family: 'Space Mono', monospace; font-size: 1.55rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-l { font-size: 0.75rem; color: var(--muted); font-family: 'Space Mono', monospace; letter-spacing: .04em; margin-top: .2rem; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TLAČÍTKA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: .82rem;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  padding: .9rem 1.7rem; border-radius: 6px; border: none; cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.btn:hover  { opacity: .84; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #0a0a0a; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--border2); }
.btn-full { width: 100%; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTIONS COMMON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section { border-bottom: 1px solid var(--border); }
.inner { max-width: 1100px; margin: 0 auto; padding: 4.5rem 2rem; }
.sec-head {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 3rem;
  flex-wrap: wrap;
}
.sec-title { font-family: 'Space Mono', monospace; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.sec-line { flex: 1; height: 1px; background: var(--border); min-width: 40px; }
.sec-count { font-family: 'Space Mono', monospace; font-size: 0.78rem; color: var(--muted); white-space: nowrap; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   JAK TO FUNGUJE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.how-section { background: var(--bg2); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.how-item { padding: 2rem; border-right: 1px solid var(--border); }
.how-item:last-child { border-right: none; }
.how-num { font-family: 'Space Mono', monospace; font-size: 0.78rem; color: var(--accent1); letter-spacing: .1em; margin-bottom: .85rem; }
.how-title { font-size: 1.2rem; font-weight: 700; margin-bottom: .65rem; color: var(--text); }
.how-desc  { font-size: 1rem; color: var(--muted); line-height: 1.78; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FILTRY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.filters-wrap {
  display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2.5rem;
  padding: 1.1rem 1.25rem; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
}
.filter-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.filter-row-label { font-family: 'Space Mono', monospace; font-size: 0.68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); width: 42px; flex-shrink: 0; }
.filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter-btn {
  background: var(--card); border: 1px solid var(--border); color: var(--muted);
  font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .42rem .95rem; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--accent1); color: var(--accent1); background: rgba(134,239,172,.06); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GRID & KARTY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.2rem; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.5rem; display: flex; flex-direction: column; gap: .85rem;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  animation: fadeUp .48s ease both;
}
.card:hover { border-color:var(--border2); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card-cat {
  font-family: 'Space Mono', monospace; font-size: 0.65rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent1); background: rgba(134,239,172,.07); border: 1px solid rgba(134,239,172,.18);
  padding: .22rem .65rem; border-radius: 999px;
}
.card-age { font-family: 'Space Mono', monospace; font-size: 0.65rem; color: var(--muted); }
.card-title { font-size: 1.08rem; font-weight: 700; line-height: 1.35; color: var(--text); }
.card-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.68; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: .7rem; flex-wrap: wrap; }
.card-meta-item { display: flex; align-items: center; gap: .35rem; font-size: 0.78rem; color: var(--muted); font-family: 'Space Mono', monospace; }
.card-meta-item svg { flex-shrink: 0; }
.card-meta-wage { color: var(--accent1) !important; font-weight: 700; }
.card-divider { height: 1px; background: var(--border); }
.card-btn {
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  font-family: 'Space Mono', monospace; font-size: 0.72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .7rem 1rem; border-radius: 6px;
  cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: .45rem;
  margin-top: auto; transition: all .2s;
}
.card-btn:hover { background: rgba(134,239,172,.06); border-color: var(--accent1); color: var(--accent1); }
.no-results { text-align: center; padding: 3rem; color: var(--muted); font-size: 0.92rem; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MODALS – BASE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: var(--overlay); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
#email-modal { z-index: 300; }
#question-modal { z-index: 310; }
#contact-modal { z-index: 320; }
#success-modal { z-index: 350; background: rgba(10,10,10,.24); }
#success-modal .modal { z-index: 351; }

.modal {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; width: 100%; position: relative;
  animation: modalIn .28s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow);
  max-height: 88vh; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
@keyframes modalIn {
  from { opacity:0; transform: scale(.95) translateY(14px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}

/* Tlačítko zavřít (✕) – vpravo nahoře, sticky */
.modal-close {
  position: sticky; top: 1rem; float: right; margin: 1rem 1rem 0 0; z-index: 1;
  background: var(--bg2); border: 1px solid var(--border); color: var(--muted);
  width: 32px; height: 32px; border-radius: 6px; cursor: pointer; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; transition: all .2s; flex-shrink: 0;
}
.modal-close:hover { color: var(--text); border-color: var(--border2); }

/* Šipka zpět – vlevo nahoře, sticky */
.modal-close-back {
  position: sticky; top: 1rem; float: left; margin: 1rem 0 0 1rem; z-index: 1;
  background: var(--bg2); border: 1px solid var(--border); color: var(--muted);
  width: 32px; height: 32px; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s; flex-shrink: 0;
}
.modal-close-back:hover { color: var(--text); border-color: var(--border2); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DETAIL MODAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-detail { max-width: 700px; }
.detail-scroll { padding: 1.25rem 2rem 2rem; clear: both; }
.detail-head { margin-bottom: 1.75rem; }
.detail-tags { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.detail-title {
  font-family: 'Space Mono', monospace; font-size: 1.65rem; font-weight: 700;
  line-height: 1.2; letter-spacing: -.03em; color: var(--text); margin-bottom: 1rem;
}
.detail-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.detail-sections { display: flex; flex-direction: column; gap: 1.75rem; border-top: 1px solid var(--border); padding-top: 1.75rem; }
.detail-sec-label { font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .65rem; }
.detail-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.8; }
.detail-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.detail-list li { font-size: 0.92rem; color: var(--muted); line-height: 1.6; padding-left: 1.2rem; position: relative; }
.detail-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent1); font-family: 'Space Mono', monospace; font-size: .72rem; }
.detail-list-req li::before { content: '✓'; color: var(--accent2); }
.detail-foot { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT MODAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Stejná velikost jako originál – max-width 560px */
.modal-contact { max-width: 560px; min-height: 600px; }

.contact-scroll { padding: 1.25rem 2rem 2rem; clear: both; }

.contact-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--accent1);
  margin-bottom: .5rem; display: flex; align-items: center; gap: .35rem;
}
.contact-eyebrow::before {
  content: ''; display: inline-block; width: 14px; height: 1.5px; background: var(--accent1); opacity: .7;
}

.contact-title {
  font-family: 'Space Mono', monospace; font-size: 1.3rem; font-weight: 700;
  line-height: 1.2; letter-spacing: -.025em; color: var(--text); margin-bottom: .35rem;
}
.contact-sub { font-size: 0.85rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; }

.contact-info-block {
  display: flex; flex-direction: column; gap: .65rem;
  padding: 1.25rem; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 1.25rem;
}
.contact-info-row { display: flex; align-items: center; gap: .85rem; justify-content: space-between; }
.contact-info-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px;
  background: rgba(134,239,172,.08); border: 1px solid rgba(134,239,172,.18);
  display: flex; align-items: center; justify-content: center; color: var(--accent1);
}
.contact-info-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1; }
.contact-info-label { font-family: 'Space Mono', monospace; font-size: 0.62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .15rem; }
.contact-info-link {
  display: inline-block; font-size: 0.92rem; font-weight: 700; color: var(--text);
  font-family: 'Space Mono', monospace; text-decoration: none; word-break: break-all;
}
.contact-info-link:hover { color: var(--accent1); }
.contact-copy-btn {
  appearance: none; border: 1px solid var(--border); background: var(--bg2);
  color: var(--muted); width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.contact-copy-btn:hover {
  background: var(--bg2);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
}
.contact-copy-btn:hover svg {
  stroke: rgba(255,255,255,.85);
  fill: none;
}
.contact-copy-btn:active {
  background: rgba(255,255,255,.12);
}
.contact-copy-btn svg { width: 16px; height: 16px; }
.contact-info-divider { height: 1px; background: var(--border); }

.contact-notify-box {
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 1.5rem;
}
.contact-notify-head {
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); background: var(--bg2);
}
.contact-notify-title { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.contact-notify-sub { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }
.contact-notify-body { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .55rem; }

.contact-notify-feature {
  display: flex; align-items: center; gap: .65rem;
  font-size: 0.82rem; color: var(--muted);
}
.contact-notify-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); flex-shrink: 0; }

.contact-cta {
  width: 100%; padding: .88rem 1.5rem;
  background: var(--grad); color: #0a0a0a;
  font-family: 'Space Mono', monospace; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  border: none; border-radius: 9px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: opacity .2s, transform .15s; position: relative; overflow: hidden;
}
.contact-cta:hover { opacity: .88; transform: translateY(-1px); }
.contact-cta::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: left .5s;
}
.contact-cta:hover::after { left: 160%; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   QUESTION MODAL (source survey)
   Menší než contact modal – max-width 420px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-question-new { max-width: 420px; min-height: 550px; }

.qmodal-scroll { padding: 1rem 1.75rem 1.75rem; clear: both; }

.qmodal-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--accent1);
  margin-bottom: .5rem; display: flex; align-items: center; gap: .35rem;
}
.qmodal-eyebrow::before {
  content: ''; display: inline-block; width: 14px; height: 1.5px; background: var(--accent1); opacity: .7;
}
.qmodal-title {
  font-family: 'Space Mono', monospace; font-size: 1.1rem; font-weight: 700;
  line-height: 1.2; letter-spacing: -.025em; color: var(--text); margin-bottom: .3rem;
}
.qmodal-sub { font-size: 0.8rem; color: var(--muted); line-height: 1.62; margin-bottom: 1rem; }

/* Options list */
.qmodal-options {
  display: flex; flex-direction: column; gap: .32rem;
  padding-top: .9rem; border-top: 1px solid var(--border); margin-bottom: .9rem;
}
.qmodal-option { position: relative; cursor: pointer; }
.qmodal-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.qmodal-option-label {
  display: flex; align-items: center; gap: .9rem; padding: .55rem .9rem;
  border: 1px solid var(--border); border-radius: 9px; cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s cubic-bezier(.22,1,.36,1);
  user-select: none;
}
.qmodal-option-label:hover {
  border-color: var(--border2); background: rgba(255,255,255,.025); transform: translateX(3px);
}
.qmodal-option input:checked + .qmodal-option-label {
  border-color: var(--accent1); background: rgba(134,239,172,.055);
  box-shadow: 0 0 0 3px rgba(134,239,172,.09); transform: translateX(3px);
}
[data-theme="light"] .qmodal-option input:checked + .qmodal-option-label {
  background: rgba(134,239,172,.09); box-shadow: 0 0 0 3px rgba(134,239,172,.15);
}

/* radio dot right */
.qmodal-option-label::after {
  content: ''; margin-left: auto; flex-shrink: 0;
  width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border2); transition: all .22s;
}
.qmodal-option input:checked + .qmodal-option-label::after {
  border-color: var(--accent1); background: var(--accent1);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='3.5 8 6.5 11 12.5 5' stroke='%230a0a0a' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

.qmodal-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--border);
  color: var(--muted); transition: background .18s, border-color .18s, color .18s;
}
.qmodal-option input:checked + .qmodal-option-label .qmodal-icon {
  background: rgba(134,239,172,.1); border-color: rgba(134,239,172,.28); color: var(--accent1);
}
.qmodal-name {
  font-family: 'Space Mono', monospace; font-size: 0.74rem; font-weight: 700; letter-spacing: .03em; color: var(--text);
}

/* "Jiné" expandable field */
.qmodal-jine-expand {
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height .32s cubic-bezier(.22,1,.36,1), opacity .25s;
}
.qmodal-jine-expand.open { max-height: 66px; opacity: 1; margin-top: .38rem; }
.qmodal-jine-input {
  display: block; width: 100%;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); font-family: 'Syne', sans-serif; font-size: .88rem;
  padding: .65rem .9rem; border-radius: 8px; outline: none; transition: border-color .18s;
}
.qmodal-jine-input:focus { border-color: var(--accent1); }
.qmodal-jine-input::placeholder { color: var(--muted2); }

/* confirm button */
#q-confirm-btn:disabled { opacity: .3; cursor: not-allowed; transform: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   EMAIL MODAL – stejná velikost jako contact modal (560px)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-email { max-width: 560px; min-height: 600px; }
#email-form-wrap { clear: both; }

.email-modal-header {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem 2rem 1.25rem; border-bottom: 1px solid var(--border);
}
.email-modal-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(134,239,172,.1); border: 1px solid rgba(134,239,172,.2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent1);
}
.email-modal-body { padding: 1.5rem 2rem 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.email-modal-extra {
  padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg2); color: var(--muted); line-height: 1.75; margin-top: 0.8rem;
}
.email-modal-extra-title {
  font-family: 'Space Mono', monospace; font-size: 0.75rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.4rem;
}
.email-modal-extra p { margin: 0; }
.modal-title { font-family: 'Space Mono', monospace; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: .25rem; }
.modal-sub { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0; }
.modal-field-label { display: block; font-family: 'Space Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.modal-input {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); font-family: 'Syne', sans-serif; font-size: 1rem;
  padding: .8rem 1rem; border-radius: 8px; outline: none; transition: border-color .2s;
}
.modal-input:focus { border-color: var(--accent1); }
.modal-input::placeholder { color: var(--muted2); }
.modal-note { font-size: 0.72rem; color: var(--muted); text-align: center; line-height: 1.5; margin: 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SUCCESS MODAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-success-modal { max-width: 420px; min-height: 550px; }
.modal-success { display: none; text-align: center; padding: 3rem 2.5rem 3.5rem; }
.modal-success.show { display: block; }
.modal-success-icon {
  width: 72px; height: 72px; margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px rgba(134,239,172,0.1);
}
.modal-success-icon svg { width: 34px; height: 34px; stroke: #0a0a0a; stroke-width: 2.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.modal-success-title { font-family: 'Space Mono', monospace; font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; letter-spacing: -.02em; }
.modal-success-sub { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.modal-success-hint {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.9rem 1.25rem; font-size: 0.88rem; color: var(--muted); line-height: 1.5; text-align: left; width: 100%;
}
.modal-success-hint-icon { font-size: 1.4rem; flex-shrink: 0; }
.modal-success-email { font-family: 'Space Mono', monospace; font-size: 0.85rem; color: var(--accent1); font-weight: 700; display: block; margin-top: 0.15rem; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   O NÁS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.onas-section { background: var(--bg2); }
.onas-grid { display: grid; grid-template-columns: 1fr 320px; gap: 4rem; align-items: start; }
.onas-headline { font-family: 'Space Mono', monospace; font-size: 1.35rem; font-weight: 700; line-height: 1.35; letter-spacing: -.03em; color: var(--text); margin-bottom: 1.2rem; }
.onas-p { font-size: 0.95rem; color: var(--muted); line-height: 1.82; margin-bottom: 1rem; }
.onas-vals { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.onas-val { display: flex; gap: .75rem; align-items: flex-start; }
.onas-val-icon { font-family: 'Space Mono', monospace; color: var(--accent1); font-size: .9rem; flex-shrink: 0; padding-top: .1rem; }
.onas-val-title { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.onas-val-desc  { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.onas-right { display: flex; flex-direction: column; gap: 1rem; }
.onas-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1.4rem; transition: border-color .2s; }
.onas-card:hover { border-color: var(--border2); }
.onas-card-n { font-family: 'Space Mono', monospace; font-size: 2rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: .25rem; }
.onas-card-l { font-size: 0.78rem; color: var(--muted); font-family: 'Space Mono', monospace; }
.onas-card-quote { border-color: rgba(134,239,172,.2); background: rgba(134,239,172,.04); }
.onas-quote { font-size: 0.92rem; font-style: italic; color: var(--text); line-height: 1.55; margin-bottom: .65rem; }
.onas-quote-by { font-family: 'Space Mono', monospace; font-size: 0.68rem; color: var(--muted); letter-spacing: .06em; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PRO ZAMĚSTNAVATELE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.zam-grid { display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: start; }
.zam-headline { font-family: 'Space Mono', monospace; font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.03em; color: var(--text); margin-bottom: 1.2rem; }
.zam-p { font-size: 0.95rem; color: var(--muted); line-height: 1.82; margin-bottom: .9rem; }
.zam-steps { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.zam-step  { display: flex; align-items: flex-start; gap: .85rem; }
.zam-dot   { width: 7px; height: 7px; border-radius: 50%; background: var(--accent1); flex-shrink: 0; margin-top: 7px; }
.zam-step span { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.zam-right { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.zam-feat { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-bottom: 1px solid var(--border); transition: background .2s; }
.zam-feat:last-child { border-bottom: none; }
.zam-feat:hover { background: var(--card2); }
.zam-feat-icon { color: var(--accent1); font-family: 'Space Mono', monospace; font-size: .78rem; flex-shrink: 0; margin-top: 2px; }
.zam-feat-t { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: .15rem; }
.zam-feat-d { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
footer { background: var(--bg2); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 3.5rem 2rem 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.footer-logo { margin-bottom: .65rem; }
.footer-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.75; }
.footer-cols { display: flex; gap: 3rem; }
.footer-col  { display: flex; flex-direction: column; gap: .4rem; }
.footer-col-title { font-family: 'Space Mono', monospace; font-size: 0.65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .4rem; }
.footer-link { font-size: 0.85rem; color: var(--muted); text-decoration: none; line-height: 1.9; transition: color .2s; }
.footer-link:hover { color: var(--text); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 1.2rem 2rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; font-family: 'Space Mono', monospace; font-size: 0.68rem; color: var(--muted); }
.footer-made { color: var(--muted2); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ANIMACE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(18px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 960px) {
  .hero-visual { flex: 0 0 320px; height: 340px; }
  .hero-inner  { gap: 2.5rem; }
}
@media (max-width: 860px) {
  .hero-inner  { flex-direction: column; padding: 5rem 2rem 2rem; gap: 2rem; }
  .hero-visual { flex: none; width: 100%; height: 280px; }
  .onas-grid, .zam-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols  { flex-wrap: wrap; gap: 1.75rem; }
  .hero-stat    { padding: 1.2rem .75rem; }
}
@media (max-width: 640px) {
  nav   { padding: .9rem 1.25rem; }
  .inner { padding: 3rem 1.25rem; }
  .hero-inner { padding: 4.5rem 1.25rem 1.5rem; }
  .hero-title { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .hero-visual { height: 220px; }
  .how-item { border-right: none; border-bottom: 1px solid var(--border); }
  .how-item:last-child { border-bottom: none; }
  .hero-stat-n { font-size: 1.25rem; }
  .hero-stat-l { font-size: 0.65rem; }
  .detail-title { font-size: 1.25rem; }
  .detail-scroll { padding: 1rem 1.25rem 1.5rem; }
  .email-modal-header { padding: 1.25rem 1.25rem 1rem; }
  .email-modal-body { padding: 1.25rem; }
  .footer-cols { gap: 1.25rem; }
  .float-card-2 { display: none; }
  .contact-scroll, .qmodal-scroll { padding: 1rem 1.25rem 1.5rem; }
}
