
.section--hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 74px);
  margin-top: 74px;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatDesktop {
  0% {
    transform: translateY(-50%) translateX(0px);
  }

  50% {
    transform: translateY(calc(-50% - 30px)) translateX(0px);
  }

  100% {
    transform: translateY(-50%) translateX(0px);
  }
}

@keyframes floatMobile {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-25px);
  }

  100% {
    transform: translateY(0px);
  }
}


.hero__container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
}


.hero__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  width: 100%;
  max-width: 720px;
  z-index: 2;
}


.hero__title {
  font-family: "Craftwork Grotesk", var(--font-heading), sans-serif;
  font-size: 32px;
  color: #2c2c2c;
  margin-bottom: 16px;
  line-height: 1.32;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.hero__title .title-line {
  display: block;
  line-height: 1.32;
}


.hero__subtitle {
  font-family: "Montserrat", var(--font-primary), sans-serif;
  font-size: 24px;
  color: rgba(75, 75, 75, 1);
  line-height: 32px;
  margin-top: 0;
  margin-bottom: 32px;
  max-width: 720px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.hero__subtitle .subtitle-line {
  display: block;
  line-height: 32px;
}


.hero__actions {
  margin-top: 0;
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.5s;
}


.hero__illustration {
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-creative-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -150px;
  width: 900px;
  max-width: none;
  height: auto;
  object-fit: contain;
  animation: floatDesktop 4s ease-in-out infinite;
}


@media (max-width: 1024px) {
  .section--hero {
    min-height: calc(100vh - 68px);
    margin-top: 68px;
    padding: 60px 0;
  }

  .hero__container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding-top: var(--space-2xl);
  }

  .hero__content {
    max-width: 100%;
    margin-bottom: var(--space-xl);
    align-items: center;
  }

  .hero__title {
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__illustration {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: auto;
  }

  .hero-creative-img {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    animation: floatMobile 4s ease-in-out infinite;
  }
}

@media (max-width: 640px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .section--hero {
    padding: 20px 0;
    min-height: auto;
  }
  .hero__container {
    padding-top: var(--space-xs);
    gap: var(--space-lg);
  }
  .hero__content {
    margin-bottom: var(--space-lg);
  }
  .hero__subtitle {
    margin-bottom: 24px;
  }
}