/* 07 — reassurance (Figma desktop 712:9009 @1920 / mobile 353:2539) */
.reassurance {
  background: var(--surface-card);
  font-family: var(--font);
}
.reassurance__inner {
  position: relative;
  max-width: var(--container-w);
  margin: 0 auto;
  height: clamp(520px, 32.2vw, 720px); /* the visual is 51.5% wide and 16:10 → 618px at 1920 */
  isolation: isolate;
}
/* Column / Content: 960 of 1920 wide, overlaps the visual by 280px */
.reassurance__content {
  position: relative;
  z-index: 2;
  width: 50%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  background: var(--surface-section);
  border-radius: 0 32px 32px 0;
  overflow: hidden;
  word-break: break-word;
}
.reassurance__title {
  margin: 0;
  width: 100%;
  font: 500 54px/58px var(--font);
  letter-spacing: -2.16px;
  color: var(--brand-primary);
}
.reassurance__text {
  margin: 0;
  width: 100%;
  font: 400 28px/32px var(--font);
  letter-spacing: -1.12px;
  color: var(--text-muted);
}
/* Visual: the right half, 16:10; only the panel's rounded corner overlaps it, so no face is ever covered */
.reassurance__media {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 51.5%;
  background: var(--surface-accent);
  border-radius: var(--radius-8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.reassurance__media picture { display: block; width: 100%; height: 100%; }
.reassurance__media-img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; /* the four faces stay clear of the colour panel overlapping on the left */
  /* parallax: oversized so the drift never shows an edge; --plx is driven by scroll */
  transform: translate3d(0, var(--plx, 0%), 0) scale(1.26);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .reassurance__media-img { transform: none; }
}

@media (max-width: 1439px) {
  .reassurance__title { font-size: 42px; line-height: 46px; letter-spacing: -1.5px; }
  .reassurance__text { font-size: 22px; line-height: 26px; letter-spacing: -0.8px; }
}

@media (max-width: 767px) {
  .reassurance__inner {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .reassurance__content {
    width: 100%;
    height: auto;
    padding: 48px 24px;
    margin-bottom: -24px; /* Figma 353:2539: the colour block overlaps the visual by 24px */
    border-radius: 0 0 32px 32px;
    gap: 16px;
  }
  .reassurance__title {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.84px;
  }
  .reassurance__text {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.54px;
  }
  .reassurance__media {
    position: relative;
    width: 100%;
    height: auto;
    display: grid; place-items: center;
    border-radius: 0 0 var(--radius-12) var(--radius-12); /* no top radii — the image slides straight out from under the colour block */
  }
  .reassurance__media::before { content: ""; display: block; grid-area: 1 / 1; width: 100%; padding-top: 62.5%; }
.reassurance__media { grid-template-columns: minmax(0, 1fr); }
  .reassurance__media > * { grid-area: 1 / 1; }
}
