/* ============================================================
   NA TECHNIKU — webový design systém
   Odvozeno z "Na Techniku - Banner 16-9.html" (zdroj pravdy)
   ============================================================ */

:root {
  /* Brand paleta (1:1 z banneru) */
  --blue:       #2E4A5E;
  --blue-deep:  #1B2F40;
  --blue-soft:  #6E879A;
  --sky:        #BCD8E6;
  --sky-deep:   #8FB6C8;
  --beige:      #E6D9BE;
  --beige-soft: #EFE6D0;
  --cream:      #F6F0E0;
  --paper:      #FDFCF8;
  --line:       rgba(46,74,94,0.16);
  --line-soft:  rgba(46,74,94,0.10);

  /* Akcent — přepínatelný přes Tweaks (sky ↔ beige) */
  --accent:      var(--sky);
  --accent-deep: var(--sky-deep);

  /* Pozadí sekcí — tón přepínatelný přes Tweaks */
  --bg-base:  var(--paper);
  --bg-alt:   var(--cream);

  --radius:    20px;
  --radius-lg: 28px;
  --shadow-card: 0 14px 32px rgba(46,74,94,0.10);
  --shadow-soft: 0 8px 24px rgba(46,74,94,0.08);
  --shadow-pop:  0 18px 44px rgba(46,74,94,0.18);

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Velikostní škála — výchozí „md" (mírně zmenšeno), přepínání přes Tweaks (data-scale) */
  --fs-display: clamp(36px, 5.2vw, 74px);
  --fs-h2:      clamp(26px, 3.4vw, 45px);
  --fs-h3:      clamp(20px, 2.2vw, 27px);
  --fs-lead:    clamp(17px, 1.8vw, 22px);
  --fs-body:    clamp(16px, 1.5vw, 19px);
  --fs-stat:    clamp(88px, 12vw, 148px);
  --fs-blocknum: clamp(30px, 3.4vw, 46px);
  --fs-cta:     clamp(30px, 4.2vw, 58px);
}

/* Velikost nadpisů — varianty (Tweaks) */
body[data-scale="lg"] {
  --fs-display: clamp(40px, 6.4vw, 92px);
  --fs-h2:      clamp(30px, 4.2vw, 56px);
  --fs-h3:      clamp(22px, 2.4vw, 30px);
  --fs-lead:    clamp(18px, 2.1vw, 26px);
  --fs-stat:    clamp(96px, 15vw, 180px);
  --fs-blocknum: clamp(40px, 4.6vw, 60px);
  --fs-cta:     clamp(34px, 5.2vw, 72px);
}
body[data-scale="sm"] {
  --fs-display: clamp(32px, 4.4vw, 60px);
  --fs-h2:      clamp(24px, 2.9vw, 38px);
  --fs-h3:      clamp(19px, 2vw, 24px);
  --fs-lead:    clamp(16px, 1.7vw, 20px);
  --fs-stat:    clamp(72px, 10vw, 118px);
  --fs-blocknum: clamp(26px, 3vw, 38px);
  --fs-cta:     clamp(26px, 3.6vw, 48px);
}

/* Tón pozadí: světlejší / teplejší */
body[data-tone="sky"]  { --bg-alt: #EAF2F6; }
body[data-tone="warm"] { --bg-base: #FBF6EA; --bg-alt: #F3E9D2; }

/* Akcent: béžová místo sky */
body[data-accent="beige"] { --accent: var(--beige); --accent-deep: #C9B488; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--blue);
  background: var(--bg-base);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--blue-deep); margin: 0; }
p { margin: 0; }
a { color: inherit; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { position: relative; padding: clamp(56px, 7vw, 100px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px;
  background: var(--accent-deep);
}

.h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.lead { font-size: var(--fs-lead); font-weight: 600; line-height: 1.4; color: var(--blue); }

/* Highlight — stejné jako v banneru (podtrh za textem) */
.hl {
  background: linear-gradient(transparent 62%, var(--accent) 62%);
  padding: 0 4px;
}
.accent-text { color: var(--blue-deep); font-weight: 800; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 800;
  font-size: clamp(16px, 1.7vw, 19px);
  letter-spacing: -0.01em;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-deep); color: var(--paper);
  box-shadow: 0 10px 22px rgba(27,47,64,0.22);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(27,47,64,0.30); background: var(--blue); }
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--blue-deep);
  border-color: var(--blue-deep);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--blue-deep); color: var(--paper); }

.btn-accent {
  background: var(--accent); color: var(--blue-deep);
  box-shadow: 0 10px 22px rgba(46,74,94,0.12);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(46,74,94,0.18); }

.btn-sm { padding: 12px 22px; font-size: 16px; }
.btn-lg { padding: 20px 40px; font-size: clamp(18px, 1.9vw, 22px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--blue-deep); text-decoration: none;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 3px;
  transition: gap .2s var(--ease), border-color .2s var(--ease);
}
.arrow-link:hover { gap: 14px; border-color: var(--accent-deep); }

/* ---------- Pilulky / chipy ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--blue-deep);
  font-weight: 800; font-size: 15px;
  padding: 9px 18px; border-radius: 999px;
  letter-spacing: -0.01em; white-space: nowrap;
}
.pill--outline {
  background: var(--paper); border: 2.5px solid var(--blue-deep);
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px;
}

/* ---------- Karty ---------- */
.card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--bordered { border: 2.5px solid var(--blue-deep); }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--sky-deep); }

/* Dekorativní kruhy (z banneru) */
.blob {
  position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
}

/* ---------- Section divider (Tweaks: data-divider) ---------- */
.section-divider { display: flex; justify-content: center; padding: 0 28px; }
.section-divider .dv { display: none; width: min(380px, 70vw); height: auto; }
body[data-divider="line"] .dv-line,
body[data-divider="dots"] .dv-dots,
body[data-divider="wave"] .dv-wave,
body[data-divider="arrow"] .dv-arrow { display: block; }

/* ---------- Decorative top/bottom bars ---------- */
.bar-accent {
  height: 10px;
  background: linear-gradient(90deg, var(--cream) 0 58%, var(--sky) 58% 100%);
}

/* =====================================================
   HLAVIČKA (sticky)
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg-base) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 6px 22px rgba(46,74,94,0.08);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 96px;
}
.brand {
  display: inline-flex; align-items: center;
  padding: 0; background: transparent; box-shadow: none;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease);
}
.brand .brand-logo { display: block; height: 60px; width: auto; }
.footer-brand .brand .brand-logo { height: 56px; }
.brand:hover { transform: translateY(-2px); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; color: var(--blue); font-weight: 700; font-size: 16px;
  position: relative; padding: 4px 0; white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0;
  background: var(--accent-deep); border-radius: 3px; transition: width .25s var(--ease);
}
.nav a:hover { color: var(--blue-deep); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.5px; border-radius: 2px;
  background: var(--blue-deep); transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after  { transform: translateY(7px); }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 0; }

/* =====================================================
   HERO
   ===================================================== */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 5vw, 70px); }
.hero .blob-1 { width: 460px; height: 460px; background: var(--sky); opacity: .5;  top: -160px; left: -150px; }
.hero .blob-2 { width: 240px; height: 240px; background: var(--cream); opacity: .85; bottom: 40px; left: 36%; }
.hero .blob-3 { width: 170px; height: 170px; background: var(--beige); opacity: .8;  top: 60px; right: 4%; }

/* Full-width hero title */
.hero-title-full {
  position: relative; z-index: 2;
  font-size: var(--fs-display);
  font-weight: 900; line-height: 0.98; letter-spacing: -0.04em;
  color: var(--blue-deep);
  margin: 0 0 clamp(28px, 4vw, 48px);
  text-wrap: balance;
  max-width: 960px;
}

/* Hero row: copy left + small photo right */
.hero-row {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.hero-copy { max-width: 600px; }
.hero-sub { font-size: var(--fs-lead); font-weight: 600; line-height: 1.42; color: var(--blue); margin-bottom: 18px; max-width: 560px; }
.hero-logistics {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-soft); margin-bottom: 30px;
}
.hero-logistics b { color: var(--blue-deep); }
.hero-logistics .dot { color: var(--sky-deep); }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* Hero foto — inline version */
.hero-figure-sm {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0;
}
.hero-photo-sm {
  width: clamp(240px, 28vw, 400px); height: auto; display: block;
  filter: drop-shadow(0 16px 24px rgba(46,74,94,0.20));
}
.hero-nametag {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 2px solid var(--blue-deep);
  border-radius: 999px; padding: 8px 20px;
  font-weight: 800; font-size: 15px; color: var(--blue-deep);
  letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: var(--shadow-pop); z-index: 3;
}

/* trust řádek pod hero */
.hero-trust {
  position: relative; z-index: 2; margin-top: clamp(36px, 5vw, 64px);
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center;
  font-weight: 700; color: var(--blue-soft); font-size: 15px;
}
.hero-trust .chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 9px 18px; color: var(--blue-deep);
}
.hero-trust .chip .ic { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-deep); }

/* Hero varianty (Tweaks) */
body[data-hero="center"] .hero-title-full { text-align: center; margin-left: auto; margin-right: auto; }
body[data-hero="center"] .hero-row { grid-template-columns: 1fr; text-align: center; justify-items: center; }
body[data-hero="center"] .hero-copy { max-width: 820px; }
body[data-hero="center"] .hero-sub { margin-left: auto; margin-right: auto; }
body[data-hero="center"] .hero-actions { justify-content: center; }
body[data-hero="center"] .hero-logistics { justify-content: center; }
body[data-hero="center"] .hero-figure-sm { margin-top: 10px; }

body[data-hero="stacked"] .hero-row { grid-template-columns: 1fr auto; }
body[data-hero="stacked"] .hero-figure-sm { order: -1; }

/* =====================================================
   STATISTIKA / PROBLÉM
   ===================================================== */
.stat-band { background: var(--blue-deep); color: var(--paper); position: relative; overflow: hidden; padding: clamp(40px, 5.5vw, 64px) 0; }
.stat-band .blob { background: rgba(188,216,230,0.14); }
.stat-band .blob-a { width: 360px; height: 360px; top: -120px; right: -80px; }
.stat-band .blob-b { width: 200px; height: 200px; bottom: -90px; left: 8%; background: rgba(230,217,190,0.12); }
.stat-grid { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.stat-number {
  font-size: var(--fs-stat); font-weight: 900; line-height: 0.85;
  color: var(--paper); letter-spacing: -0.05em; position: relative;
}
.stat-number .pct { color: var(--sky); }
.stat-band h2 { color: var(--paper); font-size: var(--fs-h2); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 12px; }
.stat-band h2 .u { background: linear-gradient(transparent 62%, rgba(188,216,230,0.55) 62%); }
.stat-band p { color: rgba(253,252,248,0.82); font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; max-width: 620px; }

/* =====================================================
   TŘI PILÍŘE
   ===================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.pillar { display: flex; flex-direction: column; }
.pillar .ico {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); margin-bottom: 22px; font-size: 30px;
  box-shadow: inset 0 0 0 2px rgba(46,74,94,0.06);
}
.pillar h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.pillar p { font-size: var(--fs-body); color: var(--blue); line-height: 1.5; }
.pillar .tag { margin-top: auto; padding-top: 18px; font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-soft); }

/* =====================================================
   PROGRAM — timeline 5 dní
   ===================================================== */
.timeline { margin-top: 50px; display: flex; flex-direction: column; gap: 18px; }
.day {
  display: grid; grid-template-columns: 132px 1fr auto; gap: clamp(18px, 3vw, 40px);
  align-items: center;
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 36px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.day:hover { transform: translateX(6px); box-shadow: var(--shadow-card); border-color: var(--sky-deep); }
.day .day-no { display: flex; flex-direction: column; line-height: 0.9; }
.day .day-no .k { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-soft); }
.day .day-no .n { font-size: clamp(44px, 6vw, 66px); font-weight: 900; color: var(--blue-deep); letter-spacing: -0.04em; }
.day .day-body h3 { font-size: clamp(20px, 2.2vw, 27px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.day .day-body p { font-size: var(--fs-body); color: var(--blue); }
.day .day-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 280px; }
.day .day-tags span {
  font-size: 13px; font-weight: 700; color: var(--blue-deep);
  background: var(--cream); border-radius: 999px; padding: 6px 14px; white-space: nowrap;
}

/* =====================================================
   KURZ — dva bloky A + B
   ===================================================== */
.struct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 52px;
}
.block {
  display: flex;
  flex-direction: column;
}
.blocknum {
  font-size: var(--fs-blocknum);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}
.tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.daypill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}
.block h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

/* =====================================================
   PROGRAM — detailní prog-list
   ===================================================== */
.prog-list {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.prog {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
}
.prog:last-child { border-bottom: none; }
.prog-side {
  padding: clamp(22px, 2.8vw, 34px);
  border-right: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: color-mix(in srgb, var(--cream) 55%, var(--paper));
}
.prog-side .label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.prog-side .title {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.prog-side .days { margin-top: 6px; }
.prog-body {
  padding: clamp(22px, 2.8vw, 34px);
}
.prog-body > p {
  color: var(--blue);
  line-height: 1.65;
  margin-bottom: 18px;
}
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topic-tags span {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}
.spec-head {
  display: flex;
  align-items: baseline;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.spec-head h4 { margin: 0; }
.spec p { line-height: 1.65; }
.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.spec-tags span {
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  background: var(--blue-deep);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}
.spec {
  background: var(--bg-alt);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}
.spec h4 {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
  margin: 0 0 8px;
}
.lector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.dotx {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-deep);
  display: inline-block;
  flex-shrink: 0;
}
.spec.is-soon {
  border-style: dashed;
  opacity: 0.82;
}
.soon-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-soft);
  background: var(--cream);
  border-radius: 999px;
  padding: 5px 14px;
}

/* =====================================================
   REFERRAL BANNER
   ===================================================== */
.referral {
  margin-top: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--blue-deep);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.6vw, 44px) clamp(28px, 4vw, 52px);
}
.referral .big {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 900;
  color: var(--sky);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}
.referral p {
  font-size: var(--fs-lead);
  font-weight: 500;
  color: rgba(253,252,248,0.88);
  line-height: 1.5;
}
.referral p strong { color: var(--paper); font-weight: 800; }

/* =====================================================
   PRO KOHO
   ===================================================== */
.audience { margin-top: 40px; }
.audience-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(28px, 4vw, 52px); margin: 26px 0 0; padding: 0; }
.audience-list li {
  list-style: none; display: flex; gap: 13px; align-items: flex-start;
  font-size: var(--fs-body); font-weight: 600; color: var(--blue); line-height: 1.55;
}
.audience-list .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; font-size: 13px;
  background: var(--accent); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center; font-weight: 900; margin-top: 1px;
}
.audience-head { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; color: var(--blue-deep); }

/* Kompaktní CTA kartička „Poznáváš se?" na konci sekce */
.poznavas-card {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px 32px; flex-wrap: wrap;
  background: var(--blue-deep); color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 36px);
}
.poznavas-card .big { display: block; font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; color: var(--sky); margin-bottom: 6px; }
.poznavas-card p { color: rgba(253,252,248,0.85); font-weight: 600; font-size: var(--fs-body); max-width: 760px; }
.poznavas-card .btn { flex-shrink: 0; }

/* Fakulty — seznam fakult, kterým kurz sedne */
.fakulty { margin-top: clamp(44px, 6vw, 72px); }
.fakulty-head { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; color: var(--blue-deep); margin-bottom: 8px; max-width: 720px; text-wrap: pretty; }
.fakulty-row {
  display: grid; grid-template-columns: 250px 1fr; gap: 14px clamp(20px, 3vw, 44px);
  align-items: start; padding: 22px 0; border-bottom: 2px solid var(--line-soft);
}
.fakulty-row .k {
  font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-soft); padding-top: 8px;
}
.fakulty-row .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fakulty-row .tags span {
  font-size: 14px; font-weight: 700; color: var(--blue-deep);
  background: var(--cream); border-radius: 999px; padding: 7px 16px; white-space: nowrap;
}
.fakulty-note { margin-top: 18px; font-size: var(--fs-body); font-weight: 600; color: var(--blue-soft); }

/* =====================================================
   TÝM
   ===================================================== */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 56px); align-items: center; }
.team-photo-wrap { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.team-photo-wrap .ring {
  position: absolute; width: min(440px, 92%); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); top: 50%; left: 50%; transform: translate(-50%, -52%); z-index: 0;
}
.team-photo-wrap .ring-2 { width: 120px; height: 120px; background: var(--cream); border-radius: 50%; top: 4%; left: 2%; z-index: 0; }
.team-photo { position: relative; z-index: 2; width: min(480px, 100%); height: auto; filter: drop-shadow(0 18px 26px rgba(46,74,94,0.2)); }
.team-quote { font-size: clamp(24px, 3vw, 38px); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; color: var(--blue-deep); text-wrap: balance; }
.team-quote .qm { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--sky-deep); }
.team-byline { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.team-byline .who { font-weight: 900; font-size: 20px; color: var(--blue-deep); }
.team-byline .role { font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-soft); }

/* =====================================================
   LOGISTIKA — dlaždice
   ===================================================== */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 50px; }
.fact {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.fact:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--sky-deep); }
.fact .k { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 10px; }
.fact .v { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; color: var(--blue-deep); letter-spacing: -0.02em; line-height: 1.1; }
.fact .v small { display: block; font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: 0; margin-top: 4px; }

/* =====================================================
   FORMULÁŘ (dominantní sekce)
   ===================================================== */
.signup { position: relative; overflow: hidden; background: var(--blue-deep); color: var(--paper); padding: clamp(48px, 5.5vw, 76px) 0; }
.signup .blob-1 { width: 420px; height: 420px; background: rgba(188,216,230,0.18); opacity: 1; top: -140px; right: -120px; }
.signup .blob-2 { width: 220px; height: 220px; background: rgba(230,217,190,0.12); opacity: 1; bottom: -80px; left: -60px; }
.signup-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.signup-intro { position: sticky; top: 96px; background: var(--cream); border: 1.5px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(26px, 2.8vw, 38px); box-shadow: var(--shadow-soft); }
.signup-intro h2 { font-size: calc(var(--fs-h2) * 0.88); font-weight: 900; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 14px; color: var(--blue-deep); }
.signup-intro p { font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; color: var(--blue); margin-bottom: 22px; max-width: 420px; }
.signup-intro .mini-facts { display: flex; flex-direction: column; gap: 10px; }
.signup-intro .mini-facts div { display: flex; align-items: center; font-weight: 700; color: var(--blue-deep); background: var(--accent); border-radius: 12px; padding: 12px 16px; font-size: 15px; line-height: 1.25; }

.form-card {
  background: var(--paper); border: 2.5px solid var(--blue-deep); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 38px); box-shadow: var(--shadow-pop);
  position: relative;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.span-2 { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 15px; color: var(--blue-deep); letter-spacing: -0.01em; }
.field label .opt { font-weight: 700; color: var(--blue-soft); font-size: 13px; }
.field label .req { color: #C2553F; }
.field-hint { font-size: 13px; font-weight: 600; color: var(--blue-soft); line-height: 1.4; }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 16px; font-weight: 600; color: var(--blue-deep);
  background: var(--bg-base);
  border: 2px solid var(--line); border-radius: 14px;
  padding: 11px 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
  width: 100%;
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' fill='none' stroke='%232E4A5E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 44px;
}
.field select:has(option[value='']:checked) { color: var(--blue-soft); font-weight: 500; }
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--blue-soft); font-weight: 500; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sky-deep); background-color: var(--paper);
  box-shadow: 0 0 0 4px rgba(143,182,200,0.28);
}
.field.invalid input, .field.invalid textarea { border-color: #C2553F; box-shadow: 0 0 0 4px rgba(194,85,63,0.14); }
.field .err { color: #C2553F; font-size: 13px; font-weight: 700; min-height: 0; display: none; }
.field.invalid .err { display: block; }

.form-foot { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.form-card .submit-btn { width: 100%; }
.privacy-note { font-size: 13px; color: var(--blue-soft); font-weight: 600; line-height: 1.5; }
.privacy-note .ph { background: var(--cream); border-radius: 4px; padding: 0 4px; }
.privacy-note a { color: var(--blue-deep); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; transition: color .2s var(--ease); }
.privacy-note a:hover { color: var(--sky-deep); }

/* souhlas — checkbox */
.consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 16px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--blue); line-height: 1.5;
  -webkit-user-select: none; user-select: none;
}
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent .consent-box {
  flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px;
  border: 2.5px solid var(--line); border-radius: 8px; background: var(--bg-base);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.consent .consent-box::after {
  content: ""; width: 11px; height: 6px;
  border-left: 2.5px solid var(--paper); border-bottom: 2.5px solid var(--paper);
  transform: rotate(-45deg) scale(0); transform-origin: center;
  margin-top: -2px; transition: transform .18s var(--ease);
}
.consent:hover .consent-box { border-color: var(--sky-deep); }
.consent input:focus-visible + .consent-box { box-shadow: 0 0 0 4px rgba(143,182,200,0.28); border-color: var(--sky-deep); }
.consent input:checked + .consent-box { background: var(--blue-deep); border-color: var(--blue-deep); }
.consent input:checked + .consent-box::after { transform: rotate(-45deg) scale(1); }
.consent .consent-text { padding-top: 1px; }
.consent .consent-opt { font-weight: 700; color: var(--blue-soft); }

/* potvrzovací stav */
.form-success {
  display: none; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(30px, 5vw, 60px) 20px; gap: 14px;
}
.form-card.is-success .form-body { display: none; }
.form-card.is-success .form-success { display: flex; }
.form-success .tick {
  width: 84px; height: 84px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 42px; color: var(--blue-deep);
  margin-bottom: 6px; animation: pop .45s var(--ease);
}
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.form-success h3 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -0.02em; }
.form-success p { color: var(--blue); font-weight: 600; font-size: var(--fs-lead); max-width: 380px; }

/* =====================================================
   FAQ
   ===================================================== */
.faq-list { margin-top: 44px; max-width: 860px; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item[open] { border-color: var(--sky-deep); box-shadow: var(--shadow-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px clamp(22px, 3vw, 30px);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-weight: 800; font-size: clamp(17px, 2vw, 21px); color: var(--blue-deep); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  position: relative; transition: transform .25s var(--ease);
}
.faq-item .plus::before, .faq-item .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--blue-deep); border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-item .plus::before { width: 14px; height: 2.5px; }
.faq-item .plus::after  { width: 2.5px; height: 14px; transition: transform .25s var(--ease); }
.faq-item[open] .plus { transform: rotate(90deg); }
.faq-item[open] .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer { padding: 0 clamp(22px, 3vw, 30px) 24px; color: var(--blue); font-weight: 500; font-size: var(--fs-body); line-height: 1.6; max-width: 70ch; }
.faq-answer .ph-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-soft); background: var(--cream); border-radius: 6px; padding: 3px 8px; margin-bottom: 8px;
}

/* =====================================================
   ZÁVĚREČNÉ CTA
   ===================================================== */
.final-cta { background: var(--blue-deep); color: var(--paper); position: relative; overflow: hidden; text-align: center; }
.final-cta .blob-a { width: 320px; height: 320px; background: rgba(188,216,230,0.16); top: -110px; left: -60px; }
.final-cta .blob-b { width: 220px; height: 220px; background: rgba(230,217,190,0.12); bottom: -90px; right: -40px; }
.final-cta .inner { position: relative; z-index: 2; }
.final-cta h2 { color: var(--paper); font-size: var(--fs-cta); font-weight: 900; letter-spacing: -0.035em; line-height: 1; margin-bottom: 16px; text-wrap: balance; }
.final-cta h2 .u { background: linear-gradient(transparent 60%, rgba(188,216,230,0.5) 60%); }
.final-cta p { color: rgba(253,252,248,0.8); font-size: var(--fs-lead); font-weight: 600; margin-bottom: 34px; }
.final-cta .btn-accent { box-shadow: 0 16px 36px rgba(0,0,0,0.28); }

/* =====================================================
   PATIČKA
   ===================================================== */
.site-footer { background: var(--bg-alt); padding: clamp(50px, 6vw, 80px) 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--blue); font-weight: 600; max-width: 320px; }
.footer-col h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 16px; }
.footer-col a { display: block; text-decoration: none; color: var(--blue-deep); font-weight: 700; margin-bottom: 10px; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--sky-deep); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; background: var(--paper); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--blue-deep);
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.socials a:hover { transform: translateY(-3px); background: var(--blue-deep); color: var(--paper); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--blue-soft); }

/* placeholder marker */
.ph-flag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #B07B3A; background: #F6ECD8; border: 1px dashed #D9B879; border-radius: 6px; padding: 3px 9px;
  vertical-align: middle;
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =====================================================
   RESPONZIVITA
   ===================================================== */
@media (max-width: 980px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { gap: 10px; }

  .hero-row { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-title-full { text-align: center; }
  .hero-copy { max-width: 660px; }
  .hero-sub, .hero-logistics { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-figure-sm { order: -1; }
  body[data-hero="stacked"] .hero-row,
  body[data-hero="center"] .hero-row { grid-template-columns: 1fr; }

  .stat-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .stat-band p { margin-left: auto; margin-right: auto; }

  .struct { grid-template-columns: 1fr; }
  .prog { grid-template-columns: 1fr; }
  .prog-side { border-right: none; border-bottom: 2px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  .spec-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .referral { grid-template-columns: 1fr; gap: 16px; }
  .audience-list { grid-template-columns: 1fr; }
  .fakulty-row { grid-template-columns: 1fr; gap: 10px; }
  .fakulty-row .k { padding-top: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .team-photo-wrap { order: -1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .signup-grid { grid-template-columns: 1fr; }
  .signup-intro { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  /* Na úzkých telefonech necháme v hlavičce jen logo + hamburger.
     Tlačítko „Přihlásit se" je dostupné v otevřeném menu. */
  .header-cta .btn-primary { display: none; }
  .header-inner { height: 74px; }
  .brand .brand-logo { height: 44px; }
  .day { grid-template-columns: 64px 1fr; }
  .day .day-tags { display: none; }
  .day .day-no .n { font-size: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* mobilní menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg-base);
  display: flex; flex-direction: column; padding: 90px 28px 28px; gap: 6px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { text-decoration: none; color: var(--blue-deep); font-weight: 800; font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
/* Tlačítko v menu je taky <a> — vrátíme mu vlastní vzhled (světlý text, bez spodní čáry),
   jinak by ho přebilo obecné pravidlo .mobile-menu a a text by byl neviditelný. */
.mobile-menu a.btn { border-bottom: none; }
.mobile-menu a.btn-primary { color: var(--paper); }
.mobile-menu a.btn-accent { color: var(--blue-deep); }
.mobile-menu .btn { margin-top: 22px; }

/* ---- Antispam honeypot: pole je v DOM, ale schované mimo obrazovku ---- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
