.hero {
  display: flex;
  height: min(1080px, 100vh);
  min-height: 600px;
  position: relative;
  transition: 0.3s ease-in-out;
}
.hero:has(.hero__choose.active) {
  height: 100vh;
  border-radius: 0;
}
.hero__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/skin-longevity/assets/img/hero.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom-left-radius: 2.25rem;
  border-bottom-right-radius: 2.25rem;
  transition: border-bottom-left-radius 0.4s ease, border-bottom-right-radius 0.4s ease;
}
.hero:has(.hero__choose.active) .hero__wrapper {
  position: fixed;
  top: 0;
  left: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.hero__choose {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  transition: 0.3s ease-in-out;
  display: flex;
  width: 100%;
  max-width: 590px;
  visibility: hidden;
}
.hero__choose.active {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  visibility: visible;
  opacity: 1;
}
.hero__choose-wrapper {
  display: flex;
  width: 100%;
  border-radius: 2.25rem;
  background-color: rgba(193, 193, 193, 0.3);
  height: -moz-fit-content;
  height: fit-content;
  padding: 2.875rem 2rem 3.375rem;
  flex-direction: column;
  gap: 1.625rem;
  align-items: center;
  border: 1px solid #e1f1ff;
  opacity: 0;
  transform: scale(0.9);
}
.hero__choose.active .hero__choose-wrapper {
  animation: hero-choose-appear 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .hero__choose-wrapper {
    opacity: 1;
    transform: none;
  }
  .hero__choose.active .hero__choose-wrapper {
    animation: none;
  }
}
.hero__choose-title {
  font-family: "STIX Two Text", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 100%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
}
.hero__choose-btns {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero__choose-btn {
  width: 100%;
  max-width: 23.5rem;
}
.hero__circles {
  height: 70%;
  width: auto;
  transform: translate(55%, 0);
}
.hero__circles svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__circles svg > path {
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
}
.hero:not(:has(.hero__choose.active)) .hero__circles svg > path {
  animation: hero-circle-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero:not(:has(.hero__choose.active)) .hero__circles svg > path:nth-child(1) {
  animation-delay: 0.8s;
}
.hero:not(:has(.hero__choose.active)) .hero__circles svg > path:nth-child(2) {
  animation-delay: 0.95s;
}
.hero:not(:has(.hero__choose.active)) .hero__circles svg > path:nth-child(3) {
  animation-delay: 1.1s;
}
.hero:not(:has(.hero__choose.active)) .hero__circles svg > path:nth-child(4) {
  animation-delay: 1.25s;
}
.hero:not(:has(.hero__choose.active)) .hero__circles svg > path:nth-child(5) {
  animation-delay: 1.4s;
}
.hero__content {
  display: flex;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.3s ease-in-out;
}
.hero:not(:has(.hero__choose.active)) .hero__content {
  opacity: 1;
}
.hero__content-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.875rem;
  padding: 3.5rem 1.25rem 3.5rem 0.5rem;
}
.hero__content-head {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.375rem;
}
.hero__title {
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 116px;
  line-height: 100%;
  letter-spacing: -0.02em;
  color: #fffdf9;
  align-self: center;
}
.hero__subtitle {
  font-family: "STIX Two Text", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 82px;
  line-height: 100%;
  color: #e1f1ff;
}
.hero__description {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  font-weight: 400;
  font-size: 25px;
  line-height: 100%;
  color: #fffdf9;
  max-width: 23rem;
}
.hero__description::before {
  content: "";
  display: flex;
  height: 3.5rem;
  width: 2px;
  border-radius: 1px;
  background-color: #9ac2e5;
}
.hero__title, .hero__subtitle, .hero__description {
  opacity: 0;
  transform: translateY(20px);
}
.hero:not(:has(.hero__choose.active)) .hero__title {
  animation: hero-text-appear 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
.hero:not(:has(.hero__choose.active)) .hero__subtitle {
  animation: hero-text-appear 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero:not(:has(.hero__choose.active)) .hero__description {
  animation: hero-text-appear 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}
@media (prefers-reduced-motion: reduce) {
  .hero__title, .hero__subtitle, .hero__description {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

html:has(.hero__choose.active) {
  overflow: hidden;
  scrollbar-gutter: stable;
}

@keyframes hero-choose-appear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes hero-text-appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-circle-pop {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__circles svg > path {
    animation: none;
    opacity: 1;
    transform: none;
  }
}