/* Dedicated mobile presentation; the existing desktop steps are untouched. */
.research-mobile-steps { display: none; }

@media (max-width: 899px) {
  .research-landing .research-process-steps.pg-steps-desktop {
    display: none !important;
  }
  .research-landing .research-process-section > .pg-h2 {
    margin-bottom: 34px !important;
  }
  .research-mobile-steps { display: block; }
  .research-mobile-steps__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .research-mobile-steps__tab {
    appearance: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    min-height: 44px;
    padding: 3px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--navy);
    font: 500 18px/1.25 var(--font-family, 'Inter', sans-serif);
    text-align: start;
    cursor: pointer;
  }
  .research-mobile-steps__label {
    opacity: 0.45;
    white-space: nowrap;
  }
  .research-mobile-steps__tab.is-active .research-mobile-steps__label { opacity: 1; }
  .research-mobile-steps__track {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: #e4e6eb;
    overflow: hidden;
  }
  .research-mobile-steps__fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: left center;
  }
  [dir="rtl"] .research-mobile-steps__fill { transform-origin: right center; }
  .research-mobile-steps__tab.is-active .research-mobile-steps__fill {
    transform: scaleX(1);
    transition: transform 0.35s ease-out;
  }
  .research-mobile-steps[data-manual] .research-mobile-steps__fill { transition: none; }
  .research-mobile-steps__descriptions {
    display: grid;
    padding-top: 18px;
    min-height: 76px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.55;
  }
  .research-mobile-steps__panel {
    grid-area: 1 / 1;
    margin: 0;
  }
  /* Reserve the tallest translated description without exposing inactive
     panels to readers or assistive technology. No CTA movement on change. */
  .research-mobile-steps__panel[hidden] {
    display: block;
    visibility: hidden;
    pointer-events: none;
  }
  .research-mobile-steps__tab:focus-visible,
  .research-mobile-steps__panel:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-mobile-steps__fill { transition: none !important; }
}
