:root {
  --hero-bg-start: #21385f;
  --hero-bg-end: #0e1625;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgb(102 143 205 / 18%), transparent 36%),
    linear-gradient(110deg, rgb(13 24 43 / 78%) 0%, rgb(17 33 57 / 74%) 42%, rgb(9 17 29 / 88%) 100%),
    url("../assets/images/Container.jpg") center center / cover no-repeat;
  color: var(--white);
  background-color: var(--hero-bg-end);
}

.hero-banner::after {
  background:
    radial-gradient(circle at 20% 14%, rgb(76 147 216 / 14%), transparent 16%),
    radial-gradient(circle at 78% 28%, rgb(255 255 255 / 8%), transparent 18%);
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(6 12 23 / 8%) 0%, rgb(6 12 23 / 35%) 100%);
}

.hero-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 80px;
  padding-bottom: 120px;
}

.hero-banner__eyebrow {
  margin-bottom: 56px;
}

.hero-banner__copy {
  max-width: 860px;
  padding: 0;
}

.hero-banner__quotes {
  position: relative;
  min-height: 370px;
}

.hero-banner__quote {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms ease, transform 550ms ease;
  pointer-events: none;
}

.hero-banner__quote.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-banner__title {
  font-size: 98px;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: var(--white);
}

.hero-banner__title span {
  color: var(--blue);
}

.hero-banner__description {
  max-width: 720px;
  color: var(--body-text-2);
  margin-top: 48px;

  p:not(:first-child) {
    margin-top: 12px;
  }
}

.hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 72px;
}

.hero-banner__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border-2);
}

.hero-banner__stat {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 20px 40px;
  border-left: 1px solid var(--border-2);
}

.hero-banner__stat:first-child {
  border-left: 0;
}

.hero-banner__stat strong {
  color: var(--blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.hero-banner__stat span {
  max-width: 220px;
  color: var(--body-text-1);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .hero-banner__stat {
    padding: 20px 24px;
  }
}

@media (max-width: 989px) {
  .hero-banner__content {
    min-height: auto;
  }

  .hero-banner__quotes {
    min-height: 270px;
  }

  .hero-banner__title {
    font-size: 70px;
  }

  .hero-banner__description {
    max-width: 448px;
  }

  .hero-banner__stat {
    padding: 20px;
  }
}

@media (max-width: 749px) {

  .hero-banner__content {
    padding-top: 44px;
    padding-bottom: 80px;
  }

  .hero-banner__eyebrow {
    margin-bottom: 40px;
  }

  .hero-banner__copy {
    padding: 0;
  }

  .hero-banner__quote {
    min-height: 0;
  }

  .hero-banner__title {
    font-size: 48px;
  }

  .hero-banner__quotes {
    min-height: 190px;
  }

  .hero-banner__description {
    margin-top: 32px;
  }

  .hero-banner__actions {
    flex-direction: column;
    gap: 16px;
    padding-top: 48px;
  }

  .hero-banner__actions .button {
    width: 100%;
    min-width: 0;
  }

  .hero-banner__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-banner__stat {
    border-top: 1px solid var(--border-2);
  }

  .hero-banner__stat:nth-child(odd) {
    border-left: 0;
  }

  .hero-banner__stat:nth-child(-n + 2) {
    border-top: 0;
  }
}
