/* section2.css — mapped 1:1 from Figma. Full-bleed section (no side gutter);
   image is flush to the left edge, green border bracket + button match the mock. */

.section2 {
  position: relative;
  background: var(--color-white);
  border-top-right-radius: clamp(92px, 22vw, 215px);
  padding-top: 194px;
  padding-bottom: clamp(60px, 10.16vw, 195px);
}

.section2__frame {
  position: relative;
}

/* Green border bracket (Figma "Rectangle 3"): flush left, rounded right corners,
   bottom edge crossing the button's vertical centre. */
.section2__frame::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 105px;
  top: -100px;
  bottom: 41px;
  border: 3px solid #38a68b;
  border-radius: 0 100px 100px 0;
  pointer-events: none;
}

.section2__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 3.125vw, 60px);
}

.section2__media {
  display: block;
  flex: 0 0 35.469%;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
}

.section2__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 681 / 406;
}

.section2__text {
  flex: 0 0 50.052%;
  display: flex;
  flex-direction: column;
  gap: 72px;
  color: var(--color-ink);
}

.section2__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(31px, 2.656vw, 51px);
  line-height: 1.157;
}

.section2__paragraphs {
  display: flex;
  flex-direction: column;
  gap: 41px;
}

.section2__lead {
  margin: 0;
  font-weight: 700;
  font-size: clamp(18px, 5.87vw, 22px);
  line-height: 1.4545;
}

.section2__desc {
  margin: 0;
  font-weight: 500;
  font-size: clamp(18px, 5.87vw, 22px);
  line-height: 1.4545;
}

.section2__cta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 59px;
}

.section2__btn {
  font-size: clamp(18px, 3.13vw, 32px);
  line-height: 1.3125;
  padding: clamp(14px, 2.08vw, 20px) clamp(30px, 6.88vw, 66px);
  border-radius: clamp(18px, 2.7vw, 26px);
}

/* ---------- TABLET (Figma 1024×… ) — image on top, text below ---------- */
@media (max-width: 1024px) {
  .section2 {
    padding-top: 150px;
  }

  .section2__frame::after {
    right: 36px;
    top: -59px;
    bottom: 41px;
  }

  .section2__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 71px;
  }

  .section2__media {
    flex: none;
    width: 91.9%;
  }

  .section2__text {
    flex: none;
    padding-left: 36px;
    padding-right: 84px;
    gap: 72px;
  }

  .section2__title {
    font-size: clamp(31px, 4.004vw, 41px);
    line-height: 1.195;
  }
}

/* ---------- MOBILE (Figma 393×… ) ---------- */
@media (max-width: 640px) {
  .section2 {
    border-top-right-radius: 92px;
    padding-top: 110px;
  }

  .section2__frame::after {
    right: 12px;
    top: -18px;
    bottom: 20px;
    border-radius: 0 52px 52px 0;
  }

  .section2__media {
    width: 92.4%;
  }

  .section2__text {
    padding-left: 30px;
    padding-right: 30px;
  }

  .section2__title {
    font-size: clamp(24px, 8.27vw, 31px);
    line-height: 1.258;
  }

  .section2__cta {
    margin-top: 30px;
  }

  .section2__btn {
    font-size: 18px;
    line-height: 1.333;
    padding: 8px 24px;
    border-radius: 26px;
  }
}
