/* Approved SP Certification client-consultation hero.
   The photograph excludes the mock-up's baked-in heading and buttons.
   All visible website copy and calls to action remain live HTML. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 0;
  background: #fff;
}
.hero > .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero .hero-copy {
  width: 44%;
  max-width: 570px;
  padding: 76px 0;
}
.hero-approved-media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  display: flex;
  justify-content: flex-end;
  width: 62%;
  pointer-events: none;
}
.hero-approved-media img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%);
  mask-image: linear-gradient(90deg, transparent, #000 12%);
}
@media (max-width: 1100px) and (min-width: 768px) {
  .hero { min-height: 580px; }
  .hero .hero-copy { width: 44%; padding: 60px 0; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 16px; }
  .hero .hero-actions { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
    background: #fff;
  }
  .hero > .wrap { order: 1; }
  .hero .hero-copy {
    width: 100%;
    max-width: none;
    padding: 46px 0 18px;
  }
  .hero h1 { font-size: clamp(34px, 8.8vw, 46px); }
  .hero .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-approved-media {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    aspect-ratio: 1023 / 941;
  }
  .hero-approved-media img {
    width: 100%;
    height: auto;
    object-position: center;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%);
    mask-image: linear-gradient(180deg, transparent, #000 12%);
  }
}
