/* Alpha Axis V3 final approved design refinements. */

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-motion-bar {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(241, 199, 91, 0.82);
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-motion-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.72) 28%,
    #fffbe8 52%,
    rgba(255, 255, 255, 0.58) 72%,
    transparent
  );
  box-shadow: 0 0 14px rgba(255, 246, 200, 0.72);
  transform: translate3d(-125%, 0, 0);
  animation: ax-v31-bar-travel 7.5s linear infinite;
  animation-play-state: paused;
}

html.ax-v31-motion body[data-structure-preview="true"] .hero.is-motion-visible .ax-v31-motion-bar > span {
  animation-play-state: running;
}

html.ax-v31-motion body[data-structure-preview="true"] .hero .action-call-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

html.ax-v31-motion body[data-structure-preview="true"] .hero .action-call-primary::after {
  content: none !important;
  animation: none !important;
}

html.ax-v31-motion body[data-structure-preview="true"] .structure-canonical-title .obvious-result-highlight,
html.ax-v31-motion body[data-structure-preview="true"] .structure-canonical-title .structure-title-highlight {
  display: inline-block !important;
  width: max-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-self: center !important;
  justify-self: center !important;
  padding: 0.07em 0.1em 0.1em !important;
  color: var(--navy-950) !important;
  background: var(--gold-400) !important;
  white-space: normal !important;
  text-wrap: balance !important;
  overflow-wrap: normal !important;
  text-align: center !important;
  text-shadow: none !important;
  font-size: calc(1em * var(--ax-v31-highlight-scale, 1)) !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

html.ax-v31-motion body[data-structure-preview="true"] .structure-canonical-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-availability-line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 500px);
  margin: 24px 0 0;
  padding: 10px 0;
  color: #eef7fa;
  border-top: 1px solid rgba(241, 199, 91, 0.52);
  border-bottom: 1px solid rgba(241, 199, 91, 0.28);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.025em;
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-availability-dot {
  position: relative;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  border: 1px solid rgba(115, 255, 163, 0.56);
  background: #075c2a;
  box-shadow: inset 0 0 0 1px rgba(4, 38, 18, 0.42), 0 0 2px rgba(37, 211, 102, 0.16);
  opacity: 1;
  animation: ax-v31-status-led-double 2.4s steps(1, end) infinite;
  animation-play-state: paused;
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-availability-dot::after {
  display: none;
  content: none;
}

html.ax-v31-motion body[data-structure-preview="true"] .final-cta.is-motion-visible .ax-v31-availability-dot {
  animation-play-state: running;
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-bottom-call .ringing-phone-icon,
html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-bottom-call .ringing-phone-icon::before,
html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-bottom-call .ringing-phone-icon::after {
  animation-play-state: paused;
}

html.ax-v31-motion body[data-structure-preview="true"] .final-cta.is-motion-visible .ax-v31-bottom-call .ringing-phone-icon,
html.ax-v31-motion body[data-structure-preview="true"] .final-cta.is-motion-visible .ax-v31-bottom-call .ringing-phone-icon::before,
html.ax-v31-motion body[data-structure-preview="true"] .final-cta.is-motion-visible .ax-v31-bottom-call .ringing-phone-icon::after {
  animation-play-state: running;
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-bottom-call .ringing-phone-icon {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-bottom-call .ringing-phone-icon svg {
  width: 20px;
  height: 20px;
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-footer-slogan {
  margin: -4px 0 0;
  color: var(--gold-400);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.015em;
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-family-statement {
  width: var(--content);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 18px);
  margin: clamp(24px, 3vw, 38px) auto clamp(20px, 2.5vw, 32px);
  color: var(--blue-700);
  background: transparent;
  text-align: center;
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-family-statement::before,
html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-family-statement::after {
  width: clamp(28px, 7vw, 92px);
  height: 1px;
  flex: 0 1 92px;
  content: "";
  background: rgba(8, 109, 158, 0.38);
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-family-statement p {
  margin: 0;
  color: var(--blue-700);
  font-family: var(--display) !important;
  font-size: clamp(23px, 2.7vw, 34px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-family-statement .ax-v31-statement-quote {
  color: var(--blue-700);
  font-family: var(--display) !important;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 0.75;
  opacity: 0.56;
}

@keyframes ax-v31-bar-travel {
  0% { opacity: 0.4; transform: translate3d(-125%, 0, 0); }
  12% { opacity: 0.78; }
  48% { opacity: 1; }
  88% { opacity: 0.74; }
  100% { opacity: 0.36; transform: translate3d(440%, 0, 0); }
}

@keyframes ax-v31-status-led-double {
  0%, 8%, 21%, 29%, 42%, 100% {
    background: #075c2a;
    border-color: rgba(93, 211, 132, 0.42);
    box-shadow: inset 0 0 0 1px rgba(4, 38, 18, 0.48), 0 0 2px rgba(37, 211, 102, 0.12);
  }
  9%, 20%, 30%, 41% {
    background: #4cff83;
    border-color: #a7ffc4;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 0 5px rgba(76, 255, 131, 0.82);
  }
}

@media (max-width: 620px) {
  html.ax-v31-motion body[data-structure-preview="true"] .structure-canonical-title {
    width: min(calc(100vw - 14px), 520px) !important;
    max-width: min(calc(100vw - 14px), 520px) !important;
  }

  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-availability-line {
    width: 100%;
    margin-top: 20px;
    justify-content: center;
    font-size: 12px;
    text-align: center;
  }

  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-footer-slogan {
    font-size: 17px;
  }

  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-family-statement {
    width: calc(100% - 28px);
    gap: 8px;
    margin-top: 26px;
    margin-bottom: 21px;
  }

  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-family-statement::before,
  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-family-statement::after {
    width: 22px;
    flex-basis: 22px;
  }

  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-family-statement p {
    font-size: 22px;
  }

  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-family-statement .ax-v31-statement-quote {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-motion-bar > span,
  html.ax-v31-motion body[data-structure-preview="true"] .hero .action-call-primary::after,
  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-availability-dot,
  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-bottom-call .ringing-phone-icon,
  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-bottom-call .ringing-phone-icon::before,
  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-bottom-call .ringing-phone-icon::after {
    animation: none !important;
  }

  html.ax-v31-motion body[data-structure-preview="true"] .ax-v31-availability-dot {
    opacity: 1 !important;
  }
}
