.hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 900px;
}

.hero__bg,
.hero__gradient,
.hero__inner {
  grid-column: 1;
  grid-row: 1;
}

.hero__bg {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero__gradient {
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    270deg,
    rgba(255, 253, 252, 0) 15.81%,
    rgba(255, 253, 252, 0.01) 20.95%,
    rgba(255, 253, 251, 0.03) 25.14%,
    rgba(254, 252, 251, 0.07) 28.52%,
    rgba(254, 251, 249, 0.12) 31.23%,
    rgba(253, 250, 248, 0.18) 33.43%,
    rgba(253, 249, 247, 0.25) 35.26%,
    rgba(252, 248, 245, 0.33) 36.86%,
    rgba(251, 247, 243, 0.41) 38.4%,
    rgba(251, 246, 242, 0.5) 40%,
    rgba(250, 244, 240, 0.59) 41.83%,
    rgba(249, 243, 238, 0.67) 43%,
    rgba(248, 242, 236, 0.76) 44.8%,
    rgba(247, 240, 234, 0.85) 46.87%,
    rgba(247, 239, 233, 0.93) 49.99%,
    #f6eee7 56.95%
  );
}

.hero__inner {
  display: flex;
  flex-direction: column;
  padding-block: 24px 90px;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 638px;
  margin-top: 60px;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.3;
  color: var(--color-black);
}

.hero__title em {
  font-style: italic;
  color: var(--color-beige);
}

.hero__lead {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.hero__lead p {
  font-weight: 500;
  color: var(--color-brown);
}

.hero__lead strong {
  font-weight: 700;
  color: var(--color-black);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  flex: 1 0 200px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 40px;
  border-radius: 100px;
  background: var(--color-beige);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.store-btn:hover,
.store-btn:focus-visible {
  opacity: 0.9;
}

.store-btn img {
  width: 30px;
  height: 30px;
}

.hero__trial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 6px 6px 6px 40px;
  border: 1px solid var(--color-black);
  border-radius: 1000px;
}

.hero__trial-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-black);
}

.hero__trial-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 99px;
  background: var(--color-black);
}

.hero__trial-icon img {
  width: 26px;
  height: 26px;
}

.hero__note {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  line-height: 14px;
  color: var(--color-brown);
}

@media (max-width: 1280px) {
  .hero__title {
    font-size: 44px;
  }

  .hero__content {
    max-width: 560px;
  }
}

.hero__gradient.desctop{
  display: none;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
  }

  .hero__gradient.desctop{
    display: block;
  }

  .hero__gradient{
    display: none;
  }

  .hero__trial-icon{
    width: 40px;
    height: 40px;
  }
  
  .hero__bg {
    height: 480px;
  }

  .hero__inner {
    padding-block: 20px 40px;
  }

  .hero__content {
    max-width: none;
    margin-top: 320px;
    gap: 30px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero {
    grid-template-rows: auto auto;
  }

  .hero__inner,
  .hero__gradient {
    grid-row: 1;
  }

  .hero__inner {
    padding-block: 16px 24px;
  }

  .hero__bg{
    position: relative;
  }

  .hero__gradient.desctop {
    height: 400px;
    background: linear-gradient( 180deg, rgb(255, 253, 252) 0%, rgba(255, 253, 252, 0.92) 20%, rgba(255, 253, 252, 0) 45% );
    top: 0;
    position: absolute;
    width: 100%;
  }

  .hero__bg {
    grid-row: 2;
    height: 280px;
  }

  .hero__content {
    margin-top: 0;
    gap: 20px;
  }

  .hero__heading {
    gap: 16px;
  }

  .hero__title {
    font-size: 22px;
    line-height: 1.25;
  }

  .hero__lead {
    font-size: 13px;
    gap: 8px;
  }

  .hero__store-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .store-btn {
    flex: 0 1 auto;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  .hero__trial {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero__trial-label {
    font-size: 13px;
  }

  .hero__note {
    font-size: 9px;
  }
}


@media (max-width: 700px) {
  .hero__gradient{
    top: 615px;
  }
}

@media (max-width: 600px) {
  .hero__gradient{
    height: 700px;
    top: 66%;
  }
}

.footer-store-btn.disabled,
.store-btn.disabled{
  opacity: .4;
  cursor: default;
}

.footer-store-btn.disabled:hover,
.store-btn.disabled:hover{
  opacity: .4;
  cursor: default;
}