/* ==========================================================================
   CMP-HERO-2
   ==========================================================================
   Wariant cmp-hero-v1: jeden przycisk CTA (bez secondary), mniejszy tytuł.
   Video BG bez zmian.
   ========================================================================== */

.cmp-hero-v2 {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: #1a1a1c;
}

.cmp-hero-v2__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.cmp-hero-v2__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.55);
}

.cmp-hero-v2__content {
  width: 100%;
  padding-block: 140px 60px;
  padding-inline: var(--pad);
}

.cmp-hero-v2__inner {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: cmp-hero-v2-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cmp-hero-v2-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

.cmp-hero-v2__title {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 24px 0;
  text-wrap: balance;
}

.cmp-hero-v2__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin: 0 auto 36px auto;
}

.cmp-hero-v2__cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cmp-hero-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.5);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,.35);
}

.cmp-hero-v2__cta:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
}

.cmp-hero-v2__cta:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .cmp-hero-v2__inner { animation: none; }
  .cmp-hero-v2__bg { display: none; }
  .cmp-hero-v2 { background-color: #1a1a1c; }
}

@media (max-width: 767px) {
  .cmp-hero-v2__content { padding-block: 100px 40px; }
  .cmp-hero-v2__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
  }
}
