.hero.hero-conversion {
  position: relative;
  overflow: hidden;
  padding: 42px 0 46px;
  background: linear-gradient(135deg, #f8fcff 0%, #eef8ff 57%, #fff9dc 100%);
}

.hero.hero-conversion::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -230px;
  top: -230px;
  border-radius: 50%;
  background: rgba(77, 125, 243, .1);
  filter: none;
  pointer-events: none;
}

.hero.hero-conversion::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -130px;
  bottom: -150px;
  border-radius: 50%;
  background: rgba(255, 216, 77, .3);
  filter: none;
  pointer-events: none;
}

.hero-conversion-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(34px, 4vw, 48px);
  align-items: center;
}

.hero-conversion-copy {
  max-width: 690px;
}

.hero-conversion .eyebrow {
  margin-bottom: 12px;
}

.hero-conversion h1 {
  max-width: 16ch;
  margin: 0 0 16px;
  color: #173052;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.hero-conversion h1 span {
  color: #315bc4;
}

.hero-conversion-lead {
  max-width: 660px;
  margin: 0 0 20px;
  color: #435d78;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.5;
}

.hero-benefits {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  position: relative;
  display: grid;
  padding-left: 30px;
}

.hero-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf8e5;
  color: #3b9230;
  font-size: 13px;
  font-weight: 950;
}

.hero-benefits strong {
  color: #173052;
  font-size: 14px;
  line-height: 1.35;
}

.hero-benefits span {
  display: none;
}

.hero-conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-conversion-actions .btn {
  min-height: 48px;
}

.hero-main-action {
  padding-inline: 24px;
  box-shadow: 0 15px 34px rgba(49, 91, 196, .26);
}

.hero-conversion-contact {
  margin: 12px 0 0;
  color: #6b7e91;
  font-size: 13px;
  font-weight: 650;
}

.hero-conversion-contact a {
  color: #315bc4;
  font-weight: 850;
  text-decoration: none;
}

.hero-conversion-visual {
  position: relative;
  min-height: 500px;
  border: 6px solid #fff;
  border-radius: 32px 32px 82px 32px;
  background: #dcecf5;
  box-shadow: 0 30px 68px rgba(36, 76, 123, .2);
}

.hero-conversion-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 20px -14px -14px 20px;
  border-radius: 30px 30px 88px 30px;
  background: #ffd84d;
}

.hero-conversion-visual picture,
.hero-conversion-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 26px 26px 75px 26px;
}

.hero-conversion-visual img {
  object-fit: cover;
  object-position: 59% center;
}

.hero-image-message {
  position: absolute;
  left: -18px;
  bottom: 22px;
  max-width: 285px;
  padding: 13px 16px;
  border: 1px solid rgba(219, 232, 246, .9);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 17px 38px rgba(39, 83, 135, .18);
  backdrop-filter: blur(10px);
}

.hero-image-message strong,
.hero-image-message span {
  display: block;
}

.hero-image-message strong {
  margin-bottom: 3px;
  color: #173052;
  font-size: 15px;
}

.hero-image-message span {
  color: #61758c;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hero-conversion-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    gap: 28px;
  }

  .hero-conversion-visual {
    min-height: 460px;
  }

  .hero-conversion h1 {
    font-size: clamp(36px, 4.4vw, 46px);
  }
}

@media (max-width: 820px) {
  .hero.hero-conversion {
    padding: 28px 0 40px;
  }

  .hero-conversion-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-conversion-copy {
    max-width: 680px;
  }

  .hero-conversion h1 {
    max-width: 16ch;
    font-size: clamp(34px, 7.2vw, 44px);
  }

  .hero-conversion-visual {
    order: 2;
    min-height: 0;
    aspect-ratio: 8 / 5;
    border-radius: 30px 30px 72px 30px;
  }

  .hero-conversion-visual picture,
  .hero-conversion-visual img {
    border-radius: 22px 22px 64px 22px;
  }

  .hero-conversion-visual::before {
    inset: 18px -10px -12px 18px;
    border-radius: 28px 28px 78px 28px;
  }

  .hero-conversion-visual img {
    object-position: center;
  }

  .hero-image-message {
    left: 18px;
    bottom: 18px;
  }
}

@media (max-width: 560px) {
  .hero.hero-conversion {
    padding-top: 22px;
  }

  .hero-conversion .eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .hero-conversion h1 {
    margin-bottom: 14px;
    font-size: clamp(30px, 9.2vw, 38px);
    line-height: 1.07;
  }

  .hero-conversion-lead {
    margin-bottom: 17px;
    font-size: 15px;
    line-height: 1.48;
  }

  .hero-benefits {
    gap: 7px;
    margin-bottom: 18px;
  }

  .hero-benefits span {
    display: none;
  }

  .hero-conversion-actions {
    display: grid;
  }

  .hero-conversion-actions .btn {
    width: 100%;
  }

  .hero-conversion-contact {
    display: grid;
    gap: 2px;
    line-height: 1.4;
  }

  .hero-conversion-contact > span {
    display: none;
  }

  .hero-image-message {
    left: 12px;
    bottom: 12px;
    max-width: 240px;
    padding: 12px 14px;
  }
}

.footer-bottom .developer-credit a {
  color: #fff;
  font-weight: 750;
}

/* Homepage facade hero: keep the actual building and pupils visible on small screens. */
@media (max-width: 820px) {
  .hero-conversion-visual { aspect-ratio: 1 / 1; }
  .hero-conversion-visual img { object-position: center center; }
}
