#hero {
  min-height: 39rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.75) 35%,
      rgba(0, 0, 0, 0.5) 60%,
      rgba(0, 0, 0, 0.15) 100%),
    url("../media/heros-1024.webp");

  background-position: 70% center;
  background-size: cover;
  padding-top: 5rem;
}

@media (min-width: 768px) {
  #hero {
    background:
      linear-gradient(90deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.75) 35%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.15) 100%),
      url("../media/heros-1024.webp");

    background-position: center;
    background-size: cover;
  }
}

@media (min-width: 1200px) {
  #hero {
    background:
      linear-gradient(90deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.75) 35%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.15) 100%),
      url("../media/heros-1920.webp");

    background-position: center;
    background-size: cover;
  }
}

#hero h1 {
  color: var(--color-text-light);
  width: 100%;
  max-width: 40rem;
  padding: 3.125rem 1.5rem 1.25rem;
  font-size: clamp(1.75rem, 1.1rem + 2.5vw, 2.625rem);
  text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.6);
}

#hero h1 span {
  color: var(--color-accent);
}

#hero .sub_title_hero {
  width: 100%;
  max-width: 28rem;
  color: var(--color-text-soft);
  padding: 0.3125rem 1.5rem;
  font-size: clamp(0.9375rem, 0.85rem + 0.4vw, 1.0625rem);
  text-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.6);
}

#hero .hero__ctas {
  width: 100%;
  max-width: 40rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.875rem 1.5rem;
}

#hero .hero__ctas a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  overflow: hidden;
  border: 0.125rem solid var(--color-border-subtle);
  color: var(--color-text-soft);
  padding: 0.625rem 0.9375rem;
  border-radius: 0.3125rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.45s;
  z-index: 1;
}

#hero .hero__ctas a svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

#hero .hero__ctas .hero__cta-one {
  background-color: var(--color-primary);
  color: var(--color-text-soft);
}

#hero .hero__ctas .hero__cta-one:hover {
  transform: translateY(-1px);
}

#hero .hero__ctas .hero__cta-two {
  color: var(--color-text-soft);
}

#hero .hero__ctas .hero__cta-two:hover {
  gap: 0.625rem;
  color: var(--color-text-soft);
}

#hero .hero__ctas .hero__cta-two:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 100%;
  left: 100%;
  background: var(--color-primary);
  height: 10rem;
  width: 20rem;
  border-radius: 50%;
  transition: all 0.7s;
}

#hero .hero__ctas .hero__cta-two:hover:before {
  top: -2rem;
  left: -2rem;
}

#hero .hero__ctas a:last-child:active:before {
  background: var(--color-bg-dark);
  transition: background 0s;
}

.hero-features {
  width: fit-content;
  max-width: 100%;
  padding: 0.9375rem 1.25rem;
}

.hero-features__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-feature:not(:last-child) {
  padding-right: 2rem;
  border-right: 1px solid var(--color-border-subtle);
}

.hero-feature__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-accent);
}

.hero-feature__content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-feature__title {
  color: var(--color-text-white);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-feature__text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  font-weight: 400;
}

/* ===== Responsive breakpoints ===== */

@media (max-width: 64rem) {

  /* 1024px */
  #hero h1 {
    max-width: 32rem;
  }

  #hero h3 {
    max-width: 24rem;
  }
}

@media (max-width: 48rem) {

  /* 768px */
  #hero h1,
  #hero h3,
  #hero .hero__ctas {
    max-width: 100%;
  }

  .hero-feature:not(:last-child) {
    padding-right: 1.25rem;
    border-right: none;
  }
}

@media (max-width: 30rem) {

  /* 480px */
  #hero h1 {
    padding: 2.5rem 1rem 1rem;
  }

  #hero h3 {
    padding: 0.3125rem 1rem;
  }

  #hero .hero__ctas {
    flex-direction: column;
    padding: 1.25rem 1rem;
  }

  #hero .hero__ctas a {
    justify-content: center;
  }

  #hero .hero__ctas .hero__cta-two:before {
    height: 22rem;
    width: 34rem;
  }

  #hero .hero__ctas .hero__cta-two:hover:before {
  top: -4.5rem;
  left: -6rem;
}

  .hero-features {
    padding: 0.9375rem 1rem;
  }

  .hero-features__list {
    gap: 1.25rem;
  }
}