.home-hero-slideshow {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.home-hero-stage,
.home-hero-slide {
  position: relative;
}

.home-hero-js .home-hero-slide {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.home-hero-js .home-hero-slideshow.is-ready .home-hero-slide {
  transition:
    opacity .45s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear .45s;
}

.home-hero-js .home-hero-slide.is-active {
  position: relative;
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.home-hero-controls {
  display: none;
}

.home-hero-js .home-hero-controls {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .45rem 1rem .6rem;
  color: #17125f;
  background: #fff;
}

.home-hero-control,
.home-hero-dot {
  display: inline-grid;
  place-items: center;
  color: #17125f;
  border: 1px solid #c9dff3;
  background: #fff;
  cursor: pointer;
}

.home-hero-control {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
}

.home-hero-control--toggle {
  margin-left: .15rem;
  font-size: .9rem;
}

.home-hero-dots {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.home-hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
}

.home-hero-dot[aria-current="true"] {
  border-color: #17125f;
  background: #17125f;
}

.home-hero-control:hover,
.home-hero-dot:hover {
  border-color: #50aaf1;
}

.home-hero-control:focus-visible,
.home-hero-dot:focus-visible,
.services-hero-link:focus-visible,
.services-hero-cta:focus-visible {
  outline: 3px solid #50aaf1;
  outline-offset: 3px;
}

.services-hero-slide {
  --services-navy: #17125f;
  --services-deep: #0e0a48;
  --services-blue: #188ee9;
  position: relative;
  min-height: 786px;
  overflow: hidden;
  color: var(--services-navy);
  background:
    radial-gradient(circle at 55% 47%, rgba(88, 172, 238, .16) 0 20%, transparent 20.5%),
    linear-gradient(110deg, #fff 0 55%, var(--services-navy) 55% 100%);
}

.services-hero-slide::before,
.services-hero-slide::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.services-hero-slide::before {
  top: -18%;
  left: 25%;
  width: 29vw;
  height: 118%;
  min-width: 330px;
  border: 70px solid rgba(227, 242, 253, .78);
  border-radius: 50%;
  transform: rotate(7deg);
}

.services-hero-slide::after {
  right: -18vw;
  bottom: -48%;
  width: 62vw;
  height: 82vw;
  border: 92px solid rgba(47, 55, 150, .28);
  border-radius: 50%;
}

.services-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1500px, calc(100% - 4rem));
  min-height: 786px;
  margin: 0 auto;
  grid-template-columns: minmax(300px, .92fr) minmax(410px, 1.05fr) minmax(360px, .9fr);
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.8rem);
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.services-hero-copy {
  align-self: center;
  padding-left: clamp(0rem, 1.8vw, 1.8rem);
}

.services-hero-kicker {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.4rem;
  color: var(--services-blue);
  font-size: .92rem;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.services-hero-kicker::after {
  width: 3.5rem;
  height: 1px;
  content: "";
  background: #79bff4;
}

.services-hero-copy h2 {
  max-width: 10ch;
  margin: 0;
  color: var(--services-navy);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -.038em;
  line-height: .98;
  text-wrap: balance;
}

.services-hero-intro {
  max-width: 39ch;
  margin: 1.35rem 0 1.8rem;
  color: #172542;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.services-hero-cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-width: min(100%, 310px);
  padding: .75rem .8rem .75rem 1.5rem;
  color: #fff;
  border-radius: 999px;
  background: var(--services-navy);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s cubic-bezier(.22, 1, .36, 1);
}

.services-hero-cta span:last-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--services-navy);
  border-radius: 50%;
  background: #fff;
  font-size: 1.35rem;
}

.services-hero-cta:hover {
  color: #fff;
  background: #292487;
  transform: translateY(-2px);
}

.services-hero-media {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.services-hero-media::before,
.services-hero-media::after {
  position: absolute;
  inset: 5%;
  content: "";
  border: 20px solid var(--services-navy);
  border-radius: 50%;
}

.services-hero-media::after {
  inset: 12%;
  border-width: 5px;
  border-color: #fff;
}

.services-hero-main,
.services-hero-orbit {
  position: absolute;
  z-index: 2;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: #dceefa;
}

.services-hero-main {
  inset: 14%;
  width: 72%;
  height: 72%;
  border: 8px solid #fff;
}

.services-hero-orbit {
  width: 29%;
  height: 29%;
  border: 7px solid #fff;
  box-shadow: 0 3px 8px rgba(15, 30, 73, .2);
}

.services-hero-orbit--hair { top: 0; left: 3%; }
.services-hero-orbit--lipo { top: 1%; right: 0; }
.services-hero-orbit--lift { bottom: 0; left: 0; }
.services-hero-orbit--eyes { bottom: -6%; left: 35%; }
.services-hero-orbit--dental { right: -1%; bottom: 1%; }

.services-hero-links {
  display: grid;
  align-content: center;
  gap: .72rem;
  padding: 1rem 0;
}

.services-hero-link {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem .8rem .72rem 1.45rem;
  color: var(--services-navy);
  border-radius: 999px;
  background: #fff;
  font-size: clamp(.98rem, 1.25vw, 1.2rem);
  font-weight: 700;
  line-height: 1.18;
  text-decoration: none;
  transition: color .2s ease, transform .2s cubic-bezier(.22, 1, .36, 1);
}

.services-hero-link span:last-child {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--services-navy);
  border: 1px solid #72bdf3;
  border-radius: 50%;
  font-size: 1.25rem;
}

.services-hero-link:hover {
  color: #087dc8;
  transform: translateX(-4px);
}

@media (max-width: 1220px) {
  .services-hero-layout {
    width: min(100% - 2.5rem, 1160px);
    grid-template-columns: minmax(270px, .9fr) minmax(340px, 1fr) minmax(315px, .9fr);
    gap: 1.25rem;
  }

  .services-hero-copy h2 { font-size: 4rem; }
  .services-hero-link { min-height: 60px; padding-left: 1.15rem; }
}

@media (max-width: 980px) {
  .services-hero-slide {
    min-height: 0;
    background: linear-gradient(155deg, #fff 0 61%, var(--services-navy) 61% 100%);
  }

  .services-hero-layout {
    min-height: 0;
    grid-template-columns: minmax(0, .95fr) minmax(310px, 1.05fr);
    align-items: center;
    padding: 3.2rem 0 2.5rem;
  }

  .services-hero-copy h2 { max-width: 11ch; }

  .services-hero-links {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 1.4rem;
  }

  .services-hero-link {
    min-height: 54px;
    border: 1px solid rgba(114, 189, 243, .55);
  }
}

@media (max-width: 650px) {
  .home-hero-js .home-hero-controls { min-height: 50px; }

  .services-hero-slide {
    background: linear-gradient(170deg, #fff 0 63%, var(--services-navy) 63% 100%);
  }

  .services-hero-slide::before {
    top: 20%;
    left: 30%;
    width: 52vw;
    height: 38%;
    min-width: 0;
    border-width: 34px;
  }

  .services-hero-slide::after { display: none; }

  .services-hero-layout {
    width: min(100% - 2rem, 560px);
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 2.4rem 0 2rem;
  }

  .services-hero-copy { padding: 0; }
  .services-hero-kicker { margin-bottom: .9rem; font-size: .72rem; letter-spacing: .16em; }
  .services-hero-copy h2 { max-width: 12ch; font-size: clamp(2.55rem, 12vw, 3.75rem); }
  .services-hero-intro { margin: 1rem 0 1.2rem; font-size: 1rem; }
  .services-hero-cta { min-height: 50px; min-width: min(100%, 300px); }

  .services-hero-media {
    width: min(82vw, 350px);
    margin-top: .2rem;
  }

  .services-hero-media::before { border-width: 12px; }
  .services-hero-main { border-width: 5px; }
  .services-hero-orbit { border-width: 4px; }

  .services-hero-links {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    padding-top: .2rem;
  }

  .services-hero-link {
    min-height: 52px;
    padding: .62rem .55rem .62rem .85rem;
    border: 1px solid rgba(114, 189, 243, .42);
    font-size: .86rem;
  }

  .services-hero-link:last-child { grid-column: 1 / -1; }
  .services-hero-link span:last-child { flex-basis: 28px; width: 28px; height: 28px; font-size: 1rem; }
}

@media (max-width: 380px) {
  .services-hero-layout { width: min(100% - 1.25rem, 560px); }
  .services-hero-copy h2 { font-size: 2.45rem; }
  .services-hero-link { font-size: .81rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-js .home-hero-slideshow.is-ready .home-hero-slide {
    transition: none;
  }

  .services-hero-cta,
  .services-hero-link { transition: none; }
}
