/* ── Hero sekce ───────────────────────────────────────── */
.zah-hero {
  position: relative;
  height: 100vh; min-height: 600px;
  display: flex; align-items: center;
  overflow: hidden;
}

.zah-hero-slides {
  position: absolute; inset: 0; z-index: 0;
}
.zah-hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 8s ease;
}
.zah-hero-slide.aktivni {
  opacity: 1;
  transform: scale(1);
}

.zah-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10,30,18,.82) 0%,
    rgba(15,45,26,.65) 50%,
    rgba(10,30,18,.55) 100%
  );
}

.zah-hero-obsah {
  position: relative; z-index: 10;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.zah-hero-stitek {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--zah-svetla);
  margin-bottom: 28px;
  animation: zah-fade-up .8s .1s both;
}
.zah-hero-stitek::before {
  content: '';
  display: block; width: 28px; height: 1px;
  background: var(--zah-svetla);
}

.zah-hero-nadpis {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 700; line-height: .95;
  color: #fff; letter-spacing: -.03em;
  margin-bottom: 28px;
  animation: zah-fade-up .8s .2s both;
}
.zah-hero-nadpis em {
  font-style: italic; color: var(--zah-svetla);
  font-weight: 400;
}

.zah-hero-popis {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.7);
  max-width: 520px; line-height: 1.7;
  margin-bottom: 44px; font-weight: 300;
  animation: zah-fade-up .8s .3s both;
}

.zah-hero-akce {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  animation: zah-fade-up .8s .4s both;
}

.zah-hero-btn-primarni {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--zah-svetla); color: var(--zah-tmava);
  font-size: 15px; font-weight: 700; letter-spacing: .01em;
  padding: 16px 36px; border-radius: 100px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(78,203,130,.3);
}
.zah-hero-btn-primarni:hover {
  background: #6ed99a; color: var(--zah-tmava);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(78,203,130,.4);
}

.zah-hero-btn-ghost {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,.75);
  font-size: 15px; font-weight: 500;
  padding: 16px 28px; border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  transition: color .2s, border-color .2s, background .2s;
}
.zah-hero-btn-ghost:hover {
  color: #fff; border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.08);
}

/* Dots navigace */
.zah-hero-dots {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.zah-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.35);
  cursor: pointer; padding: 0;
  transition: background .3s, transform .3s;
}
.zah-hero-dot.aktivni {
  background: var(--zah-svetla);
  transform: scale(1.4);
}

/* Scroll indikátor */
.zah-scroll-down {
  position: absolute; bottom: 36px; right: 48px; z-index: 10;
  color: rgba(255,255,255,.4);
  animation: zah-bounce 2s ease-in-out infinite;
}
@keyframes zah-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ── Animace ──────────────────────────────────────────── */
@keyframes zah-fade-up {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── Stats bar ────────────────────────────────────────── */
.zah-stats-bar {
  background: var(--zah-tmava);
  padding: 0;
}
.zah-stats-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
}
.zah-stat {
  padding: 28px 52px;
  text-align: center;
}
.zah-stat-cislo {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700;
  color: var(--zah-svetla); line-height: 1;
  margin-bottom: 4px;
}
.zah-stat-popis {
  font-size: 12px; color: rgba(255,255,255,.4);
  letter-spacing: .06em; text-transform: uppercase;
}
.zah-stat-sep {
  width: 1px; height: 48px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ── Funkce sekce ─────────────────────────────────────── */
.zah-funkce-sekce {
  padding: 100px 0;
  background: var(--zah-cream);
}

.zah-sekce-hlavicka {
  text-align: center; margin-bottom: 64px;
}
.zah-sekce-stitek {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--zah-stredni);
  margin-bottom: 14px; display: block;
}
.zah-sekce-hlavicka h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--zah-tmava); line-height: 1.1;
  letter-spacing: -.03em;
}

.zah-funkce-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.zah-funkce-karta {
  background: #fff;
  border: 1px solid rgba(45,134,83,.1);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.zah-funkce-karta:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15,45,26,.1);
  border-color: rgba(45,134,83,.25);
}

.zah-funkce-velka {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  min-height: 400px;
}

.zah-funkce-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .25;
  transition: opacity .4s;
}
.zah-funkce-velka:hover .zah-funkce-bg { opacity: .35; }

.zah-funkce-obsah {
  position: relative; z-index: 2;
  padding: 36px 40px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.zah-funkce-velka .zah-funkce-obsah {
  background: linear-gradient(to top, rgba(10,30,18,.7) 0%, transparent 100%);
  justify-content: flex-end; padding: 48px;
}
.zah-funkce-velka .zah-funkce-ico,
.zah-funkce-velka h3,
.zah-funkce-velka p { color: #fff; }
.zah-funkce-velka p { color: rgba(255,255,255,.75); }

.zah-funkce-ico {
  font-size: 32px; margin-bottom: 14px; display: block;
  line-height: 1;
}
.zah-funkce-karta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--zah-tmava); margin-bottom: 10px;
  letter-spacing: -.02em;
}
.zah-funkce-karta p {
  font-size: 14px; line-height: 1.7;
  color: var(--zah-text-sec);
  margin-bottom: 0; font-weight: 300;
}
.zah-funkce-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 14px; font-weight: 600;
  color: var(--zah-svetla); text-decoration: none;
  transition: gap .2s;
}
.zah-funkce-link:hover { gap: 10px; color: var(--zah-svetla); }

/* ── CTA sekce ────────────────────────────────────────── */
.zah-cta-sekce {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.zah-cta-bg {
  position: absolute; inset: 0;
  background: var(--zah-tmava);
}
.zah-cta-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 60% 50%, rgba(78,203,130,.12) 0%, transparent 65%);
}

.zah-cta-obsah {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.zah-cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1; letter-spacing: -.03em;
  margin-bottom: 14px;
}
.zah-cta-text h2 em { font-style: italic; color: var(--zah-svetla); }
.zah-cta-text p { font-size: 16px; max-width: 400px; margin: 0; font-weight: 300; }
.zah-cta-akce { display: flex; flex-direction: column; align-items: center; gap: 0; }

/* ── Responsivita ─────────────────────────────────────── */
@media (max-width: 900px) {
  .zah-hero-obsah { padding: 0 32px; }
  .zah-funkce-grid { grid-template-columns: 1fr; }
  .zah-funkce-velka { grid-column: auto; grid-row: auto; min-height: 320px; }
  .zah-stats-grid { flex-wrap: wrap; }
  .zah-stat { padding: 20px 32px; }
  .zah-cta-obsah { flex-direction: column; text-align: center; }
  .zah-cta-text p { margin: 0 auto; }
  .zah-scroll-down { display: none; }
}
@media (max-width: 600px) {
  .zah-hero-nadpis { font-size: 42px; }
  .zah-hero-obsah { padding-top: 160px; }
  .zah-hero-akce { flex-direction: column; align-items: flex-start; }
  .zah-hero-btn-ghost { align-self: center; }
  .zah-stat-sep { display: none; }
  .zah-stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
}
