.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  box-sizing: border-box;
}

.hero.hero--height-fixed {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero.hero--height-fixed.hero--valign-bottom {
  justify-content: flex-end;
}

.hero.hero--height-fixed .hero-inner {
  width: 100%;
  flex-shrink: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg--parallax {
    background-attachment: scroll !important;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-inner.hero--align-center {
  text-align: center;
}

.hero-inner.hero--align-left {
  text-align: left;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 20px;
  width: 100%;
}

.hero-inner.hero--align-center .hero-badges,
.hero-inner.hero--align-center .hero-actions {
  justify-content: center;
}

.hero-inner.hero--align-left .hero-badges,
.hero-inner.hero--align-left .hero-actions {
  justify-content: flex-start;
}

.hero-inner.hero--align-right {
  text-align: right;
}

.hero-inner.hero--align-right .hero-title,
.hero-inner.hero--align-right .hero-description {
  text-align: right;
}

.hero-inner.hero--align-right .hero-badges,
.hero-inner.hero--align-right .hero-actions {
  justify-content: flex-end;
}

.hero-inner.hero--width-narrow {
  max-width: 680px;
}

.hero-inner.hero--width-half .hero-title,
.hero-inner.hero--width-half .hero-description {
  max-width: 36rem;
}

.hero.hero--valign-bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero.hero--valign-bottom .hero-inner {
  width: 100%;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  transition: opacity 0.2s ease;
}

a.hero-badge {
  text-decoration: none;
  cursor: pointer;
}

a.hero-badge:hover {
  opacity: 0.88;
  color: inherit;
  text-decoration: none;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-inner.hero--align-center .hero-title,
.hero-inner.hero--align-center .hero-description {
  text-align: center;
}

.hero-inner.hero--align-left .hero-title,
.hero-inner.hero--align-left .hero-description {
  text-align: left;
}

.hero-description {
  margin: 0 0 24px;
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.hero-actions .btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.hero-actions .btn:hover {
  opacity: 0.9;
  color: inherit;
  text-decoration: none;
}

.hero-actions .btn.primary {
  background: #48b84f;
  color: #fff;
}

.hero-actions .btn.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  backdrop-filter: blur(10px);
}
