/* Final phone and tablet refinements. Load after redesign.css. */
@media (max-width: 980px) {
  /* Six stages should read as one complete lifecycle. */
  .la3-product-visual .la3-lifecycle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }
  .la3-product-visual .la3-lifecycle button {
    min-width: 0;
    min-height: 44px;
    padding: 8px 3px;
    scroll-snap-align: none;
  }
  .la3-product-visual .la3-lifecycle button:nth-child(3n) { border-right: 0; }
  .la3-product-visual .la3-lifecycle button:nth-child(n+4) { border-top: 1px solid var(--la3-border); }

  .la3-mobile-toggle { width: 44px; height: 44px; }
}

@media (max-width: 700px) {
  /* Put the enquiry action immediately after its introduction. */
  .la3-contact-grid .la3-form-shell { order: -1; }

  /* Keep every service filter visible and comfortably tappable. */
  .la3-collection[data-la3-type="services"] .la3-issue-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    overflow: visible;
    margin-right: 0;
    padding-right: 0;
  }
  .la3-collection[data-la3-type="services"] .la3-issue-filters button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding-inline: 8px;
    white-space: normal;
    text-align: center;
  }

  .la3-intent-choices span { display: inline-flex; align-items: center; min-height: 44px; }

  /* Preserve the Company links instead of dropping a footer section. */
  .la3-footer-grid > div:nth-child(4) {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    column-gap: 18px;
  }
  .la3-footer-grid > div:nth-child(4) h2 { grid-column: 1 / -1; }
}
