/* Insurance — Harel partnership row (Figma Horizontal_Section 204:6201) */

.insurance-harel .split-section__wrap {
  padding-inline: var(--padding);
  box-sizing: border-box;
}

/* Figma mockup shell: 600×759, 25px radius (flex basis from .split-section .media-frame) */
.insurance-harel .media-frame {
  width: 100%;
  max-width: 600px;
  height: 759px;
  max-height: min(759px, 85vh);
  margin-inline: auto;
  border-radius: var(--radius-dropdown-card);
  background: var(--color-bg);
}

/* Centered Lottie stage — Figma placeholder 427×427 */
.insurance-harel__lottie-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(427px, 88%);
  height: min(427px, 88%);
  max-width: 427px;
  max-height: 427px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.insurance-harel__lottie-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 1px;
  min-height: 1px;
  flex: 1 1 auto;
}

/* lottie-web injects svg — fill slot like joint-purchase / navbar */
.insurance-harel__lottie-stage svg,
.insurance-harel__lottie-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Figma headline ~72 / 72 line */
.insurance-harel .split-section__title {
  font-size: clamp(2rem, 3vw + 1rem, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Figma body 20px — matches default split-section__body (--font-button) */

.insurance-harel .split-section__actions .hero__cta-primary img.hero__action-icon {
  filter: brightness(0) invert(1);
}

@media (max-width: 1024px) {
  /* Shorter shell than desktop 759px — Lottie stays the visual focus */
  .insurance-harel .media-frame {
    height: min(420px, 52vh);
    max-height: 440px;
  }

  .insurance-harel__lottie-wrap {
    width: min(340px, 78%);
    height: min(340px, 78%);
    max-width: 360px;
    max-height: 360px;
  }
}

@media (max-width: 480px) {
  .insurance-harel .media-frame {
    height: min(300px, 82vw);
    max-height: 320px;
  }

  .insurance-harel__lottie-wrap {
    width: min(260px, 88%);
    height: min(260px, 88%);
    max-width: 280px;
    max-height: 280px;
  }
}
