/* section3.css */
.section3 {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #dadfe5 100%);
  border-top-right-radius: clamp(60px, 11.2vw, 215px);
  overflow: hidden;
  padding-top: clamp(48px, 5vw, 96px);
  padding-bottom: clamp(56px, 8vw, 150px);
}

/* --- background: decorative parallax circles --- */
.section3__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.section3__blob {
  position: absolute;
  display: block;
  height: auto;
}

.section3__blob--1 { width: 56.4%; left: 6%;  top: 42%; aspect-ratio: 1082 / 1165; }
.section3__blob--2 { width: 41.2%; left: 50%; top: -8%; aspect-ratio: 792 / 854; }
.section3__blob--3 { width: 17.3%; left: 22%; top: 66%; aspect-ratio: 332 / 358; }

/* --- content --- */
.section3__inner {
  position: relative;
  z-index: 1;
}

.section3__title {
  font-weight: 700;
  /* 1024→41px … 1920→61px */
  font-size: clamp(41px, 2.23vw + 18.1px, 61px);
  line-height: 1.16;
  margin-bottom: clamp(40px, 4vw, 71px);
}

.section3__body {
  display: flex;
  align-items: center;
  gap: clamp(28px, 8vw, 150px);
}

.section3__text {
  flex: 1 1 auto;
  max-width: 751px;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 41px);
  color: var(--color-ink);
}

.section3__intro,
.section3__outro,
.section3__item span {
  font-weight: 500;
  font-size: clamp(18px, 5.9vw, 22px);
  line-height: 1.4545;
}

.section3__list {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

.section3__item {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}

.section3__bullet {
  flex-shrink: 0;
  width: clamp(24px, 2.4vw, 29px);
  height: auto;
  aspect-ratio: 29 / 30.4;
}

.section3__media {
  position: relative;
  flex: 0 0 clamp(300px, 35.5vw, 681px);
  align-self: stretch;
  display: flex;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  /* full bleed to the right viewport edge */
  margin-right: calc(-1 * var(--page-pad-web));
}

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

/* faint divider line, lower-right under the image */
.section3__line {
  position: absolute;
  right: calc(-1 * var(--page-pad-web));
  bottom: clamp(-40px, -3vw, -20px);
  width: 37.5%;
  height: 4px;
  background: linear-gradient(90deg, rgba(11, 23, 37, 0) 0%, rgba(11, 23, 37, 0.35) 100%);
  border-radius: 2px;
}

/* --- TABLET (≤1024): stack, image full width below --- */
@media (max-width: 1024px) {
  .section3 {
    padding-bottom: clamp(48px, 7vw, 96px);
  }

  .section3__title {
    /* 375→31px … 1024→41px */
    font-size: clamp(31px, 1.54vw + 25.2px, 41px);
    line-height: 1.2;
    margin-bottom: clamp(36px, 5vw, 56px);
  }

  .section3__blob--1 { width: 82%; left: -4%; top: 34%; }
  .section3__blob--2 { width: 13%; left: 66%; top: 26%; }
  .section3__blob--3 { width: 29%; left: 4%; top: 34%; }

  .section3__body {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(28px, 4vw, 40px);
  }

  .section3__text {
    max-width: none;
    gap: 41px;
  }

  .section3__media {
    flex: none;
    width: calc(100% + var(--page-pad-tablet));
    margin-right: calc(-1 * var(--page-pad-tablet));
    border-radius: 10px 0 0 10px;
  }

  .section3__line {
    position: static;
    width: 57%;
    margin: clamp(-8px, -1vw, 0px) calc(-1 * var(--page-pad-tablet)) 0 auto;
  }
}

/* --- MOBILE (≤640): tighter, no decorative blobs / line --- */
@media (max-width: 640px) {
  .section3 {
    border-top-right-radius: 60px;
  }

  .section3__blob,
  .section3__line {
    display: none;
  }

  .section3__title {
    font-size: 31px;
    line-height: 1.26;
  }

  .section3__text {
    gap: 41px;
  }

  .section3__media {
    width: calc(100% + var(--page-pad-mobile));
    margin-right: calc(-1 * var(--page-pad-mobile));
  }
}
