/* =========================
   MH HERO (16px REM BASE)
   ========================= */

.mh-hero {
  position: relative;
  width: 100%;
  min-height: 45.1875rem; /* 72.3rem */
  overflow: hidden;
  background: linear-gradient(260deg, #95021E -9.63%, #5D0024 109.08%);
}

/* =========================
   INNER / CONTENT
   ========================= */

.mh-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 45.1875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.75rem 1.25rem; /* 6rem 2rem */
}

.mh-hero__content {
  max-width: 40rem; /* 64rem */
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

/* =========================
   TYPOGRAPHY
   ========================= */

/* H1 */
.mh-hero__content h1 {
  margin: 0;
  color: #FFF;
  text-align: center;
  font-family: "Bembo Std", serif;
  font-size: 3.75rem; /* 6rem */
  font-style: normal;
  font-weight: 400;
  line-height: 97%;
}

/* Strong line inside H1 */
.mh-hero__content h1 strong {
  display: block;
  margin-top: 0.75rem; /* 1.2rem */

  color: #FFF;
  font-family: "Montserrat", sans-serif;
  font-size: 3.125rem; /* 5rem */
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

/* Paragraph */
.mh-hero__content p {
  margin: 1.5rem 0 0; /* 2.4rem */
  color: #FFF;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem; /* 1.8rem */
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.01125rem; /* 0.018rem */
}

/* =========================
   BUTTON (optional class)
   ========================= */

.mh-hero__btn {
  display: inline-flex;
  margin-top: 2rem; /* 3.2rem */
  padding: 1.1875rem 1.5rem; /* 1.9rem 2.4rem */
  justify-content: center;
  align-items: center;
  gap: 0.625rem; /* 1rem */

  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  text-decoration: none;

  font-family: "Montserrat", sans-serif;
  font-size: 0.9375rem; /* 1.5rem */
  font-weight: 500;
  line-height: 134%;
  letter-spacing: -0.0103125rem; /* -0.0165rem */
  text-transform: uppercase;
}

.mh-hero__btn:hover {
  opacity: 0.9;
}

.mh-hero__orbit-toggle{
    width: fit-content;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: white;
    border-radius: 50%;
    z-index: 999;
}
.mh-hero__orbit-toggle i{
  color: #95021E;
}

.mh-hero__orbit-toggle:focus, .mh-hero__orbit-toggle:hover{
  opacity: .7;
  background: white;
}

/* =========================
   SVG RINGS
   ========================= */

.mh-hero__rings {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.mh-hero__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%);
}

/* Ring sizes */
.mh-hero__ring--outer {
  width: min(94.625rem, 120vw); /* 151.4rem */
}

.mh-hero__ring--2 {
  width: min(70.375rem, 95vw); /* 112.6rem */
}

.mh-hero__ring--3 {
  width: min(59rem, 85vw); /* 94.4rem */
}

.mh-hero__ring--inner {
  width: min(56.6875rem, 82vw); /* 90.7rem */
}

/* =========================
   IMAGE CIRCLES
   ========================= */

.mh-hero__media {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.mh-hero__img {
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 9999px;
}

/* Upper left */
.mh-hero__img--ul {
  width: 10.4375rem; /* 16.7rem */
  height: 10.4375rem;
  left: 20%;
  top: 10%;
}

/* Lower left */
.mh-hero__img--ll {
  width: 30.25rem; /* 48.4rem */
  height: 30.25rem;
  left: -6%;
  top: 34%;
}

/* Upper right */
.mh-hero__img--ur {
  width: 30rem;
  height: 30rem;
  right: -4%;
  top: -16%;
}

/* Lower right */
.mh-hero__img--lr {
  width: 17.5625rem; /* 28.1rem */
  height: 17.5625rem;
  right: 6%;
  bottom: 10%;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 992px) {
  .mh-hero {
    min-height: 40rem;
    height: 100vh;
  }

  .mh-hero__inner {
    min-height: 40rem;
    padding: 3.125rem 1.25rem;
  }

  .mh-hero__content h1 {
    font-size: 2.625rem;
  }

  .mh-hero__content h1 strong {
    font-size: 2.25rem;
  }
  .mh-hero__content {
    
    margin: 0 auto;
    text-align: center;
    color: #fff;
    max-width: 100%;
}

  .mh-hero__content p {
    font-size: 1rem;
  }

  .mh-hero__img--ur {
    width: 21.25rem;
    height: 21.25rem;
    right: -22%;
    top: -10%;
  }

  .mh-hero__img--ll {
    width: 20rem;
    height: 20rem;
    left: -20%;
    top: 45%;
  }

  .mh-hero__img--lr {
    width: 12.5rem;
    height: 12.5rem;
    right: -4%;
    bottom: 6%;
  }

  .mh-hero__img--ul {
    width: 7.5rem;
    height: 7.5rem;
    left: 18%;
    top: 10%;
  }
}

@media (max-width: 575px) {
  .mh-hero__content h1 {
    font-size: 2.125rem;
    line-height: 105%;
  }

  .mh-hero__content h1 strong {
    font-size: 1.875rem;
  }

  /* Hide large images */
  .mh-hero__img--ur,
  .mh-hero__img--ll {
    display: none;
  }

  .mh-hero__img--ul {
    left: 10%;
    top: 8%;
  }

  .mh-hero__img--lr {
    right: -10%;
    bottom: 4%;
  }
}

/* =========================
   ORBIT ANIMATION (CSS)
   Desktop: controlled by classes
   ========================= */

.mh-hero__orbits {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Orbit wrapper rotates around hero center */
.mh-hero__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;

  --dur: 90s;     /* SLOWER (was 60s) */
  --radius: 40rem;
  --start: 0deg;

  transform: translate(-50%, -50%) rotate(var(--start));
  transform-origin: 0 0;

  /* NOTE: NO infinite here */
  animation: mh-hero-orbit-rotate var(--dur) linear;
  animation-play-state: paused; /* default: stopped */
}

/* Push the object out to the orbital radius */
.mh-hero__orbit-pos {
  transform: translateX(var(--radius));
}

/* Keep the image upright */
.mh-hero__orbit-upright {
  transform: rotate(calc(-1 * var(--start)));
  transform-origin: 0 0;

  /* NOTE: NO infinite here */
  animation: mh-hero-orbit-counter var(--dur) linear;
  animation-play-state: paused; /* default: stopped */
}

/* Image sits at orbit point */
.mh-hero__orbit .mh-hero__img {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
}

/* Keyframes */
@keyframes mh-hero-orbit-rotate {
  from { transform: translate(-50%, -50%) rotate(var(--start)); }
  to   { transform: translate(-50%, -50%) rotate(calc(var(--start) + 360deg)); }
}
@keyframes mh-hero-orbit-counter {
  from { transform: rotate(calc(-1 * var(--start))); }
  to   { transform: rotate(calc(-1 * var(--start) - 360deg)); }
}

/* Override old absolute positioning when inside orbit wrappers */
.mh-hero__orbit .mh-hero__img--ul,
.mh-hero__orbit .mh-hero__img--ll,
.mh-hero__orbit .mh-hero__img--ur,
.mh-hero__orbit .mh-hero__img--lr {
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
}

/* Desktop control */
@media (min-width: 993px) {

  .mh-hero__orbit,
  .mh-hero__orbit-upright {
    animation-iteration-count: 1;
    animation-fill-mode: none; /* snap back to start position after 1 orbit */
  }

  /* Play */
  .mh-hero.is-orbit-playing .mh-hero__orbit,
  .mh-hero.is-orbit-playing .mh-hero__orbit-upright {
    animation-play-state: running;
  }

  /* Pause */
  .mh-hero.is-orbit-paused .mh-hero__orbit,
  .mh-hero.is-orbit-paused .mh-hero__orbit-upright {
    animation-play-state: paused;
  }


}

@media (min-width: 1151px) and (max-width: 1400px) {
  .mh-hero__img--lr {
    width: 17vw;
    height: 17vw;
    
  }

  .mh-hero__img--ur {
      width: 27vw;
      height: 27vw;
     
  }

  .mh-hero__img--ll {
      width: 27vw;
      height: 27vw;
      
  }

  .mh-hero__img--ul {
      width: 10vw;
      height: 10vw;
    
  }
  .mh-hero__orbit.mh-hero__orbit--ul {
    --radius: 26rem !important;
  }

  .mh-hero__orbit.mh-hero__orbit--ll {
    --radius: 29.5rem !important;
  }

  .mh-hero__orbit.mh-hero__orbit--ur {
    --radius: 29.5rem !important;
  }

  .mh-hero__orbit.mh-hero__orbit--lr {
    --radius: 26rem !important;
  }

  .mh-hero__content {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    color: #fff;
  }

}

@media (min-width: 993px) and (max-width: 1150px) {
  .mh-hero__img--lr {
    width: 17vw;
    height: 17vw;
    
  }

  .mh-hero__img--ur {
      width: 27vw;
      height: 27vw;
     
  }

  .mh-hero__img--ll {
      width: 27vw;
      height: 27vw;
      
  }

  .mh-hero__img--ul {
      width: 10vw;
      height: 10vw;
    
  }
  .mh-hero__orbit.mh-hero__orbit--ul {
    --radius: 26rem !important;
  }

  .mh-hero__orbit.mh-hero__orbit--ll {
    --radius: 28rem !important;
  }

  .mh-hero__orbit.mh-hero__orbit--ur {
    --radius: 28rem !important;
  }

  .mh-hero__orbit.mh-hero__orbit--lr {
    --radius: 26rem !important;
  }

  .mh-hero__content {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    color: #fff;
  }

}

/* =========================================================
   HERO — Mobile starts at Bootstrap md (<= 767.98px)
   Disable orbit ONLY on mobile (keep on lg+)
   ========================================================= */

@media (max-width: 992px) {

  /* Hide orbit toggle on mobile */
  .mh-hero__orbit-toggle{
    display: none !important;
  }

  /* Keep rings, but remove inner (comp shows 3) */
  .mh-hero__ring--inner{
    display: none !important;
  }

  /* Make hero a bit taller like comp */
  .mh-hero{
    min-height: 52rem;
  }
  .mh-hero__inner{
    min-height: 52rem;
    padding: 3rem 1.25rem;
  }

  /* Center content vertically (you asked) */
  .mh-hero__inner{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* --- ORBIT OFF: turn orbit wrappers into a normal absolute layer --- */
  .mh-hero__orbits{
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }

  /* Stop animation but DON'T wipe transforms globally */
  .mh-hero__orbit,
  .mh-hero__orbit-upright{
    animation: none !important;
  }

  /*
    Neutralize orbit geometry so children can be positioned normally:
    - remove translate/rotate from orbit wrappers
    - make them full overlay containers
  */
  .mh-hero__orbit{
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
  }

  .mh-hero__orbit-pos,
  .mh-hero__orbit-upright{
    transform: none !important;
  }

  /*
    IMPORTANT: your orbit rules force left/top = 0 for images inside orbit.
    We keep that idea, but then we explicitly place each image with real offsets.
  */
  .mh-hero__orbit .mh-hero__img{
    position: absolute !important;
    transform: none !important; /* remove translate(-50%, -50%) */
  }

  /* Mobile sizes (your spec) */
  .mh-hero__orbit .mh-hero__img--ul{
    width: 103px !important;
    height: 103px !important;
    left: 7% !important;
    top: 6% !important;
  }

  .mh-hero__orbit .mh-hero__img--ur{
    width: 237px !important;
    height: 237px !important;
    right: 0% !important;
        top: -6% !important;
    left: auto !important;
  }

  .mh-hero__orbit .mh-hero__img--ll{
    width: 238px !important;
    height: 238px !important;
    left: -5% !important;
    bottom: 0% !important;
    top: auto !important;
  }

  .mh-hero__orbit .mh-hero__img--lr{
    width: 121px !important;
    height: 121px !important;
    right: 2% !important;
    bottom: 2% !important;
    left: auto !important;
    top: auto !important;
  }

  /* If you still have legacy "hide large images" rules, override them */
  .mh-hero__img--ur,
  .mh-hero__img--ll{
    display: block !important;
  }

  .mh-hero__ring{
  top: 46%;
  transform: translate(-50%, -50%);
}

.mh-hero__ring--outer{ width: 175vw; }
.mh-hero__ring--2{ width: 112vw; display: none; }
.mh-hero__ring--3{ width: 160vw; }

}
