/* Both halves share one square and centre at every viewport and zoom level.
   Without perspective, the tilted ring and its round dots keep their shape. */
#hero .HeroSection-module__bzo3rq__orbitContainer,
#hero .HeroSection-module__bzo3rq__orbitCircleBackContainer {
  display: block;
  perspective: none;
  width: var(--hero-orbit-size, min(80vw, 750px));
  height: auto;
  aspect-ratio: 1;
  max-width: none;
  max-height: none;
  pointer-events: none;
}

#hero .HeroSection-module__bzo3rq__orbitContainer {
  top: var(--hero-orbit-front-top, 17.3%);
  left: var(--hero-orbit-front-left, 50%);
}

#hero .HeroSection-module__bzo3rq__orbitCircleBackContainer {
  top: var(--hero-orbit-back-top, 12.2%);
  left: var(--hero-orbit-back-left, 50%);
}

#hero .HeroSection-module__bzo3rq__orbitCircleFront,
#hero .HeroSection-module__bzo3rq__orbitCircleBack {
  display: block;
  border-color: #86182e;
  /* Match the 80-degree tilt without flattening the border into subpixels. */
  height: 17.3648%;
  top: 41.3176%;
  transform: rotate(-10deg);
  transform-style: flat;
}

/* Labels inherit the dot's counter-rotation so they stay upright. */
#hero .HeroSection-module__bzo3rq__dotLabel {
  display: block;
  color: #000;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  width: 110px;
  text-align: center;
}
#hero .HeroSection-module__bzo3rq__dot .HeroSection-module__bzo3rq__dotLabel {
  animation: none;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
}

/* Use the hero's empty lower row for the clinic introduction. */
#hero .HeroSection-module__bzo3rq__content2 {
  display: flex;
  align-items: flex-end;
  flex: 1;
  height: auto;
  min-height: 500px;
  padding: 0 5% 64px;
}

#hero .HeroSection-module__bzo3rq__statLeft,
#hero .HeroSection-module__bzo3rq__statRight {
  display: none;
}

.hero-clinic {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 48px;
  padding-top: 30px;
  border-top: 1px solid #1d212429;
  color: #1d2124;
  text-align: left;
}

.hero-clinic__eyebrow {
  margin: 0 0 14px;
  color: #811b32;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero-clinic h2 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.hero-clinic__description {
  max-width: 510px;
  margin: 0 0 22px;
  color: #4a5059;
  font-size: 14px;
  line-height: 1.8;
}

.hero-clinic__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.hero-clinic__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.hero-clinic__book {
  padding: 14px 24px;
  border-radius: 50px;
  background: #811b32;
  color: #fff;
}

.hero-clinic__book:hover { background: #641123; }
.hero-clinic__about { color: #1d2124; }
.hero-clinic__about:hover { color: #811b32; text-decoration: underline; }
.hero-clinic__actions svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-clinic__actions a:focus-visible { outline: 2px solid #811b32; outline-offset: 5px; }

@media (max-width: 768px) {
  #hero .HeroSection-module__bzo3rq__orbitCircleFront,
  #hero .HeroSection-module__bzo3rq__orbitCircleBack {
    border-width: 3px;
  }
  #hero .HeroSection-module__bzo3rq__dotLabel {
    width: 64px;
    font-size: 10px;
  }
  #hero .HeroSection-module__bzo3rq__dot .HeroSection-module__bzo3rq__dotLabel {
    top: calc(100% + 8px);
  }
  #hero .HeroSection-module__bzo3rq__orbitDot1 .HeroSection-module__bzo3rq__dot,
  #hero .HeroSection-module__bzo3rq__orbitDot2 .HeroSection-module__bzo3rq__dot {
    top: -9px;
    width: 18px;
    height: 18px;
    border-width: 4px;
  }
  #hero .HeroSection-module__bzo3rq__content2 {
    min-height: 0;
    margin-top: 0;
    padding: 16px 24px 48px;
  }
  .hero-clinic { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; text-align: center; }
  .hero-clinic__eyebrow { max-width: 320px; margin-inline: auto; font-size: 10px; }
  .hero-clinic h2 { font-size: clamp(28px, 7vw, 36px); }
  .hero-clinic__description { font-size: 13px; margin: 0 auto 18px; }
  .hero-clinic__actions { justify-content: center; }
}

@media (max-width: 380px) {
  .hero-clinic__actions { align-items: center; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-clinic__actions a { transition: none; }
  #hero .HeroSection-module__bzo3rq__orbitDot1,
  #hero .HeroSection-module__bzo3rq__orbitDot2,
  #hero .HeroSection-module__bzo3rq__dot,
  #hero .HeroSection-module__bzo3rq__dotLabel { animation-play-state: paused; }
}
