/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Bergen';
  src: url('Fonts/BergenText-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bergen';
  src: url('Fonts/BergenText-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bergen';
  src: url('Fonts/BergenText-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bergen';
  src: url('Fonts/BergenText-SemiBoldItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bergen';
  src: url('Fonts/BergenText-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bergen';
  src: url('Fonts/BergenText-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --primary:        #2E53A1;
  --secondary:      #123C66;
  --bg-light:       #F6F6FB;
  --accent-light:   #F9F0CA;
  --accent-dark:    #D2C4A3;
  --white:          #ffffff;
  --text-primary:   #0f1f30;
  --text-secondary: #4a5e73;
  --text-muted:     #7a92a8;
  --border:         #e4eaf2;
  --border-light:   #f0f4f8;
  --shadow-sm:      0 2px 8px rgba(18,60,102,.07);
  --shadow-md:      0 8px 32px rgba(18,60,102,.10);
  --shadow-lg:      0 20px 60px rgba(18,60,102,.13);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --nav-h:          106px;
  --transition:     0.3s cubic-bezier(.25,.8,.25,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Bergen', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__label {
  display: inline-block;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 22px;
}

.section__desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 720px;
  margin: 20px auto 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 36px;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  background-image: url('btn_pozadi.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
}

.btn--primary {
  color: var(--white);
}
.btn--primary:hover {
  opacity: .85;
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--primary);
}
.btn--ghost:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.btn--full { width: 100%; }

/* ============================================================
   TAGS
   ============================================================ */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .8125rem;
  color: var(--text-secondary);
}

/* ============================================================
   ANIMATE ON SCROLL
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}
[data-delay="100"] { transition-delay: .1s; }
[data-delay="150"] { transition-delay: .15s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="300"] { transition-delay: .3s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow var(--transition);
}
.nav.is-scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 72px;
  width: auto;
  display: block;
  margin-top: 16px;
  margin-bottom: 16px;
}

.nav__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .04em;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav__logo-text {
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--primary); background: var(--bg-light); }

.nav__link--cta {
  margin-left: 8px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 140px;
  background: var(--white) url('hero_pozadi.svg') center / cover no-repeat;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -.025em;
}

.hero__title-accent { color: var(--accent-light); }
.hero__title-dark   { color: var(--secondary); }

.hero__title-wave {
  display: block;
  width: 220px;
  height: auto;
  margin-top: 20px;
  margin-bottom: 36px;
}

.section__title-wave {
  display: block;
  width: 72px;
  height: auto;
  margin: 16px auto 0;
}

.hero__text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-wrap {
  position: relative;
  width: 100%;
}

.hero__visual-wave {
  position: absolute;
  bottom: -36px;
  right: -80px;
  width: 480px;
  height: auto;
  pointer-events: none;
}

/* ============================================================
   PHOTO PLACEHOLDERS
   ============================================================ */

.photo-placeholder {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
}

.photo-placeholder__inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 24px;
  text-align: center;
}

.photo-placeholder__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  opacity: .55;
}

.photo-placeholder__label {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.photo-placeholder__hint {
  font-size: .8125rem;
  opacity: .55;
  line-height: 1.4;
}

/* Hero variant — light background */
.hero__img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-placeholder--hero {
  aspect-ratio: 4 / 3;
  width: 100%;
  border: 2px dashed var(--border);
  background: var(--bg-light);
  color: var(--text-muted);
}
.photo-placeholder--hero:hover {
  border-color: var(--secondary);
  background: #eef2f8;
}

/* Portrait variant — circular */
.photo-placeholder--portrait {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px dashed var(--border);
  background: var(--bg-light);
  color: var(--text-muted);
  flex-shrink: 0;
}
.photo-placeholder--portrait .photo-placeholder__inner {
  border-radius: 50%;
  gap: 6px;
  padding: 24px;
}
.photo-placeholder--portrait .photo-placeholder__icon {
  width: 36px;
  height: 36px;
}

/* ============================================================
   PROC INSTITUT
   ============================================================ */
.proc { background: var(--primary); }
.proc .section__label { color: rgba(255,255,255,.65); }
.proc .section__title { color: var(--white); }
.proc .section__desc  { color: rgba(255,255,255,.75); }

.proc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.proc__card {
  background: var(--white);
  border: none;
  border-radius: 0;
  padding: 36px 28px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease, filter .3s;
  clip-path: polygon(
    0% 5%, 4% 1%, 8% 5%, 12% 1%, 16% 4%, 20% 0%, 24% 4%, 28% 1%,
    32% 5%, 36% 1%, 40% 4%, 44% 0%, 48% 4%, 52% 1%, 56% 5%, 60% 1%,
    64% 4%, 68% 0%, 72% 4%, 76% 1%, 80% 5%, 84% 1%, 88% 4%, 92% 0%,
    96% 4%, 100% 2%,
    100% 98%,
    96% 100%, 92% 96%, 88% 100%, 84% 96%, 80% 100%, 76% 96%, 72% 100%,
    68% 96%, 64% 100%, 60% 96%, 56% 100%, 52% 96%, 48% 100%, 44% 96%,
    40% 100%, 36% 96%, 32% 100%, 28% 96%, 24% 100%, 20% 96%, 16% 100%,
    12% 96%, 8% 100%, 4% 96%, 0% 100%
  );
}
.proc__card.is-visible {
  opacity: 1;
  transform: none;
}
.proc__card:hover {
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.18));
  transform: translateY(-4px);
}

.proc__icon {
  width: 48px;
  height: 48px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.proc__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.proc__text {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   SEMINÁŘE — LIST
   ============================================================ */
.seminare-list { background: var(--bg-light); }

.seminar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 36px 48px;
  background: var(--white);
  margin-bottom: 16px;
  clip-path: polygon(
    0% 5%, 4% 1%, 8% 5%, 12% 1%, 16% 4%, 20% 0%, 24% 4%, 28% 1%,
    32% 5%, 36% 1%, 40% 4%, 44% 0%, 48% 4%, 52% 1%, 56% 5%, 60% 1%,
    64% 4%, 68% 0%, 72% 4%, 76% 1%, 80% 5%, 84% 1%, 88% 4%, 92% 0%,
    96% 4%, 100% 2%, 100% 98%,
    96% 100%, 92% 96%, 88% 100%, 84% 96%, 80% 100%, 76% 96%, 72% 100%,
    68% 96%, 64% 100%, 60% 96%, 56% 100%, 52% 96%, 48% 100%, 44% 96%,
    40% 100%, 36% 96%, 32% 100%, 28% 96%, 24% 100%, 20% 96%, 16% 100%,
    12% 96%, 8% 100%, 4% 96%, 0% 100%
  );
}
.seminar-row:last-child { margin-bottom: 0; }

.seminar-row__left { flex: 1; min-width: 0; }

.seminar-row__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--secondary);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.seminar-row__badge--alt {
  background: var(--bg-light);
  color: var(--primary);
}

.seminar-row__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 10px;
}

.seminar-row__desc {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.seminar-row__meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.seminar-row__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: var(--text-muted);
}
.seminar-row__meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }

.seminar-row__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.seminar-row__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

/* ============================================================
   SEMINÁŘE
.seminare {
  background: var(--bg-light);
}

.seminare__bundle-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(18,60,102,.2);
}
.seminare__bundle-banner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: #F9F0CA;
  stroke: none;
}

.seminare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Seminar Card */
.seminar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.seminar-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.seminar-card--featured {
  border-color: var(--secondary);
  box-shadow: 0 4px 24px rgba(46,83,161,.12);
  position: relative;
}
.seminar-card--featured::before {
  content: 'Doporučujeme';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--secondary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.seminar-card__header {
  padding: 36px 36px 0;
}

.seminar-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--secondary);
  margin-bottom: 16px;
}
.seminar-card__badge--alt {
  background: rgba(46,83,161,.06);
  border-color: rgba(46,83,161,.15);
}

.seminar-card__title {
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

.seminar-card__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
}

.seminar-card__meta {
  padding: 24px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--border-light);
}

.seminar-card__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.seminar-card__meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}
.seminar-card__meta-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.seminar-card__meta-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.seminar-card__meta-val {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--primary);
}
.seminar-card__price {
  font-size: 1.25rem;
  color: var(--secondary);
}
.seminar-card__meta-item--price { grid-column: 1 / -1; }

.seminar-card__highlight {
  margin: 0 36px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #FBF6E3, var(--accent-light));
  border: 1px solid var(--accent-dark);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.seminar-card__highlight svg {
  width: 16px;
  height: 16px;
  fill: #c49a00;
  flex-shrink: 0;
}

.seminar-card__program {
  padding: 24px 36px;
  flex: 1;
}
.seminar-card__program-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.seminar-card__cta {
  margin: 8px 36px 36px;
}

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }

.timeline__item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 16px;
}
.timeline__item:not(.timeline__item--last)::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}
.timeline__dot--special {
  background: var(--secondary);
}

.timeline__content {
  font-size: .9375rem;
  color: var(--text-secondary);
  padding-top: 1px;
  line-height: 1.55;
}

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 4px; }

.accordion__item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-light);
  transition: border-color var(--transition);
}
.accordion__item:has(.accordion__trigger[aria-expanded="true"]) {
  border-color: var(--border);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  text-align: left;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition);
}
.accordion__trigger:hover { color: var(--primary); }
.accordion__trigger[aria-expanded="true"] { color: var(--primary); font-weight: 600; }

.accordion__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: .75rem;
  font-weight: 700;
  color: var(--secondary);
  flex-shrink: 0;
}
.accordion__trigger[aria-expanded="true"] .accordion__num {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.accordion__chevron {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.accordion__trigger[aria-expanded="true"] .accordion__chevron {
  transform: rotate(180deg);
}

.accordion__body {
  display: none;
  padding: 0 16px 14px 50px;
}
.accordion__body.is-open { display: block; }
.accordion__body p {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   LEKTOR
   ============================================================ */
.lektor { background: var(--white); }

.lektor__card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
  overflow: visible;
}
.lektor__card:last-child { margin-bottom: 0; }

.lektor__card--reversed {
  grid-template-columns: 1fr 280px;
}

.lektor__avatar {
  width: 100%;
  height: auto;
  display: block;
}

.lektor__photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lektor__photo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 48px;
  overflow: visible;
}

.lektor__photo-wave {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: auto;
  pointer-events: none;
}

.lektor__photo-placeholder--old {
  display: none;
}
.lektor__photo-placeholder svg {
  width: 60px;
  height: 60px;
}

.lektor__photo-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.lektor__photo-badge svg {
  width: 14px;
  height: 14px;
  fill: #c49a00;
}

.lektor__title-block {
  margin-bottom: 20px;
}
.lektor__name {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.2;
}
.lektor__role {
  font-size: .9375rem;
  color: var(--text-muted);
  font-style: italic;
}

.lektor__text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.lektor__stats {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.lektor__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lektor__stat-val {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.lektor__stat-label {
  font-size: .8rem;
  color: var(--text-muted);
}

.lektor__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   NA MÍRU
   ============================================================ */
.na-miru {
  background: linear-gradient(145deg, #0b2540 0%, var(--primary) 45%, #1a4f85 100%);
  position: relative;
  overflow: hidden;
}


.na-miru__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.na-miru .section__label { color: var(--accent-dark); }
.na-miru .section__title { color: var(--white); }
.na-miru__text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  margin-bottom: 18px;
}
.na-miru__text:last-of-type { margin-bottom: 36px; }

.na-miru__features { display: flex; flex-direction: column; gap: 20px; }

.na-miru__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition);
}
.na-miru__feature:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
}

.na-miru__feature-icon {
  width: 40px;
  height: 40px;
  color: var(--accent-light);
  flex-shrink: 0;
}
.na-miru__feature strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}
.na-miru__feature p {
  font-size: .9375rem;
  color: rgba(255,255,255,.68);
  line-height: 1.6;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--bg-light);
  padding: 80px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stats__item {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background var(--transition);
}
.stats__item:hover { background: #f0f4fa; }

.stats__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--secondary);
}
.stats__icon svg { width: 100%; height: 100%; }

.stats__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats__text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.stats__text span {
  font-size: .875rem;
  color: var(--text-muted);
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt {
  background: var(--white);
}

.kontakt__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.kontakt__content .section__title { text-align: left; }

.kontakt__text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.kontakt__info { display: flex; flex-direction: column; gap: 12px; }
.kontakt__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9375rem;
  color: var(--text-secondary);
}
.kontakt__info-item svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* Form */
.kontakt__form {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-primary);
}
.form__label span { color: var(--secondary); }

.form__input {
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form__input::placeholder { color: var(--text-muted); }
.form__input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(46,83,161,.1);
}
.form__input.is-invalid { border-color: #e53e3e; }
.form__input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(229,62,62,.1); }

.form__textarea { min-height: 120px; }

.form__error {
  font-size: .8rem;
  color: #e53e3e;
  min-height: 1.2em;
}

.form__group--consent .form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}
.form__group--consent input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.form__checkbox-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color var(--transition), background var(--transition);
}
.form__group--consent input:checked + .form__checkbox-custom {
  background: var(--secondary);
  border-color: var(--secondary);
}
.form__group--consent input:checked + .form__checkbox-custom::after {
  content: '';
  display: block;
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
}
.form__link { color: var(--secondary); text-decoration: underline; }

.form__success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: #f0faf4;
  border: 1px solid #68d391;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: #276749;
}
.form__success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 80px 0;
  overflow: visible;
}

.cta-banner__box {
  background-image: url('cta_pozadi.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  overflow: visible;
}

.cta-banner__avatar {
  height: 310px;
  width: auto;
  display: block;
  flex-shrink: 0;
  margin-top: -70px;
  margin-bottom: 0;
  margin-left: -32px;
  align-self: flex-end;
}

.cta-banner__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 6px;
}

.cta-banner__title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}

.cta-banner__text {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 12px;
}

.cta-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}

.btn--white {
  background: var(--white);
  color: var(--primary);
  flex-shrink: 0;
}
.btn--white:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer__brand .nav__logo-mark {
  background: rgba(255,255,255,.15);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
}

.footer__logo-img {
  height: 72px;
  width: auto;
  display: block;
}

.footer__tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 8px;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition);
}
.footer__social-link:hover {
  background: rgba(255,255,255,.16);
  color: var(--white);
}
.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom-inner a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__bottom-inner a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: none; }

  .cta-banner__avatar { height: 200px; margin-top: -48px; margin-bottom: 0; margin-left: -20px; }
  .seminar-row { padding: 28px 32px; gap: 32px; }

  .proc__grid { grid-template-columns: repeat(2, 1fr); }
  .seminare__grid { grid-template-columns: 1fr; }

  .lektor__card { grid-template-columns: 1fr; gap: 40px; }
  .lektor__card--reversed .lektor__photo { order: -1; }
  .lektor__photo { flex-direction: row; align-items: center; gap: 24px; }

  .na-miru__inner { grid-template-columns: 1fr; gap: 48px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .kontakt__inner { grid-template-columns: 1fr; gap: 48px; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  .section { padding: 64px 0; }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: 12px 16px; border-radius: var(--radius-sm); color: var(--text-secondary) !important; }
  .nav__link:hover { color: var(--primary) !important; background: var(--bg-light); }
  .nav__link--cta { margin-left: 0; margin-top: 0; }
  .nav__toggle { display: flex; }

  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 100px; }
  .hero__visual { display: none; }
  .hero__actions { flex-direction: column; }

  .cta-banner__box { flex-direction: row; flex-wrap: wrap; padding: 36px 24px; gap: 20px; align-items: flex-end; background-image: none; background-color: var(--primary); }
  .cta-banner__avatar { display: block; height: 120px; margin: 0; align-self: flex-end; flex-shrink: 0; }
  .cta-banner__content { flex: 1; min-width: 0; }
  .cta-banner .btn--white { width: 100%; justify-content: center; }
  .seminar-row { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 20px; }
  .seminar-row__right { flex-direction: row; align-items: center; gap: 20px; width: 100%; }
  .seminar-row__right .btn { flex: 1; justify-content: center; }

  .proc__grid { grid-template-columns: 1fr; }

  .seminar-card__header { padding: 28px 24px 0; }
  .seminar-card__meta { padding: 20px 24px; }
  .seminar-card__program { padding: 20px 24px; }
  .seminar-card__cta { margin: 8px 24px 28px; }
  .seminar-card__highlight { margin: 0 24px; }

  .lektor__card { padding: 32px 24px; text-align: center; }
  .lektor__photo { flex-direction: column; align-items: center; }
  .lektor__content { display: flex; flex-direction: column; align-items: center; }
  .lektor__tags { justify-content: center; }
  .lektor__stats { flex-direction: column; gap: 16px; }

  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { padding: 28px 24px; }

  .kontakt__form { padding: 28px 20px; }
  .form__row--half { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { grid-column: auto; }
}

/* ============================================================
   FOCUS & ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; }
}
