@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700&family=Sora:wght@600;700&display=swap");

.hero-section.stage {
  width: 80%;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 26px 42px;
  overflow: visible;
  margin: auto;
  background: #fff;
  margin:auto
}

.dark .hero-section.stage {
  background: #0b1220!important;
}

.dark .hero-section .content p {
	color: #bcb4b4!important;
}

.mainsec{
  width: 100%!important;
}

.hero-section .content {
  padding-right: 10px;
}

.hero-section .content h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.35rem, 3.7vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 510px;
}

.hero-section .content p {
  margin: 22px 0 30px;
  max-width: 430px;
  font-size: 1rem;
  line-height: 1.58;
  color: #3a3f48;
}

.hero-section .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.hero-section .cta-label {
  background: var(--bg-primary);
  color: #ffffff;
  font-size: 0.91rem;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 999px;
  line-height: 1;
  transition: background-color 220ms ease;
}

.hero-section .cta-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1.6px solid #edc9a4;
  color: #cc8f4f;
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
}

.hero-section .cta:hover .cta-label,
.hero-section .cta:focus-visible .cta-label {
  background: var(--bg-primary);
}

.hero-section .media {
  position: relative;
  height: 500px;
  display: grid;
  place-items: center;
}

.hero-section .image-card {
  position: absolute;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 5px solid #ffffff;
  box-shadow: 0 26px 50px rgba(34, 25, 12, 0.18);
}

.hero-section .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-section .image-card-front {
  width: min(64%, 350px);
  height: 368px;
  left: 6px;
  top: 92px;
  z-index: 2;
}

.hero-section .image-card-back {
  width: min(67%, 390px);
  height: 462px;
  right: 0;
  top: 6px;
  z-index: 1;
}

.hero-section .image-card-back::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -172px;
  width: 240px;
  height: 104px;
  background: #ffffff;
  border-bottom-right-radius: 22px;
  z-index: 3;
  display: none;
}

@media (max-width: 1060px) {
  .hero-section.stage {
    padding: 36px 32px;
  }

  .hero-section .content h1 {
    max-width: 440px;
  }

  .hero-section .media {
    height: 430px;
  }

  .hero-section .image-card-front {
    height: 296px;
    top: 106px;
  }

  .hero-section .image-card-back {
    height: 402px;
  }
}

@media (max-width: 900px) {
  .hero-section.stage {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 22px 26px;
    min-height: unset;
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-section .content {
    order: 1;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-section .content h1,
  .hero-section .content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section .content p {
    margin-bottom: 24px;
  }

  .hero-section .cta {
    justify-content: center;
  }

  .hero-section .media {
    order: 2;
    height: 390px;
    margin-top: 4px;
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .hero-section .image-card-front {
    width: min(65%, 350px);
    height: 274px;
    left: 50%;
    top: 98px;
    transform: translateX(-60%);
  }

  .hero-section .image-card-back {
    width: min(68%, 364px);
    height: 358px;
    top: 8px;
    right: auto;
    left: 50%;
    transform: translateX(-2%);
  }

  .hero-section .image-card-back::before {
    width: 216px;
    left: -148px;
  }
}

@media (max-width: 620px) {
  .hero-section.stage {
    width: 100%;
    border-radius: 14px;
    padding: 28px 14px 18px;
  }

  .hero-section .content h1 {
    font-size: clamp(1.85rem, 8.3vw, 2.3rem);
  }

  .hero-section .content p {
    font-size: 0.94rem;
    max-width: 100%;
  }

  .hero-section .media {
    height: 320px;
    width: min(100%, 360px);
  }

  .hero-section .image-card-front {
    width: 70%;
    height: 215px;
    top: 98px;
    transform: translateX(-58%);
  }

  .hero-section .image-card-back {
    width: 73%;
    height: 300px;
    top: 8px;
    transform: translateX(-2%);
  }

  .hero-section .image-card-back::before {
    width: 160px;
    left: -110px;
    height: 76px;
  }

  .hero-section .cta-label {
    padding-inline: 18px;
  }

  .hero-section .cta-icon {
    width: 34px;
    height: 34px;
  }
}
