/* ==========================================================================
   Component: datpro_hero
   Light blue → white hero. Text left, product visual right.
   ========================================================================== */

.dp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    #d9e7f7 0%,
    #e4eff9 34%,
    #f1f7fd 66%,
    #fbfdff 100%
  );
}

.dp-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0) 68%
  );
  pointer-events: none;
}

.dp-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 50fr) minmax(0, 50fr);
  align-items: center;
  gap: clamp(2rem, 3.2vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  min-height: clamp(30rem, 44vw, 40rem);
}

/* ---------- Copy ---------------------------------------------------------- */

.dp-hero__copy {
  max-width: 38rem;
}

.dp-hero__title {
  margin-bottom: var(--sp-5);
}

.dp-hero__desc {
  max-width: 33rem;
  font-size: var(--fs-lead);
  color: var(--dp-text-body);
}

.dp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: clamp(1.75rem, 2.6vw, 2.25rem);
}

/* ---------- Visual -------------------------------------------------------- */

.dp-hero__visual {
  display: block;
  justify-self: end;
  width: 100%;
  max-width: 44rem;
}

.dp-hero__visual img {
  width: 100%;
  height: auto;
}

/* ---------- Responsive ---------------------------------------------------- */

@media (max-width: 1023px) {
  .dp-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 2.75rem);
    min-height: 0;
    padding-block: clamp(2.25rem, 5vw, 3.5rem);
  }

  .dp-hero__copy {
    max-width: 40rem;
  }

  .dp-hero__visual {
    justify-self: center;
    max-width: 34rem;
  }
}

@media (max-width: 600px) {
  .dp-hero__actions .dp-btn {
    flex: 1 1 100%;
  }

  .dp-hero__visual {
    max-width: 26rem;
  }
}
