.hero {
  position: relative;
  min-height: clamp(260px, 38vh, 380px);
  padding: 2.75rem 0;
  background-image: url('../assets/banner.JPG');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 18, 0.55) 0%, rgba(10, 14, 18, 0.35) 45%, rgba(10, 14, 18, 0.6) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content {
  text-align: left;
  color: #ffffff;
  max-width: 560px;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-qualities {
  position: relative;
  height: 1.75rem;
}

.hero-quality {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation-name: heroQualityFade;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes heroQualityFade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  29% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-quality {
    animation: none;
    opacity: 0;
  }
  .hero-quality:first-child {
    opacity: 1;
  }
}
