/* ==========================================================================
   hero.css — блок hero-баннера (BEM: hero__*)
   ========================================================================== */

.hero {
  position: relative;
  min-height: clamp(360px, 55dvh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 30, 33, 0.35) 0%, rgba(13, 30, 33, 0.78) 68%, rgba(13, 30, 33, 0.95) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 900px;
}

.hero__breadcrumb {
  margin-bottom: 1.25rem;
}

.hero__title {
  margin-bottom: 1rem;
}

.hero__subtitle {
  color: var(--color-white);
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.125rem);
  line-height: 1.5;
  margin-bottom: 1.75rem;
  max-width: 62ch;
}

@media (min-width: 768px) {
  .hero {
    min-height: clamp(420px, 60dvh, 680px);
  }
}

.btn--cta-alt {
  background: linear-gradient(180deg, #7ed957 0%, #5cb838 100%);
  color: #121212;
  border-radius: 18px;
  border: none;
}

.btn--cta-alt:hover {
  box-shadow: 0 12px 26px rgba(94, 190, 56, 0.4);
}
