.hero {
  position: relative;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 80px 40px 0;
}

.hero__big-title {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
}

.hero__big-title-line1 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 100px);
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 0.8;
}

.hero__big-title-line2 {
  display: block;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(50px, 7vw, 100px);
  color: var(--color-accent);
  text-transform: uppercase;
  line-height: 0.8;
}

.hero__grid {
  display: grid;
  grid-template-columns: 250px 1fr 200px;
  align-items: end;
  gap: 32px;
  position: relative;
  z-index: 3;
  max-width: 1320px;
  margin: 40px auto 0;
}

.hero__left {
  display: grid;
  gap: 32px;
  align-self: center;
  padding-bottom: 64px;
}

.hero__subtitle {
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  color: var(--color-white);
}

.hero__center {
  display: grid;
  place-items: end center;
  align-self: end;
}

.hero__image {
  max-width: 800px;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  display: block;
}

.hero__right {
  display: grid;
  gap: 32px;
  justify-items: end;
  align-self: center;
  padding-bottom: 64px;
}

.hero__feature {
  display: grid;
  gap: 8px;
  text-align: right;
  justify-items: end;
  line-height: 1.2;
}

.hero__feature-title {
  font-weight: 800;
  font-size: 32px;
  color: var(--color-white);
}

.hero__feature-subtitle {
  font-weight: 500;
  font-size: 20px;
  color: var(--color-accent);
}

@media (max-width: 1200px) {
  .hero {
    padding: 80px 40px 0;
  }

  .hero__grid {
    grid-template-columns: 200px 1fr 160px;
  }

  .hero__subtitle {
    font-size: 24px;
  }

  .hero__feature-title {
    font-size: 24px;
  }

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

@media (max-width: 900px) {
  .hero {
    padding: 40px 20px 0;
  }

  .hero__big-title-line1,
  .hero__big-title-line2 {
    font-size: clamp(30px, 10vw, 50px);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .hero__left {
    text-align: center;
    justify-items: center;
    order: 0;
    padding-bottom: 0;
  }

  .hero__center {
    order: 2;
  }

  .hero__image {
    max-width: 300px;
  }

  .hero__right {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    justify-items: center;
    order: 1;
    padding-bottom: 0;
  }

  .hero__feature {
    text-align: center;
    justify-items: center;
  }

  .hero__subtitle {
    font-size: 22px;
  }

  .hero__feature-title {
    font-size: 20px;
  }

  .hero__feature-subtitle {
    font-size: 14px;
  }
}
