.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 24px 0 24px;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 500px;
}

.hero-content {
  display: grid;
  gap: 16px;
  align-content: start;
  position: relative;
  z-index: 2;
}

.hero-label {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-primary);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.5;
}

.hero-image {
  position: absolute;
  right: 10%;
  bottom: 0;
  z-index: 1;
}

.hero-image img {
  height: 620px;
  width: auto;
  object-fit: contain;
}

.features {
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-image {
    right: 2%;
    bottom: 80px;
    opacity: 0.4;
  }

  .hero-inner {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }

  .hero-image {
    position: relative;
    right: auto;
    bottom: auto;
    display: grid;
    justify-items: center;
    opacity: 1;
  }

  .hero-image img {
    height: auto;
    max-height: 350px;
  }

  .hero-content {
    gap: 24px;
    justify-items: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}
