/* ============ DESIGN TOKENS ============ */
:root {
  /* Colors */
  --accent: #4CAF50;
  --accent-dark: #388E3C;
  --accent-light: rgba(76,175,80,0.12);
  --accent-glow: rgba(76,175,80,0.35);

  /* Backgrounds */
  --bg-dark: #0f0f0f;
  --bg-dark-mid: #1a1a1a;
  --bg-dark-card: #1e1e1e;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;

  /* Compat aliases */
  --bg: #f8f8f8;
  --surface: #ffffff;
  --surface-2: #F1F3F5;
  --text: #1E1E1E;
  --text-dark: #ffffff;
  --muted: #5A5A5A;
  --muted-dark: rgba(255,255,255,0.6);
  --border: #E8EAEC;
  --border-dark: rgba(255,255,255,0.1);

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow: 0 8px 30px rgba(0,0,0,0.07);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --shadow-green: 0 12px 40px rgba(76,175,80,0.3);

  /* Shape */
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Diagonal stripe texture for dark sections — pure CSS, no base64 */
  --noise: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(255,255,255,0.015) 4px,
    rgba(255,255,255,0.015) 5px
  );

  /* Dot pattern for light sections */
  --dots: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: #0f0f0f; /* okamžite tmavé pozadie — bez bieleho prebliknutia */
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-light);
  background-color: #0f0f0f; /* prekryje light default kým sa nespustí CSS sekcie */
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative; /* zabraňuje scroll-container konfliktu s html */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ============ TYPOGRAPHY ============ */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.section-title .accent { color: var(--accent); }
.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}
.btn-outline-white {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}
.btn-white {
  background: #fff;
  color: var(--accent-dark);
  border-color: #fff;
  font-weight: 700;
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,15,15,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  background: rgba(15,15,15,0.92);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}
.logo-img { display: block; width: auto; object-fit: contain; background: transparent; }
.logo-img-nav { height: 52px; width: auto; }
.logo-img-footer { height: 48px; width: auto; }

.nav-menu {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}
.nav-menu > li > a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  position: relative;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
  display: block;
}
.nav-menu > li > a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-menu > li > a::after { display: none; }

/* Nav Toggle — skrytý na desktope, viditeľný na mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
  color: #fff;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; user-select: none; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--bg-dark-mid);
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px;
  min-width: 165px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu li a:hover { background: rgba(76,175,80,0.15); color: #fff; }
.dropdown-menu li a::after { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 76px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Pozadí hero — izolovaný div, žiadny transform/transition = koniec zoom na iOS */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/priestory/5.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  will-change: auto !important;
}
/* Dark overlay — gradient pre lepšiu čitateľnosť textu */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.75) 45%,
    rgba(0,0,0,0.25) 100%
  );
  z-index: 1;
  pointer-events: none;
}
/* Green gradient from left */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,80,15,0.4) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 100px 0 120px;
  width: 100%;
}
.hero-text { max-width: 720px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 30px;
  animation: fadeUp 0.8s ease both;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 10px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  color: #ffffff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.4);
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero h1 .accent { color: var(--accent); }

.hero p.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.65;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 680px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.18);
  animation: fadeUp 0.8s 0.4s ease both;
}
.hero-stat {}
.hero-stats .stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 7px;
}
.hero-stats .stat-num span { color: var(--accent); }
.hero-stats .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  line-height: 1.4;
}

/* ============ SECTION COMMON ============ */
section { padding: 110px 0; position: relative; }

/* ============ REVEAL ANIMATIONS ============ */
/* Základná — zdola hore */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(0.08s * var(--i, 0));
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Alternate left/right — pre karty */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reduced motion — vypne všetky animácie */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1; transform: none; transition: none;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  user-select: none;
  z-index: 90;
  box-shadow: 0 8px 28px var(--accent-glow);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-4px); }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 999;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.1);
  padding: 20px 0;
}
.cookie-banner-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 36px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 0; }
.cookie-banner-text strong { font-size: 15px; color: var(--text); display: block; margin-bottom: 4px; }
.cookie-banner-text p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.cookie-banner-text a { color: var(--accent); }
.cookie-banner-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-decline { background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-pill); }
.cookie-btn-decline:hover { background: var(--surface-2); }
.cookie-btn-custom { background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-pill); }
.cookie-btn-custom:hover { background: var(--surface-2); }

/* Cookie Modal */
.cookie-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000; display: flex;
  align-items: center; justify-content: center; padding: 24px;
}
.cookie-modal-box {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 520px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}
.cookie-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px 20px; border-bottom: 1px solid var(--border);
}
.cookie-modal-header h3 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; margin: 0; }
.cookie-modal-close {
  width: 32px; height: 32px; border: none; background: var(--surface-2);
  border-radius: 50%; cursor: pointer; font-size: 14px; color: var(--muted);
  display: grid; place-items: center; transition: background 0.2s;
}
.cookie-modal-close:hover { background: var(--border); }
.cookie-modal-body { padding: 8px 0; }
.cookie-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 28px; border-bottom: 1px solid var(--border);
}
.cookie-row:last-child { border-bottom: none; }
.cookie-row-title { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 3px; }
.cookie-row-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.cookie-toggle-on {
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; opacity: 0.6;
}
.cookie-toggle-wrap { flex-shrink: 0; cursor: pointer; }
.cookie-toggle-wrap input { display: none; }
.cookie-switch {
  display: block; width: 44px; height: 24px; background: var(--border);
  border-radius: 999px; position: relative; transition: background 0.2s;
}
.cookie-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cookie-toggle-wrap input:checked + .cookie-switch { background: var(--accent); }
.cookie-toggle-wrap input:checked + .cookie-switch::after { transform: translateX(20px); }
.cookie-modal-footer {
  display: flex; gap: 10px; padding: 20px 28px 24px;
  border-top: 1px solid var(--border); justify-content: flex-end;
}

/* ============ 404 PAGE ============ */
.error-section {
  min-height: 100vh; padding: 140px 0 80px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; background: #0f1a0f;
}
.error-inner { max-width: 560px; margin: 0 auto; padding: 0 24px; }
.error-logo { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 24px; display: block; filter: drop-shadow(0 0 60px rgba(76,175,80,0.45)); }
.error-code { font-family: 'Poppins', sans-serif; font-size: clamp(96px,18vw,180px); font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.04em; margin: 0 0 12px; }
.error-title { font-family: 'Poppins', sans-serif; font-size: clamp(28px,4vw,44px); font-weight: 700; color: #fff; margin: 0 0 14px; }
.error-text { color: rgba(255,255,255,0.75); font-size: 17px; margin: 0 0 32px; line-height: 1.6; }

/* ============ REDUCED MOTION (pulse/hero animácie) ============ */
@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; box-shadow: 0 0 0 2px var(--accent-glow); }
  .hero-eyebrow, .hero h1, .hero p.lead, .hero-ctas, .hero-stats { animation: none; }
}

/* ============ RESPONSIVE NAV ============ */
@media (max-width: 1024px) {
  .nav-menu { gap: 2px; }
  .nav-menu > li > a { font-size: 13px; padding: 8px 10px; }
}
@media (max-width: 860px) {
  /* ── Mobile nav: Logo vľavo + hamburger vpravo, nič viac ── */
  .nav {
    background: #0f0f0f;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    z-index: 1000;
  }
  .nav.scrolled {
    background: #0f0f0f;
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
  }
  .nav-inner {
    height: 60px;
    padding: 0;
  }
  /* Logo: 36px výška */
  .logo-img-nav { height: 36px; }
  /* CTA tlačidlo: skryť na mobile */
  .nav .btn-primary { display: none; }
  /* Nav links: skryť inline, zobraziť v dropdown menu */
  .nav-menu {
    display: none; /* skryté — zobrazie sa cez transform keď .open */
  }
  .nav-menu.open {
    display: flex;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: #0f0f0f;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
    animation: mobileNavIn 0.25s ease;
  }
  @keyframes mobileNavIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-menu > li > a {
    padding: 13px 16px;
    font-size: 16px;
    border-radius: 10px;
    color: rgba(255,255,255,0.82);
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
  }
}

/* ============ RESPONSIVE BASE ============ */
@media (max-width: 768px) {
  .container { padding: 0 22px; }
  section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; gap: 24px; }
  /* Hero: padding-top 100px na mobile — dostatok priestoru pod navbarom */
  .hero { padding-top: 100px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 100%; }
  /* Cookie banner — mobile: bez horizontálneho pretečenia */
  .cookie-banner { padding: 16px; }
  .cookie-banner-inner {
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cookie-banner-text { min-width: 0; }
  .cookie-banner-btns {
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
  }
  .cookie-banner-btns .btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  section { padding: 72px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============ WHY SECTION — logo stamp ============ */
.why-logo-stamp {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  object-fit: contain;
  opacity: 0.07;
  filter: grayscale(1) brightness(10);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 860px) {
  .why-logo-stamp { width: 260px; right: 20px; }
}

/* ============ STATS GRID — Prečo my ============ */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 48px;
}
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.stat-card:hover {
  border-color: rgba(76,175,80,0.3);
  background: rgba(255,255,255,0.06);
}
.stat-card.stat-large {
  grid-row: 1 / 3;
  background: linear-gradient(135deg, #1a3a1a 0%, #0f2010 100%);
  border: 1px solid rgba(76,175,80,0.3);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border-radius: 20px;
}
.stat-card.stat-large:hover {
  border-color: rgba(76,175,80,0.55);
  background: linear-gradient(135deg, #1f4a1f 0%, #0f2010 100%);
}
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: #4CAF50;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-large .stat-number {
  font-size: clamp(4rem, 8vw, 6rem);
  margin-bottom: 4px;
}
.stat-card:not(.stat-large) .stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
}
.stat-unit { font-size: 0.55em; font-weight: 600; }
.stat-label-card {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.stat-large .stat-label-card {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
}
.stat-icon {
  margin-top: auto;
  opacity: 0.7;
}
.stat-large .stat-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .stat-card.stat-large {
    grid-row: auto;
    min-height: 160px;
    padding: 22px;
  }
  .stat-large .stat-icon { top: 16px; right: 16px; }
}
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card.stat-large { min-height: 140px; }
}

/* ============ CONTACT — 2-stĺpcový layout ============ */
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-left { display: flex; flex-direction: column; gap: 0; }
.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ── Contact visual — pravý stĺpec ── */
.contact-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  height: 100%;
}
.contact-logo-ring {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-logo-glow-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(74,205,80,0.12) 0%,
    rgba(74,205,80,0.05) 40%,
    transparent 70%
  );
  animation: pulse-glow 4s ease-in-out infinite;
}
.contact-logo-glow-inner {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(74,205,80,0.15);
  animation: pulse-ring 4s ease-in-out infinite;
}
.contact-logo-main {
  width: 240px;
  height: 240px;
  object-fit: contain;
  opacity: 0.9;
  animation: float-logo 6s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(74,205,80,0.4))
          drop-shadow(0 0 80px rgba(74,205,80,0.2));
  position: relative;
  z-index: 1;
}
.contact-visual-text {
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.8;
}
.contact-visual-text strong {
  color: rgba(74,205,80,0.7);
}

/* ── Priestory — redesign hlavičky ── */
.priestory-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.priestory-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.priestory-logo-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  opacity: 0.85;
  filter: drop-shadow(0 0 30px rgba(74,205,80,0.5));
  animation: float-logo 6s ease-in-out infinite;
}
.priestory-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.priestory-header-right h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}
.priestory-subtext {
  color: rgba(255,255,255,0.45);
  font-size: 1rem;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .priestory-header {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }
  .priestory-logo-col {
    justify-content: flex-start;
  }
  .priestory-logo-img {
    width: 120px;
    height: 120px;
  }
  .priestory-header-right {
    align-items: flex-start;
    text-align: left;
  }
}

/* ── Animácie ── */
@keyframes float-logo {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.05); }
}
@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.1); }
}

@media (max-width: 900px) {
  .contact-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-right { display: none; }
}
@media (max-width: 768px) {
  .contact-visual { display: none; }
}

/* ============ MOBILE PERFORMANCE — touch zariadenia ============ */
/* Vypne drahé backdrop-filter efekty a zjednodušuje animácie na mobile */
@media (max-width: 860px) {
  /* Backdrop-filter je náročný na GPU — vypnúť na mobile */
  .hero-eyebrow {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.28);
  }
  .btn-outline-white {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,0.2);
  }

  /* Kratšie reveal animácie na mobile — plynulejší pocit */
  .reveal {
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  .reveal-left {
    transform: translateX(-26px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  .reveal-right {
    transform: translateX(26px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
}

/* ── Odznak otvorené/zatvorené ───────────────────────────────── */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.open-badge.is-open  { background: rgba(76,175,80,0.12); color: var(--accent, #4CAF50); }
.open-badge.is-closed { background: rgba(120,120,120,0.12); color: #999; }
.open-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.is-open  .open-dot { background: var(--accent, #4CAF50); }
.is-closed .open-dot { background: #888; }
