.home-hero {
  position: relative;
  padding: 0;
  background: #f5f5f0;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245, 245, 240, 0.02) 0%, rgba(245, 245, 240, 0) 48%, rgba(245, 245, 240, 0.92) 100%);
  z-index: -1;
}

.home-hero-shell {
  --hero-media-shift: 0px;
  --hero-copy-shift: 0px;
  --hero-copy-opacity: 1;
  --hero-pointer-x: 0;
  --hero-pointer-y: 0;
  position: relative;
  min-height: clamp(680px, 90vh, 920px);
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: clamp(4rem, 10vw, 6rem) 0 clamp(6rem, 12vw, 8rem);
  overflow: hidden;
}

.home-hero-media {
  position: absolute;
  inset: -3rem 0 0;
  background:
    linear-gradient(90deg, rgba(245, 245, 240, 0.78) 0%, rgba(245, 245, 240, 0.58) 28%, rgba(245, 245, 240, 0.16) 52%, rgba(245, 245, 240, 0.08) 100%),
    linear-gradient(180deg, rgba(245, 245, 240, 0.06) 0%, rgba(245, 245, 240, 0) 36%, rgba(245, 245, 240, 0.9) 100%),
    url("../img/home/uvodni-stranka-hero.d8766d2b50f4.png");
  background-size: cover;
  background-position: center top;
  transform:
    translate3d(
      calc(var(--hero-pointer-x) * -18px),
      calc(var(--hero-media-shift) + (var(--hero-pointer-y) * -14px)),
      0
    )
    scale(1.07);
  transition: transform 220ms ease-out, filter 220ms ease-out;
  will-change: transform;
  filter: saturate(1.02) brightness(0.82);
}

.home-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at calc(16% + (var(--hero-pointer-x) * 8%)) calc(24% + (var(--hero-pointer-y) * 6%)),
      rgba(255, 255, 255, 0.42),
      transparent 24%
    ),
    radial-gradient(
      circle at calc(74% + (var(--hero-pointer-x) * -5%)) calc(28% + (var(--hero-pointer-y) * 4%)),
      rgba(184, 210, 198, 0.14),
      transparent 26%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 28%, rgba(255, 255, 255, 0) 44%);
  animation: hero-atmosphere 14s ease-in-out infinite;
}

.home-hero-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 34%;
  background: linear-gradient(180deg, rgba(245, 245, 240, 0) 0%, rgba(245, 245, 240, 0.68) 44%, #f5f5f0 100%);
}

.home-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 1.55rem;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(1040px, 100%);
  padding-top: 1rem;
  padding-left: 0;
  transform:
    translate3d(
      calc(var(--hero-pointer-x) * 10px),
      calc(var(--hero-copy-shift) + (var(--hero-pointer-y) * -8px)),
      0
    );
  opacity: var(--hero-copy-opacity);
  transition: transform 220ms ease-out, opacity 220ms ease-out;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-media,
  .home-hero-copy {
    transform: none;
    opacity: 1;
    transition: none;
    will-change: auto;
  }

  .home-hero-shell::before,
  .home-hero-scroll-dot {
    animation: none;
  }
}

.home-hero-title,
.section-title {
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
}

.home-hero-title {
  margin: 1rem 0 1.8rem;
  font-size: clamp(3.35rem, 7vw, 6.8rem);
  font-weight: 600;
  line-height: 0.98;
  max-width: 11.5ch;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.home-hero-title span {
  display: block;
  color: #4d7a72;
}

.home-hero-lead,
.section-text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.home-hero-lead {
  max-width: 780px;
  margin-bottom: 2.5rem;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  color: rgba(47, 62, 58, 0.88);
  line-height: 1.75;
}

.home-hero-actions,
.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-cta-actions {
  justify-content: center;
}

.home-hero-btn,
.home-hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 500;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.home-hero-btn {
  background: #5a7570;
}

.home-hero-btn:hover {
  background: #4a6560;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(60, 81, 75, 0.16);
}

.home-hero-btn-outline {
  border: 2px solid #2d2d2d;
  color: #2d2d2d;
  background: transparent;
}

.home-hero-btn-outline:hover {
  background: #2d2d2d;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(45, 45, 45, 0.12);
}

.hero-btn-arrow {
  font-size: 1rem;
  line-height: 1;
}

.home-hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.home-hero-chip {
  --hero-chip-shift-x: 0px;
  --hero-chip-shift-y: 0px;
  --hero-chip-hover-y: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 62, 58, 0.14);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  color: #344541;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(35, 46, 41, 0.08);
  transform:
    translate3d(
      calc(var(--hero-chip-shift-x) + (var(--hero-pointer-x) * 10px)),
      calc(var(--hero-chip-shift-y) + (var(--hero-pointer-y) * -6px) + var(--hero-chip-hover-y)),
      0
    );
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.home-hero-chip:nth-child(2) {
  --hero-chip-shift-x: 0px;
}

.home-hero-chip:nth-child(3) {
  --hero-chip-shift-x: 0px;
}

.home-hero-chip:hover {
  --hero-chip-hover-y: -4px;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(95, 118, 107, 0.24);
  color: #2d2d2d;
  box-shadow: 0 18px 34px rgba(35, 46, 41, 0.1);
}

.home-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(47, 62, 58, 0.7);
  text-decoration: none;
  transform: translateX(-50%);
  transition: color 220ms ease, transform 220ms ease;
}

.home-hero-scroll:hover {
  color: #2d2d2d;
  transform: translateX(-50%) translateY(-3px);
}

.home-hero-scroll-mouse {
  display: inline-flex;
  justify-content: center;
  width: 28px;
  height: 44px;
  padding-top: 0.55rem;
  border-radius: 999px;
  border: 1.5px solid rgba(47, 62, 58, 0.34);
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.home-hero-scroll-dot {
  width: 5px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  animation: hero-scroll-dot 1.8s ease-in-out infinite;
}

.home-hero-scroll-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes hero-atmosphere {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.84;
  }
}

@keyframes hero-scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 0.95;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.45;
  }

  100% {
    transform: translateY(0);
    opacity: 0.95;
  }
}

.reveal.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal.reveal-lift {
  transform: translate3d(0, 40px, 0) scale(0.985);
}

.reveal.reveal-lift.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal.reveal-left {
  transform: translate3d(-42px, 24px, 0);
}

.reveal.reveal-left.is-visible {
  transform: translate3d(0, 0, 0);
}

.reveal.reveal-right {
  transform: translate3d(42px, 24px, 0);
}

.reveal.reveal-right.is-visible {
  transform: translate3d(0, 0, 0);
}

.reveal.reveal-band {
  transform: translate3d(0, 54px, 0);
}

.reveal.reveal-band.is-visible {
  transform: translate3d(0, 0, 0);
}

.home-image-band {
  --band-shift: 0px;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #f5f5f0;
  overflow: hidden;
}

/* ── Fotka "Detail psího oka" (pes sám u jezera) ─────────────────────────
   Úplně samostatná třída – nic nesdílí s fotkou lesa/paní níže. */
.home-photo-eye {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  object-position: center 65%;
  transform: translate3d(0, var(--band-shift), 0) scale(1.02);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.home-image-band.is-visible .home-photo-eye {
  transform: translate3d(0, var(--band-shift), 0) scale(1.02);
}

.home-image-band:hover .home-photo-eye {
  transform: translate3d(0, var(--band-shift), 0) scale(1.06);
}

.home-image-band-forest {
  background: #f5f5f0;
}

/* ── Fotka "Pes v lese" (paní se psem u stromu) ──────────────────────────
   Úplně samostatná třída – nic nesdílí s fotkou jezera nahoře. */
.home-photo-forest {
  display: block;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
  object-position: center 35%;
  transform: translate3d(0, var(--band-shift), 0) scale(1.02);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.home-image-band.is-visible .home-photo-forest {
  transform: translate3d(0, var(--band-shift), 0) scale(1.02);
}

.home-image-band:hover .home-photo-forest {
  transform: translate3d(0, var(--band-shift), 0) scale(1.06);
}

.section-space {
  padding: 6rem 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 3rem;
}

.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: start;
}

.section-title {
  margin: 1rem 0 0;
  font-size: clamp(3rem, 5.3vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.home-intro {
  position: relative;
  background: #f5f5f0;
}

.home-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 18%);
  pointer-events: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 4.5rem;
}

.intro-panel,
.service-card,
.course-preview-card {
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(95, 118, 107, 0.1);
  box-shadow: 0 16px 36px rgba(35, 46, 41, 0.06);
}

.intro-panel {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.15fr) minmax(280px, 1fr);
  gap: 2.25rem;
  align-items: center;
  padding: 2.8rem 2rem 2.8rem 1.7rem;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(45, 45, 45, 0.06);
  box-shadow: 0 4px 18px rgba(35, 46, 41, 0.06);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.intro-panel::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  opacity: 1;
  border-radius: 999px;
}

.intro-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(95, 118, 107, 0.16);
  box-shadow: 0 18px 42px rgba(35, 46, 41, 0.1);
}

.panel-number,
.service-icon {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--sage-deep);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0;
  padding-top: 0.3rem;
}

.intro-panel h3,
.service-card h3,
.course-preview-card h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.intro-panel p,
.service-card p,
.course-preview-card p,
.approach-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.intro-panel-sage::after {
  background: #637e78;
}

.intro-panel-sage .panel-number,
.intro-panel-sage h3 {
  color: #637e78;
}

.intro-panel-orange::after {
  background: #f4a261;
}

.intro-panel-orange .panel-number,
.intro-panel-orange h3 {
  color: #f4a261;
}

.intro-panel-dark::after {
  background: #2d2d2d;
}

.intro-panel-dark .panel-number,
.intro-panel-dark h3 {
  color: #2d2d2d;
}

.services-section {
  position: relative;
  background: #f5f5f0;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0));
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.3rem 2.25rem 2.1rem;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: none;
  box-shadow: none;
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    filter 300ms ease;
}

.service-card-trainings {
  background: #6b847d;
}

.service-card-courses {
  background: #f5a157;
}

.service-card-products {
  background: #2f2f2f;
}

.service-card::before {
  display: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 42px rgba(35, 46, 41, 0.16);
  filter: saturate(1.03);
}

.services-section .section-head {
  max-width: 760px;
  margin-bottom: 3.4rem;
}

.service-link,
.course-preview-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
  font-size: 1.02rem;
  text-decoration: none;
}

.service-link:hover,
.course-preview-footer a:hover {
  color: #ffffff;
  opacity: 0.88;
}

.service-link::after {
  content: "→";
  display: inline-block;
  margin-left: 0.1rem;
  transform: translateX(0);
  transition: transform 220ms ease;
}

.service-link:hover::after {
  transform: translateX(4px);
}

.service-card .service-icon {
  color: rgba(255, 255, 255, 0.52);
  font-size: 1.1rem;
  padding-top: 0;
  margin-bottom: 1.8rem;
}

.service-card h3 {
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  margin-bottom: 1.35rem;
  width: 100%;
  max-width: none;
}

.service-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.6;
  width: 100%;
  max-width: none;
}

.approach-section {
  background: #6f8780;
}

.approach-copy .section-kicker {
  margin-bottom: 1.35rem;
  color: rgba(255, 255, 255, 0.72);
}

.approach-copy .section-title,
.approach-copy .section-text {
  color: #fff;
}

.approach-copy .section-title {
  margin: 0 0 1.8rem;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.approach-copy .section-title span {
  display: block;
  color: #f5a157;
}

.approach-copy .section-text {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  line-height: 1.6;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4.5rem;
}

.approach-step {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  transition:
    transform 280ms ease,
    border-color 280ms ease,
    opacity 280ms ease;
}

.approach-step:hover {
  transform: translateY(-8px);
  border-color: #fff;
}

.approach-step-number {
  display: block;
  margin-bottom: 0.9rem;
  color: #f5a157;
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  line-height: 1;
}

.approach-step strong {
  display: block;
  margin-bottom: 0.85rem;
  color: #fff;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.approach-step p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.course-preview-section {
  background: #f5f5f0;
}

.course-preview-head {
  max-width: 900px;
  margin-bottom: 3.5rem;
}

.course-preview-head .section-title {
  max-width: none;
  margin-bottom: 1.6rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.course-preview-head .section-text {
  max-width: 760px;
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
  color: rgba(47, 62, 58, 0.72);
}

.course-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.home-course-card {
  position: relative;
  min-height: 41rem;
  overflow: hidden;
  border-radius: 1.85rem;
  background: #d9ded9;
}

.home-course-card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  color: #ffffff;
  text-decoration: none;
}

.home-course-card-media,
.home-course-card-image,
.home-course-card-overlay {
  position: absolute;
  inset: 0;
}

.home-course-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-course-card-overlay {
  background:
    linear-gradient(180deg, rgba(21, 26, 24, 0.12) 0%, rgba(21, 26, 24, 0.04) 20%, rgba(21, 26, 24, 0.4) 66%, rgba(17, 20, 19, 0.84) 100%);
}

.home-course-card:hover .home-course-card-image {
  transform: scale(1.05);
}

.home-course-card-soon {
  cursor: default;
}

.home-course-card-soon:hover .home-course-card-image {
  transform: none;
}

.home-course-card-coming-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: #2f3e3a;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}

.home-course-card-top,
.home-course-card-body,
.home-course-card-footer {
  position: relative;
  z-index: 1;
}

.home-course-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.6rem 1.55rem 0;
}

.home-course-card-pill,
.home-course-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.home-course-card-pill {
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-course-card-badge {
  min-width: 3rem;
  padding: 0.4rem 0.9rem;
  background: rgba(46, 58, 53, 0.78);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.home-course-card-body {
  margin-top: auto;
  padding: 0 2rem 1.35rem;
}

.home-course-card-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: #f1ad65;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-course-card-title {
  max-width: 12ch;
  margin: 0 0 1rem;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 4vw, 3.35rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-course-card-description {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

.home-course-card-footer {
  padding: 0 2rem 2rem;
}

.home-course-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem 1.1rem;
  margin-bottom: 1.35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.home-course-card-meta span {
  position: relative;
  padding-left: 1rem;
}

.home-course-card-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
}

.home-course-card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-course-card-price {
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.95rem, 3vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.home-course-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  background: rgba(209, 143, 75, 0.84);
  color: #ffffff;
  font-size: 1.45rem;
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}

.home-course-card:hover .home-course-card-arrow {
  transform: translateX(3px);
  background: rgba(209, 143, 75, 0.96);
}

.home-course-card-empty {
  min-height: 24rem;
  background: #ffffff;
  border: 1px solid rgba(106, 133, 124, 0.12);
}

.home-course-card-empty-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  min-height: 100%;
  padding: 2rem;
  color: #2f3e3a;
}

.home-course-card-empty-body .home-course-card-pill {
  width: fit-content;
  border-color: rgba(106, 133, 124, 0.16);
  background: #f4f6f3;
  color: #5e7770;
}

.home-course-card-empty-body h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.home-course-card-empty-body p {
  max-width: 32rem;
  margin: 0;
  color: rgba(47, 62, 58, 0.74);
  font-size: 1rem;
  line-height: 1.6;
}

.home-course-card-empty-body a {
  color: #5f766b;
  text-decoration: none;
  font-weight: 600;
}

.course-preview-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(45, 45, 45, 0.06);
  box-shadow: 0 10px 28px rgba(35, 46, 41, 0.06);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.course-preview-card-empty {
  background: linear-gradient(180deg, #ffffff, #f6f7f3);
}

.course-preview-image-link {
  display: block;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
}

.course-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.course-preview-card:hover {
  transform: translateY(-10px);
  border-color: rgba(95, 118, 107, 0.14);
  box-shadow: 0 22px 44px rgba(35, 46, 41, 0.1);
}

.course-preview-card:hover .course-preview-image {
  transform: scale(1.07);
}

.course-preview-body {
  padding: 1.5rem 1.55rem 1.4rem;
}

.course-preview-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #5f766b;
  font-size: 0.82rem;
  font-weight: 500;
}

.course-preview-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.course-preview-variants {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #6b847d;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
}

.course-preview-card h3 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.06;
}

.course-preview-card p {
  color: rgba(47, 62, 58, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.course-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(95, 118, 107, 0.12);
}

.course-preview-footer a {
  color: #5f766b;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.course-preview-footer strong {
  color: #2d2d2d;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
}

.course-preview-cta {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.home-cta {
  background: #ffffff;
}

.home-cta-shell {
  display: grid;
  gap: 2rem;
  justify-items: center;
  text-align: center;
  padding: 1rem 0 0;
}

.home-cta-shell .section-title {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.home-cta-shell .section-title span {
  color: #6f8780;
}

.home-cta-label {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.btn-sage,
.btn-outline-sage {
  text-decoration: none;
}

.btn-sage {
  background: #6f8780;
  color: #fff;
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  font-weight: 500;
  border: none;
  box-shadow: none;
}

.btn-sage:hover {
  color: #fff;
  background: #5f766f;
}

.btn-outline-sage {
  border: 2px solid #2d2d2d;
  color: #2d2d2d;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  font-weight: 500;
}

.btn-outline-sage:hover {
  color: #ffffff;
  border-color: #2d2d2d;
  background: #2d2d2d;
}

.home-cta-btn-primary,
.home-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.home-cta-btn-primary {
  background: #6f8780;
  box-shadow: none;
}

.home-cta-btn-primary:hover {
  background: #5f766f;
  transform: translateY(-3px);
}

.home-cta-btn-outline {
  border: 2px solid #2d2d2d;
  color: #2d2d2d;
  background: transparent;
  border-radius: 999px;
}

.home-cta-btn-outline:hover {
  color: #ffffff;
  background: #2d2d2d;
  border-color: #2d2d2d;
  transform: translateY(-3px);
}

.lecturer-section {
  background: #5f766b;
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.lecturer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.lecturer-badge {
  display: inline-block;
  margin-bottom: 1.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bfe0d4;
}

.lecturer-name {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 1.8rem;
}

.lecturer-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
  opacity: 0.95;
  margin-bottom: 3rem;
}

.lecturer-lead strong {
  color: #ffffff;
  font-weight: 600;
}

.lecturer-stats {
  display: flex;
  gap: 4rem;
  align-items: flex-end;
}

.stat-text {
  max-width: 280px;
}

.stat-text .stat-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.4rem;
}

.stat-text .stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-text .stat-note {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.stat-number {
  position: relative;
  top: 0.35rem;
}

.stat-number .stat-value {
  display: block;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat-number .stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.lecturer-visual {
  --float-shift: 0px;
  position: relative;
  width: 100%;
  height: 420px;
  transform: translate3d(0, var(--float-shift), 0);
  transition: transform 600ms ease;
}

.lecturer-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 60% 40%, rgba(255,255,255,0.12), transparent 60%);
  border-radius: 50%;
}

.lecturer-photo-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.lecturer-photo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 1.5rem;
  transform: scale(1.01);
  transition: transform 700ms ease;
}

.lecturer-visual:hover .lecturer-photo {
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-lift,
  .reveal.reveal-left,
  .reveal.reveal-right,
  .reveal.reveal-band,
  .home-photo-eye,
  .home-photo-forest,
  .intro-panel,
  .service-card,
  .approach-step,
  .course-preview-card,
  .course-preview-image,
  .lecturer-visual,
  .lecturer-photo,
  .home-cta-btn-primary,
  .home-cta-btn-outline {
    transform: none;
    transition: none;
    animation: none;
  }
}

@media (max-width: 991px) {
  .section-head-split,
  .services-grid,
  .intro-grid,
  .approach-steps,
  .course-preview-grid,
  .home-cta-shell,
  .lecturer-grid {
    grid-template-columns: 1fr;
  }

  .home-cta-shell {
    padding: 2rem;
  }

  .lecturer-visual {
    height: 340px;
  }

  .intro-panel {
    grid-template-columns: 64px 1fr;
  }

  .intro-panel p {
    grid-column: 2;
  }

  .approach-steps {
    gap: 1.5rem;
  }

  .home-hero-links {
    max-width: none;
  }

  /* Desktopové pravidlo má white-space: nowrap → na úzké obrazovce
     se nadpis nezalomí a uteče za okraj. Na mobilu povolíme zalomení. */
  .course-preview-head .section-title {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding-top: 0;
  }

  .home-hero-shell {
    min-height: 640px;
    padding: 2.5rem 0 5.5rem;
    background-position: 64% center;
  }

  /* Na telefonu text běží přes celou šířku, takže původní vodorovný
     závoj (světlý jen vlevo) nestačí. Nahradíme ho svislým krémovým
     závojem – silný nahoře pod nadpisem/odstavcem, slabší dole, ať je
     fotka pořád vidět. Tmavý text tak zůstane čitelný na celé šířce. */
  .home-hero-media {
    background:
      linear-gradient(180deg,
        rgba(245, 245, 240, 0.88) 0%,
        rgba(245, 245, 240, 0.82) 44%,
        rgba(245, 245, 240, 0.55) 68%,
        rgba(245, 245, 240, 0.32) 100%),
      url("../img/home/uvodni-stranka-hero.d8766d2b50f4.png");
    background-size: cover;
    background-position: center top;
    filter: saturate(1.02) brightness(0.92);
  }

  .home-hero-title,
  .home-kicker,
  .home-hero-lead {
    text-shadow: 0 1px 14px rgba(245, 245, 240, 0.92);
  }

  .home-hero-title {
    max-width: none;
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .home-hero-actions,
  .home-hero-links {
    gap: 0.8rem;
  }

  .home-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .home-hero-lead {
    max-width: 560px;
  }

  .home-hero-chip {
    min-height: 44px;
    padding: 0.72rem 1rem;
    font-size: 0.92rem;
  }

  .home-hero-chip:nth-child(2),
  .home-hero-chip:nth-child(3) {
    --hero-chip-shift-x: 0px;
  }

  .home-hero-scroll {
    display: none;
  }

  .home-photo-eye,
  .home-photo-forest {
    height: auto;
  }

  .section-head-split {
    gap: 1.5rem;
  }

  .section-space {
    padding: 4.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .intro-grid {
    margin-top: 3rem;
  }

  .intro-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 1.35rem 2rem 1.1rem;
  }

  .intro-panel p {
    grid-column: auto;
  }

  .intro-panel h3 {
    font-size: 2rem;
  }

  .service-card {
    min-height: 320px;
    padding: 2rem 1.5rem 1.85rem;
  }

  .service-card h3 {
    font-size: 2rem;
  }

  .service-card p {
    max-width: none;
  }

  .approach-copy .section-title {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    white-space: normal;
  }

  .approach-steps {
    margin-top: 3rem;
    gap: 1.2rem;
  }

  .approach-step {
    padding-top: 1.4rem;
  }

  .approach-step strong {
    font-size: 2rem;
  }

  .course-preview-head .section-title {
    font-size: clamp(2rem, 7vw, 2.6rem);
    white-space: normal;
  }

  .home-course-card {
    min-height: 33rem;
    border-radius: 1.5rem;
  }

  .home-course-card-top {
    padding: 1rem 1rem 0;
  }

  .home-course-card-body {
    padding: 0 1.2rem 1rem;
  }

  .home-course-card-title {
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .home-course-card-description {
    font-size: 0.95rem;
  }

  .home-course-card-footer {
    padding: 0 1.2rem 1.2rem;
  }

  .home-course-card-meta {
    gap: 0.7rem 0.9rem;
    font-size: 0.88rem;
  }

  .home-course-card-price {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .home-course-card-arrow {
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1.2rem;
  }

  .home-cta-shell .section-title {
    font-size: clamp(2.8rem, 12vw, 4.3rem);
  }

  .home-cta-label {
    font-size: clamp(1.2rem, 5.5vw, 1.6rem);
    white-space: normal;
  }

  .home-cta-actions {
    width: 100%;
  }

  .intro-panel,
  .service-card,
  .home-course-card {
    border-radius: 22px;
  }

  .home-cta-actions,
  .lecturer-stats {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Tlačítka na střed, ať sedí pod vycentrovaným nadpisem CTA. */
  .home-cta-actions {
    align-items: center;
  }

  .lecturer-section {
    padding: 4.5rem 0;
  }

  .lecturer-name {
    font-size: 2.4rem;
  }

  .lecturer-visual {
    height: 280px;
  }
}
