/* ============================================================
   Consultation — page styles
   Desktop geometry measured at a 1440px viewport against
   _source/spec/consultation-1-ref-1440.png
   ============================================================ */

/* ---------- hero ---------- */

.consultation-hero {
  background: var(--gray);
}

.consultation-hero__inner {
  height: 727px;
}

.consultation-hero__title {
  position: absolute;
  top: 45px;
  left: 0;
  font-size: 120px;
  line-height: 120px;
  letter-spacing: 0;
  white-space: nowrap;
  font-weight: 700;
}

.consultation-hero__subtitle {
  position: absolute;
  top: 175px;
  left: 20px;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 2.4px;
  font-weight: 700;
  white-space: nowrap;
}

.consultation-hero__copy {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.consultation-hero__copy > * {
  pointer-events: auto;
}

.consultation-hero__intro,
.consultation-hero__outro {
  position: absolute;
  left: 20px;
  width: 443px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 27.2px;
}

.consultation-hero__outro {
  letter-spacing: 0.48px;
}

.consultation-hero__intro {
  top: 255px;
}

.consultation-hero__outro {
  top: 425px;
}

.consultation-hero__list {
  position: absolute;
  top: 299px;
  left: 20px;
  width: 443px;
  margin: 0;
}

.consultation-hero__list li {
  font-family: var(--font-bold);
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0;
  margin: 0;
}

/* ---------- hover image ---------- */

.consultation-hero__media {
  position: absolute;
  top: 213px;
  left: 505px;
  width: 725px;
  height: 453px;
  margin: 0;
}

.consultation-hero__media .media-swap__frame {
  width: 100%;
  height: 100%;
}

.consultation-hero__badge {
  right: 35px;
  bottom: -56px;
  width: 200px;
  height: 203px;
}

/* ---------- section below the hero ---------- */

.consultation-extra {
  background: var(--gray);
  padding: 0;
  height: 422px;
}

.consultation-extra__inner {
  position: relative;
  height: 422px;
}

.consultation-extra__h3 {
  position: absolute;
  left: 14px;
  width: 951px;
  font-size: 24px;
  letter-spacing: 0.48px;
  margin: 0;
}

.consultation-extra__h3--health {
  top: 27px;
}

.consultation-extra__h3--learning {
  top: 186px;
}

.consultation-extra__text {
  position: absolute;
  left: 14px;
  width: 951px;
}

.consultation-extra__text p {
  margin: 0;
  letter-spacing: 0.48px;
}

.consultation-extra__text--health {
  top: 74px;
}

.consultation-extra__text--health p {
  font-size: 16px;
  line-height: 25.6px;
}

.consultation-extra__text--learning {
  top: 226px;
}

.consultation-extra__text--learning p {
  font-size: 16px;
  line-height: 27.2px;
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .consultation-hero__inner {
    height: auto;
    padding: 24px 28px 56px;
    width: auto;
    max-width: none;
  }

  .consultation-hero__title,
  .consultation-hero__subtitle {
    position: static;
    white-space: normal;
  }

  .consultation-hero__title {
    font-size: clamp(42px, 10.5vw, 96px);
    line-height: 1;
  }

  .consultation-hero__subtitle {
    margin-top: 12px;
    letter-spacing: 2px;
  }

  .consultation-hero__copy {
    position: static;
    margin-top: 36px;
    pointer-events: auto;
  }

  .consultation-hero__intro,
  .consultation-hero__outro,
  .consultation-hero__list {
    position: static;
    width: auto;
    max-width: 560px;
  }

  .consultation-hero__list {
    margin: 16px 0;
  }

  .consultation-hero__media {
    position: static;
    width: 100%;
    height: auto;
    max-width: 725px;
    margin-top: 40px;
  }

  .consultation-hero__media .media-swap__frame {
    height: auto;
    aspect-ratio: 725 / 453;
  }

  .consultation-hero__media .media-swap__frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .consultation-extra {
    height: auto;
    padding: 48px 0 64px;
  }

  .consultation-extra__inner {
    height: auto;
    width: auto;
    max-width: none;
    padding: 0 28px;
  }

  .consultation-extra__h3 {
    position: static;
    width: auto;
    margin: 0 0 12px;
  }

  .consultation-extra__h3--learning {
    margin-top: 32px;
  }

  .consultation-extra__text {
    position: static;
    width: auto;
  }
}
