.hero-scene {
  --scrollShift: 0px;
  --mouseX: 0px;
  --mouseY: 0px;
  position: relative;
  overflow: hidden;
  background: #050910;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 9, 16, 0.16), rgba(5, 9, 16, 0.36) 74%, rgba(5, 9, 16, 0.62)),
    url("/assets/hero-chaos-paper-split.png") center top / cover no-repeat;
  transform: translate3d(calc(var(--mouseX) * 0.035), calc(var(--scrollShift) * -0.025), 0) scale(1.02);
  will-change: transform;
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 4, 3, 0.22) 0%, rgba(15, 4, 3, 0.04) 26%, rgba(8, 14, 24, 0.04) 74%, rgba(8, 14, 24, 0.22) 100%);
  pointer-events: none;
}

.hero-scene-frame {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(680px, 55vw, 900px);
  padding: clamp(96px, 7vw, 126px) clamp(28px, 3.8vw, 56px) clamp(28px, 3vw, 42px);
}

.hero-scene-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(44px, 8vw, 144px);
  padding-inline: clamp(8px, 1vw, 18px);
}

.hero-copy {
  color: #f7f3eb;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
}

.hero-left {
  max-width: min(30vw, 460px);
}

.hero-right {
  justify-self: end;
  max-width: min(31vw, 480px);
  padding-top: clamp(10px, 2vw, 30px);
}

.hero-copy h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(2.85rem, 4.55vw, 5.3rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: #ffffff;
}

.hero-copy p {
  margin: 18px 0 0;
  max-width: 24ch;
  font-size: clamp(1rem, 1.14vw, 1.24rem);
  line-height: 1.45;
  color: rgba(247, 243, 235, 0.96);
}

.hero-copy ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.hero-copy li {
  position: relative;
  padding-left: 24px;
  font-size: clamp(0.96rem, 1vw, 1.05rem);
  line-height: 1.35;
  color: rgba(248, 243, 236, 0.96);
}

.hero-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid #eca440;
}

.hero-left li::before {
  border-color: #d85543;
  box-shadow: 0 0 8px rgba(216, 85, 67, 0.22);
}

.hero-right li::before {
  border-color: #f3c173;
  box-shadow: 0 0 8px rgba(243, 193, 115, 0.16);
}

.hero-bottom-bar {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-top: clamp(24px, 4vw, 44px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 15px 32px;
  border-radius: 16px;
  font-size: clamp(1rem, 1vw, 1.08rem);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hero-actions a:hover {
  transform: translateY(-2px);
}

.hero-actions .btn-primary {
  background: #eca440;
  color: #081426;
  box-shadow: 0 18px 36px rgba(236, 164, 64, 0.2);
}

.hero-actions .btn-secondary {
  border: 1px solid rgba(236, 164, 64, 0.52);
  background: rgba(7, 15, 26, 0.54);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.hero-phone-line {
  color: rgba(246, 240, 230, 0.92);
  font-size: 0.96rem;
  text-align: center;
}

.hero-phone-line a {
  color: #f3c173;
}

@media (max-width: 1299px) {
  .hero-scene-frame {
    min-height: clamp(640px, 58vw, 820px);
  }

  .hero-left {
    max-width: min(33vw, 430px);
  }

  .hero-right {
    max-width: min(34vw, 440px);
  }
}

@media (max-width: 1099px) {
  .hero-scene-frame {
    min-height: clamp(620px, 62vw, 760px);
  }

  .hero-scene-top {
    gap: clamp(26px, 4vw, 48px);
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 4.2vw, 4rem);
  }

  .hero-left,
  .hero-right {
    max-width: min(38vw, 390px);
  }
}

@media (max-width: 991px) {
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(5, 9, 16, 0.38), rgba(5, 9, 16, 0.52)),
      url("/assets/hero-chaos-paper-split.png") 60% top / cover no-repeat;
    transform: none;
  }

  .hero-scene-frame {
    min-height: auto;
    padding: 104px 20px 42px;
  }

  .hero-scene-top {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-inline: 0;
  }

  .hero-copy {
    max-width: 100%;
    padding: 24px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(5, 9, 15, 0.76), rgba(5, 9, 15, 0.5));
    backdrop-filter: blur(8px);
    text-shadow: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  }

  .hero-right {
    justify-self: stretch;
    padding-top: 0;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.15rem, 7.2vw, 3.35rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
  }

  .hero-copy p {
    max-width: 30ch;
    font-size: 1rem;
  }

  .hero-bottom-bar {
    padding-top: 24px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions a {
    flex: 1 1 240px;
  }
}

@media (max-width: 767px) {
  .hero-scene-frame {
    padding: 96px 16px 32px;
  }

  .hero-bg {
    background-position: 62% top;
  }

  .hero-copy {
    padding: 20px 18px;
  }

  .hero-copy li {
    font-size: 0.94rem;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions a {
    width: 100%;
    min-height: 56px;
  }

  .hero-phone-line {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    transform: none !important;
  }
}
