.hero { position: relative; overflow: hidden; padding: calc(var(--top-h) + 32px) 0 64px; }
@media (min-width: 768px) { .hero { padding: calc(var(--top-h) + 48px) 0 96px; } }

.hero-grid { display: flex; flex-direction: column-reverse; align-items: center; gap: 40px; }
@media (min-width: 768px) { .hero-grid { flex-direction: row; gap: 64px; } }

/* hero je hneď viditeľný (LCP) — animuje sa len posun, nie priehľadnosť */
.hero .reveal, .js .hero .reveal { opacity: 1; transform: none; animation: rise .6s ease-out both; }
@keyframes rise { from { transform: translateY(24px); } }

.hero-copy { flex: 1; text-align: center; }
@media (min-width: 768px) { .hero-copy { text-align: left; } }
.hero h1 { font-weight: 800; font-size: 1.875rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .hero h1 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 56px; line-height: 1.1; } }
.lead { color: var(--muted-fg); max-width: 36rem; margin: 0 auto 2rem; }
@media (min-width: 768px) { .lead { margin-left: 0; } }
@media (min-width: 1024px) { .lead { font-size: 1.125rem; } }

.stats { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .stats { flex-direction: row; justify-content: center; gap: 1.5rem; } }
@media (min-width: 768px) { .stats { justify-content: flex-start; } }
.stats li { display: flex; align-items: center; gap: .75rem; text-align: left; }
.stat-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--primary-light); color: var(--primary); font-size: 20px; }
.stat-v { display: inline-block; font: 700 1.125rem var(--font-mono); font-variant-numeric: tabular-nums; }
.stat-l { display: block; font-size: .875rem; color: var(--muted-fg); }

.hero-ctas { display: flex; flex-direction: column; gap: .75rem; justify-content: center; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
@media (min-width: 768px) { .hero-ctas { justify-content: flex-start; } }

.hero-visual { width: 100%; flex-shrink: 0; }
@media (min-width: 768px) { .hero-visual { width: 45%; } }

.carousel { position: relative; border-radius: var(--r-lg); box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.car-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-lg);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.car-slide img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--muted); }
.car-slide figcaption {
  position: absolute; inset: auto 0 0; padding: .75rem 1rem;
  background: linear-gradient(to top, rgb(0 0 0 / .7), transparent);
  color: #fff; font: 600 .875rem/1.25 var(--font-head); text-shadow: 0 1px 2px rgb(0 0 0 / .4);
}
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgb(255 255 255 / .9); border: 1px solid var(--border); color: var(--fg); font-size: 18px;
  box-shadow: var(--shadow-lg); transition: background-color .2s;
}
.car-btn:hover { background: #fff; }
.car-prev { left: 12px; }
.car-next { right: 12px; }
@media (min-width: 1200px) { .car-prev { left: -18px; } .car-next { right: -18px; } }
