.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(24rem, calc(100svh - 8.5rem), 34rem);
  margin: 1.2rem 0 2rem;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(46, 62, 86, 0.82), rgba(46, 62, 86, 0.56));
  box-shadow: 0 18px 44px rgba(46, 62, 86, 0.2);
}

.hero-banner__media,
.hero-banner__overlay {
  position: absolute;
  inset: 0;
}

.hero-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.8s ease;
}

.hero-banner__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-banner__overlay {
  background:
    linear-gradient(100deg, rgba(46, 62, 86, 0.8) 8%, rgba(46, 62, 86, 0.52) 44%, rgba(46, 62, 86, 0.24) 100%),
    radial-gradient(circle at 78% 24%, rgba(158, 215, 194, 0.24), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(203, 182, 226, 0.22), transparent 30%);
}

.hero-banner__content {
  position: relative;
  z-index: 1;
  padding: 3.25rem;
  max-width: 42rem;
  color: #f8fbff;
}

.hero-banner__eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-banner__title {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 18ch;
}

.hero-banner__word-wrap {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  width: 17ch;
  max-width: 100%;
}

.hero-banner__word {
  display: inline-block;
  color: var(--cc-cream);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero-banner__word.is-active {
  opacity: 1;
}

.hero-banner__copy {
  max-width: 36rem;
  margin: 0 0 1.4rem;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.hero-banner__info-cta {
  background: rgba(255, 255, 255, 0.92);
  color: #243247;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.16);
}

.hero-banner__info-cta:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(16, 24, 40, 0.2);
}

.hero-banner__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-banner__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.15rem;
  color: rgba(248, 251, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-banner__tag::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(158, 215, 194, 0.95);
  box-shadow: 0 0 0 4px rgba(158, 215, 194, 0.18);
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .hero-banner {
    min-height: clamp(23rem, calc(100svh - 8rem), 30rem);
  }

  .hero-banner__content {
    padding: 2.25rem;
    max-width: 100%;
  }

  .hero-banner__title {
    max-width: 18ch;
  }
}

@media (max-width: 640px) {
  .hero-banner {
    min-height: clamp(22rem, calc(100svh - 7.5rem), 27rem);
    border-radius: 22px;
  }

  .hero-banner__content {
    padding: 1.5rem;
  }

  .hero-banner__copy {
    font-size: 1rem;
  }

  .hero-banner__title {
    max-width: none;
    line-height: 1.02;
  }

  .hero-banner__word-wrap {
    width: auto;
  }

  .hero-banner__actions .btn {
    width: 100%;
  }
}

@media (max-height: 820px) {
  .hero-banner {
    margin-top: 0.85rem;
    margin-bottom: 1.35rem;
  }

  .hero-banner__content {
    padding: 2.35rem;
  }

  .hero-banner__title {
    margin-bottom: 0.8rem;
  }

  .hero-banner__copy {
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) and (max-height: 820px) {
  .hero-banner__content {
    padding: 1.2rem;
  }

  .hero-banner__copy {
    font-size: 0.98rem;
    margin-bottom: 0.9rem;
  }

  .hero-banner__tags {
    gap: 0.35rem 0.7rem;
  }

  .hero-banner__tag {
    font-size: 0.9rem;
  }
}
