/* ============================================
   PODNIKNI TO! — Website Styles
   Brand: Fira Sans · Yellow #f5c81e · Near-black #050503
   ============================================ */

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

:root {
  --yellow:    #f5c81e;
  --yellow-dk: #d4aa0a;
  --black:     #050503;
  --gray-900:  #1a1a18;
  --gray-700:  #3a3a38;
  --gray-500:  #666663;
  --gray-300:  #aeaeaa;
  --gray-100:  #f5f5f0;
  --white:     #ffffff;

  --font:      'Fira Sans', system-ui, sans-serif;
  --radius:    6px;
  --radius-lg: 12px;
  --transition: 0.2s ease;

  --container: 1160px;
  --section-gap: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ---- UTILITIES ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.text--light { color: var(--white); }
.accent { font-style: normal; color: var(--yellow); }

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.section__label--light { color: var(--gray-300); }

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

p { color: var(--gray-700); }

a { color: inherit; text-decoration: none; }

.link-arrow {
  font-weight: 700;
  color: var(--black);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}
.link-arrow:hover { border-color: var(--black); }

.link-dark {
  font-weight: 700;
  color: var(--black);
  border-bottom: 2px solid var(--black);
}
.link-dark:hover { opacity: 0.7; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn--primary:hover {
  background: var(--yellow-dk);
  border-color: var(--yellow-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,200,30,0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--ghost:hover {
  background: var(--black);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--secondary:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

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

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--gray-100);
}

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

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

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  transition: background var(--transition);
}
.nav__links a:hover { background: var(--gray-100); }

.nav__cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  margin-left: 8px;
}
.nav__cta:hover { background: var(--yellow-dk) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: var(--white);
  isolation: isolate;
}

.hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__shape {
  width: 100%;
  height: 100%;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 40px;
  align-items: center;
  padding-bottom: 80px;
  min-height: 520px;
}

.hero__badge {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__headline {
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-700);
  max-width: 520px;
  margin-bottom: 36px;
}

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

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}
.hero__visual svg {
  max-width: 100%;
  height: auto;
}

/* Journey animation */
.jrn-path {
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  animation: jrnDraw 1.8s ease-out forwards 0.5s;
}
.jrn-m1 { opacity: 0; animation: jrnFade 0.4s ease forwards 1.4s; }
.jrn-m2 { opacity: 0; animation: jrnFade 0.4s ease forwards 1.9s; }
.jrn-end { opacity: 0; animation: jrnFade 0.5s ease forwards 2.3s; }
@keyframes jrnDraw { to { stroke-dashoffset: 0; } }
@keyframes jrnFade { from { opacity: 0; } to { opacity: 1; } }

/* Obsah kurzu: 2-col grid + SVG animation */
.obsah-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}
.obsah-visual {
  display: flex;
  justify-content: center;
  padding-top: 56px;
  position: sticky;
  top: 88px;
}
.kz-line {
  /* driven by scroll JS */
}
.kz-n1, .kz-n2, .kz-n3, .kz-n4 {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Stats bar */
.hero__stats {
  background: var(--yellow);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.stats__row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat__num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 13px;
  color: var(--black);
  font-weight: 400;
}

.stat__divider {
  width: 1px;
  height: 48px;
  background: rgba(5,5,3,0.2);
}

/* ---- PHOTO GRID ---- */
.section--photos {
  padding-bottom: 0;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 200px 200px 200px;
  gap: 6px;
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
}
.photo-grid__item {
  overflow: hidden;
  position: relative;
}
.photo-grid__item--c1r12 { grid-column: 1; grid-row: 1 / span 2; }
.photo-grid__item--c2r1  { grid-column: 2; grid-row: 1; }
.photo-grid__item--c2r2  { grid-column: 2; grid-row: 2; }
.photo-grid__item--c3r12 { grid-column: 3; grid-row: 1 / span 2; }
.photo-grid__item--c1r3  { grid-column: 1; grid-row: 3; }
.photo-grid__item--c2r3  { grid-column: 2; grid-row: 3; }
.photo-grid__item--c3r3  { grid-column: 3; grid-row: 3; }
.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.photo-grid__item:hover img {
  transform: scale(1.04);
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: 64px 0 80px;
}

.testimonial-carousel {
  position: relative;
  margin-top: 32px;
}

.testimonial-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.testimonial-grid::-webkit-scrollbar { display: none; }

.testimonial {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--gray-900);
  border: none;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  color: var(--yellow);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition), opacity var(--transition);
}

.testimonial-arrow:hover { color: var(--yellow-dk); }
.testimonial-arrow--prev { left: -30px; }
.testimonial-arrow--next { right: -30px; }
.testimonial-arrow:disabled { opacity: 0.3; cursor: default; }

.testimonial__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-300);
  font-style: italic;
  flex: 1;
}

.testimonial__text::before {
  content: '\201E\00A0';
  color: var(--yellow);
  font-style: normal;
  font-weight: 700;
}

.testimonial__text::after {
  content: '\00A0\201C';
  color: var(--yellow);
  font-style: normal;
  font-weight: 700;
}

.testimonial__hl {
  color: var(--yellow);
  font-weight: 700;
  font-style: normal;
}

.testimonial__author {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.03em;
}

.testimonial__author::before {
  content: '— ';
  color: var(--yellow);
}

.testimonial__by {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__by .testimonial__author::before {
  content: none;
}

.testimonial__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--yellow);
}

/* ---- SECTIONS ---- */
.section {
  padding: var(--section-gap) 0;
}

.section--dark {
  background: var(--black);
}

.section--dark h2,
.section--dark p,
.section--dark h3 {
  color: var(--white);
}

.section--yellow {
  background: var(--yellow);
}

.section--yellow .section__label { color: var(--black); opacity: 0.6; }
.section--yellow h2 { color: var(--black); }
.section--yellow .section__intro { color: var(--black); opacity: 0.7; }

.section__intro {
  font-size: 18px;
  max-width: 620px;
  margin-bottom: 48px;
  color: var(--gray-700);
}

.section__bigquote {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 900;
  line-height: 1.55;
  color: var(--black);
  background: var(--gray-100);
  border-left: 6px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.section__bigquote strong {
  color: var(--black);
  background: var(--yellow);
  padding: 1px 5px;
  border-radius: 3px;
}

.section__note {
  margin-top: 40px;
  text-align: center;
  color: var(--black);
  opacity: 0.6;
  font-size: 15px;
}

/* Two-col grid */
.section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section__grid.reverse { direction: rtl; }
.section__grid.reverse > * { direction: ltr; }

.section__text h2 { margin-bottom: 20px; }
.section__text p { margin-bottom: 16px; }
.section__text p:last-of-type { margin-bottom: 24px; }

/* Callout card */
.callout-card {
  position: relative;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
}
.callout-card__accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--yellow);
  border-radius: 6px 0 0 6px;
}
.callout-card blockquote {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 20px;
}
.callout-card cite {
  font-size: 14px;
  color: var(--gray-500);
  font-style: normal;
}

/* ---- STEPS ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step {
  border-top: 3px solid var(--yellow);
  padding-top: 24px;
}

.step__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 12px;
}

.step h3 { color: var(--white); margin-bottom: 10px; }
.step p  { color: var(--gray-300); font-size: 15px; }

/* ---- PERSONAS ---- */
.personas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.persona {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}
.persona:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(5,5,3,0.08);
  border-top-color: var(--yellow);
}
.persona__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.persona h3 { margin-bottom: 10px; }
.persona p  { font-size: 15px; }

.persona--note {
  border-top-color: var(--gray-300);
  background: var(--white);
  border: 2px dashed var(--gray-300);
}

/* ---- TIMELINE ---- */
.timeline {
  margin-top: 56px;
  position: relative;
  max-width: 760px;
}

/* vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--yellow), rgba(245,200,30,0.15));
}

.timeline__item {
  display: flex;
  gap: 36px;
  padding-bottom: 48px;
  position: relative;
}
.timeline__item--last { padding-bottom: 0; }

.timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 42px;
  padding-top: 6px;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gray-700);
  border: 2px solid var(--yellow);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.2s ease;
}
.timeline__dot--yellow {
  background: var(--yellow);
}
.timeline__item:hover .timeline__dot {
  background: var(--yellow);
}

.timeline__num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--black);
  background: var(--yellow);
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 100px;
  line-height: 1.6;
}

.timeline__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.timeline__body {
  padding: 0 0 0 4px;
  flex: 1;
}

.timeline__body h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0;
}

.timeline__body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline__body ul li {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
}
.timeline__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background: url('logo/Pt_symbol-full.png') center / contain no-repeat;
}
.timeline__body ul li strong {
  color: var(--yellow);
}

/* ---- CITY FILTER ---- */
.city-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--black);
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--black);
  color: var(--white);
}

/* ---- COURSES GRID ---- */
.courses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
  border-radius: 4px 0 0 4px;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(5,5,3,0.14);
  background: #fffef5;
  border-color: var(--yellow);
}
.course-card:hover::before {
  transform: scaleY(1);
}
.course-card:hover .course-card__city {
  color: var(--black);
}
.course-card:hover .course-card__fill {
  background: var(--yellow-dk);
}
.course-card.hidden { display: none; }

.course-card__city {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--black);
  transition: color 0.25s ease;
  display: block;
  margin-bottom: 4px;
}

.course-card__free {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--yellow);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.course-card__info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
  flex: 1;
}
.course-card__info li {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.info-icon { flex-shrink: 0; margin-top: 1px; }
.info-indent { display: block; color: var(--gray-500); font-size: 12px; }

.course-card .btn { margin-top: auto; align-self: flex-start; }

.course-card--cta {
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  justify-content: center;
}
.course-card--cta::before { display: none; }
.course-card--cta:hover {
  border-color: var(--black);
  border-style: dashed;
  background: var(--gray-100);
}

.course-card__cta-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  display: block;
  margin-bottom: 8px;
}

.course-card__cta-text {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

/* ZDARMA highlight in intro text */
.zdarma-highlight {
  background: var(--black);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-style: normal;
  font-size: 1.05em;
  letter-spacing: 0.04em;
  display: inline-block;
  transform: rotate(-1.5deg);
}

/* ---- REGISTRATION FORM ---- */
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-info h2 { margin-bottom: 16px; }
.form-info p  { margin-bottom: 24px; }

.form-info__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-info__list li {
  font-size: 15px;
  color: var(--gray-700);
  font-weight: 500;
  padding-left: 0;
}

.reg-form {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--black);
}

.form-field input.error,
.form-field select.error,
.form-field textarea.error {
  border-color: #c0392b;
}

.form-field textarea { resize: vertical; min-height: 90px; }

/* Popisek otázky u skupiny (rádia) – vypadá jako label ostatních polí */
.field-caption {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nápověda pod polem */
.form-field__hint {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Skupina rádiových tlačítek */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--black);
  cursor: pointer;
}
.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  accent-color: var(--black);
  appearance: auto;
  -webkit-appearance: auto;
  cursor: pointer;
}

/* Textové pole pro volbu „Jiné“ – zobrazí se až po jejím zvolení */
.radio-other {
  margin-top: 10px;
}

.form-field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.form-field--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--black);
  padding: 0;
  border: none;
  appearance: checkbox;
  -webkit-appearance: checkbox;
  cursor: pointer;
}
.form-field--check label {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray-500);
  font-weight: 400;
}

/* Odkaz uvnitř textu (např. „osobních údajů“) – vypadá jako odkaz, otevírá popup */
.inline-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--black);
  text-decoration: underline;
  cursor: pointer;
}
.inline-link:hover {
  color: var(--yellow-dark, #c9a200);
}

.form__note {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
}

.form-success {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.form-success h3 { margin-bottom: 12px; }
.form-success a {
  font-weight: 700;
  border-bottom: 2px solid var(--yellow);
}

/* ---- PARTNERS ---- */
.partners {
  padding: 48px 0;
  background: var(--gray-100);
  border-top: 2px solid rgba(5,5,3,0.06);
}

.partners__label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.partners__track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners__logos {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.partners__logos img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
  flex-shrink: 0;
}

.partners__logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  color: var(--white);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-700);
}

.footer__brand svg { margin-bottom: 16px; display: block; }
.footer__brand p { color: var(--gray-300); font-size: 14px; line-height: 1.7; }

.footer__links h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.footer__links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  color: var(--gray-300);
  font-size: 15px;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--yellow); }

.footer__bottom {
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom span {
  font-size: 13px;
  color: var(--gray-500);
}
.footer__gdpr-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--gray-500);
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font);
}
.footer__gdpr-link:hover { color: var(--yellow); }

/* ---- COOKIE BAR ---- */
.cookie-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 20px;
  padding: 22px 28px;
  max-width: 600px;
  width: calc(100% - 48px);
  box-shadow: 0 8px 48px rgba(5,5,3,0.18);
  z-index: 900;
}
.cookie-bar:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-bar__text p {
  font-size: 14px;
  color: var(--gray-700);
  margin: 0 0 4px;
  line-height: 1.5;
}
.cookie-bar__info {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--black);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.cookie-bar__btns {
  display: flex;
  gap: 8px;
}
@media (max-width: 680px) {
  .cookie-bar { flex-direction: column; align-items: stretch; bottom: 0; border-radius: 16px 16px 0 0; width: 100%; }
  .cookie-bar__btns { flex-direction: column; }
}

/* ---- COOKIE CONSENT ---- */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,5,3,0.5);
  z-index: 1100;
  padding: 16px;
}
.cookie-overlay:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(5,5,3,0.2);
  overflow: hidden;
}
.cookie-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.cookie-modal__head h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal__close:hover { background: var(--gray-100); color: var(--black); }

.cookie-modal__body {
  overflow-y: auto;
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cookie-modal__intro { font-size: 13px; color: var(--gray-700); line-height: 1.6; }
.cookie-modal__intro p { margin: 0 0 8px; }
.cookie-modal__intro p:last-of-type { margin-bottom: 4px; }
.cookie-more-text { display: none; }
.cookie-more-text.visible { display: block; }
.cookie-toggle-text {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--black);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.cookie-cats { display: flex; flex-direction: column; margin-top: 8px; }
.cookie-cat { padding: 14px 0; border-top: 1px solid var(--gray-100); }
.cookie-cat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.cookie-cat__header strong { font-size: 14px; font-weight: 700; color: var(--black); }
.cookie-cat__always { font-size: 12px; font-weight: 700; color: var(--gray-500); white-space: nowrap; }
.cookie-cat__desc { font-size: 13px; color: var(--gray-500); line-height: 1.5; margin: 0; }

/* Toggle switch */
.cookie-switch { position: relative; cursor: pointer; flex-shrink: 0; }
.cookie-switch input {
  position: absolute; opacity: 0; width: 0; height: 0;
  appearance: none !important; -webkit-appearance: none !important;
}
.cookie-switch__track {
  display: block; width: 42px; height: 24px;
  background: var(--gray-300); border-radius: 12px;
  transition: background 0.2s; position: relative;
}
.cookie-switch__track::after {
  content: ''; position: absolute;
  width: 18px; height: 18px; background: var(--white);
  border-radius: 50%; top: 3px; left: 3px;
  transition: transform 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cookie-switch input:checked + .cookie-switch__track { background: var(--yellow); }
.cookie-switch input:checked + .cookie-switch__track::after { transform: translateX(18px); }

/* Footer buttons */
.cookie-modal__foot {
  padding: 14px 24px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-pill {
  flex: 1;
  padding: 11px 10px;
  border-radius: 100px;
  border: 2px solid rgba(5,5,3,0.2);
  background: transparent;
  color: var(--black);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1;
  white-space: nowrap;
}
.cookie-pill:hover { border-color: var(--black); background: rgba(5,5,3,0.05); }
.cookie-pill--primary { background: var(--yellow); border-color: var(--yellow); }
.cookie-pill--primary:hover { background: var(--yellow-dk); border-color: var(--yellow-dk); }

@media (max-width: 480px) {
  .cookie-overlay { padding: 0; align-items: flex-end; }
  .cookie-modal { max-height: 90vh; border-radius: 16px 16px 0 0; }
  .cookie-modal__foot { flex-direction: column; }
}

/* ---- GDPR MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,5,3,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: #fff;
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-500);
  font-family: var(--font);
  z-index: 1;
}
.modal__close:hover { color: var(--black); }
.modal__body {
  padding: 40px 40px 32px;
  overflow-y: auto;
}
.modal__body h2 {
  font-size: 22px;
  margin: 0 0 8px;
  padding-right: 32px;
}
.modal__body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 24px 0 6px;
}
.modal__body p, .modal__body li {
  font-size: 14px;
  line-height: 1.65;
  color: #333;
}
.modal__body ul {
  padding-left: 20px;
  margin: 6px 0 12px;
}
.modal__body a { color: var(--black); }

/* ---- LECTURER LINK/BUTTON ---- */
.lecturer-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: color var(--transition);
}
.lecturer-btn:hover {
  color: var(--yellow-dk);
}

.lecturer-subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lecturer-bio p {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}

/* Lecturer modal layout */
.lecturer-detail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}

.lecturer-detail__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--gray-100);
}

.lecturer-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .lecturer-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .lecturer-detail__image {
    max-width: 160px;
    margin-inline: 0;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 60px;
  }
  .hero__visual { display: none; }
  .obsah-grid { grid-template-columns: 1fr; }
  .obsah-visual { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .personas { grid-template-columns: repeat(2, 1fr); }
  .section__grid { grid-template-columns: 1fr; gap: 48px; }
  .section__grid.reverse { direction: ltr; }
  .form-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--gray-100);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; width: 100%; }

  .stat__divider { display: none; }
  .stats__row { gap: 24px; }

  /* Photo grid: 2 cols, 2 rows, hide bottom 3 */
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
  }
  .photo-grid__item--c1r12 { grid-column: 1; grid-row: 1 / span 2; }
  .photo-grid__item--c2r1  { grid-column: 2; grid-row: 1; }
  .photo-grid__item--c2r2  { grid-column: 2; grid-row: 2; }
  .photo-grid__item--c3r12,
  .photo-grid__item--c1r3,
  .photo-grid__item--c2r3,
  .photo-grid__item--c3r3  { display: none; }

  .steps { grid-template-columns: 1fr; }
  .personas { grid-template-columns: 1fr 1fr; }

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

  .form-row { flex-direction: column; }
  .reg-form { padding: 28px 20px; }

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

  .testimonial { flex-basis: calc((100% - 24px) / 2); }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .personas { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .testimonial { flex-basis: 100%; }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover { background: var(--yellow-dk); }

@media (max-width: 768px) {
  .scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ---- KURZ LANDING PAGE (kurz.html) ---- */
.hero__inner--single {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.callout-card__icon {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 16px;
}

.callout-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.courses--single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
  margin-top: 40px;
}

#cityDisplay[readonly] {
  background: var(--gray-100);
  cursor: default;
  font-weight: 700;
}

.hero__partner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.hero__partner-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
}

.hero__partner-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.hero__partner img {
  height: 44px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .callouts { grid-template-columns: 1fr; }
}
