/* Hero — treść + trust bar, fade do cards */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  padding: 48px 32px 0;
  overflow: hidden;
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media.is-fallback {
  background:
    linear-gradient(115deg, #0a1018 0%, #121820 40%, #1a2030 70%, #0d1520 100%),
    radial-gradient(ellipse 60% 50% at 75% 55%, rgba(255, 140, 40, 0.08) 0%, transparent 60%),
    var(--bg);
}

.hero__media.is-fallback .hero__img { opacity: 0; visibility: hidden; }

.hero__img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: 65% center;
  filter: brightness(0.75) saturate(0.9);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 29, 0.92) 0%, rgba(8, 17, 29, 0.55) 45%, rgba(8, 17, 29, 0.25) 70%, rgba(8, 17, 29, 0.4) 100%),
    linear-gradient(180deg, rgba(8, 17, 29, 0.3) 0%, transparent 40%, rgba(8, 17, 29, 0.5) 100%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, transparent 30%, rgba(0, 0, 0, 0.4) 100%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("../images/noise.png");
  background-size: 128px 128px;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero__glow--orange {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -5%;
  background: radial-gradient(circle, rgba(255, 119, 0, 0.15) 0%, transparent 70%);
}

.hero__glow--blue {
  width: 350px;
  height: 350px;
  top: 20%;
  right: 5%;
  background: radial-gradient(circle, rgba(40, 80, 180, 0.1) 0%, transparent 70%);
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero__content {
  text-align: left;
  max-width: 620px;
}

.hero__title {
  margin: 0 0 24px;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero__title-accent {
  color: var(--orange);
  display: block;
  margin-top: 4px;
}

.hero__lead {
  margin: 0 0 36px;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 480px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(180deg, #ff9833 0%, var(--orange) 50%, #e06500 100%);
  box-shadow: 0 8px 28px rgba(255, 119, 0, 0.45);
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 119, 0, 0.55);
}

/* Trust bar */
.hero__trustbar {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 32px 48px;
}

.hero__trustbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 28px;
  border-radius: 12px;
  background: rgba(22, 33, 53, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.hero__trust-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--orange);
  filter: drop-shadow(0 0 8px rgba(255, 119, 0, 0.5));
}

[data-reveal="hero"] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(4px);
}

[data-reveal="hero"].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 800ms var(--ease), transform 800ms var(--ease), filter 800ms var(--ease);
}

@media (max-width: 1024px) {
  .hero__container {
    min-height: auto;
  }

  .hero__trustbar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
  }

  .hero__trustbar-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal="hero"] { opacity: 1; transform: none; filter: none; }
}
