/*
 * Mobile homepage density pass.
 * Desktop layout is intentionally untouched.
 */
@media (max-width: 767.98px),
       (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  /* Equipment videos: one focused card with the next card visible as a swipe cue. */
  body.home .ir-equipment-videos {
    padding: 38px 0 34px;
  }

  body.home .ir-video-gallery-heading {
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 18px;
  }

  body.home .ir-video-gallery-heading h2 {
    font-size: 25px;
    line-height: 1.18;
  }

  body.home .ir-video-gallery-heading p {
    max-width: 28em;
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.45;
  }

  body.home .ir-video-gallery-controls {
    gap: 6px;
  }

  body.home .ir-video-gallery-controls button {
    width: 36px;
    height: 36px;
    font-size: 23px;
  }

  body.home .ir-video-gallery-track {
    width: calc(100vw - 15px);
    gap: 12px;
    margin-right: calc(50% - 50vw);
    padding-right: 22px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  body.home .ir-video-gallery-track::-webkit-scrollbar {
    display: none;
  }

  body.home .ir-video-card {
    flex-basis: calc(100vw - 46px);
    border-radius: 7px;
  }

  body.home .ir-video-card-copy {
    min-height: 82px;
    padding: 13px 14px 15px;
  }

  body.home .ir-video-card-copy h3 {
    font-size: 16px;
    line-height: 1.32;
  }

  /* Service flow: three compact, scan-friendly rows. */
  body.home .ir-process-section .container {
    padding-top: 36px !important;
    padding-bottom: 30px !important;
  }

  body.home .ir-process-section .row.justify-content-center {
    padding-bottom: 14px !important;
  }

  body.home .ir-process-section .heading-section h2 {
    margin-bottom: 0 !important;
    font-size: 27px;
    line-height: 1.15;
  }

  body.home .ir-process-section .container > .row:last-child > div {
    padding-bottom: 10px;
  }

  body.home .ir-process-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    min-height: 0;
    margin-bottom: 0 !important;
    padding: 16px;
    border-top: 0;
    border-left: 3px solid #69bd45;
    border-radius: 7px;
    box-shadow: 0 8px 20px rgba(0, 62, 99, 0.08);
  }

  body.home .ir-process-card .icon {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    margin: 0;
    font-size: 24px;
  }

  body.home .ir-process-card h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.3;
  }

  body.home .ir-process-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  /* Company proof: short positioning copy plus a 2 × 2 evidence grid. */
  body.home #about-section .about-wrap {
    height: 184px;
    min-height: 184px;
    background-position: center;
  }

  body.home #about-section > .container > .row > .col-md-6:last-child {
    padding: 32px 15px 26px !important;
  }

  body.home #about-section .row.justify-content-center {
    margin-bottom: 18px !important;
    padding-top: 0 !important;
  }

  body.home #about-section .heading-section h2 {
    margin-bottom: 10px !important;
    font-size: 27px;
    line-height: 1.17;
  }

  body.home #about-section .heading-section p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #536b7a;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.home #about-section > .container > .row > .col-md-6:last-child > .row:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: -5px;
    margin-left: -5px;
  }

  body.home #about-section .counter-wrap {
    display: block !important;
    width: auto;
    padding: 5px;
  }

  body.home #about-section .block-18 {
    min-height: 116px;
    margin: 0;
    padding: 15px 12px;
    border-radius: 7px;
  }

  body.home #about-section .block-18 strong {
    font-size: 22px !important;
  }

  body.home #about-section .block-18 span {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 0.5px;
  }

  /* Buyer benefits: four reasons remain visible without four full-screen cards. */
  body.home .ir-bottom-benefits-section {
    padding-top: 42px !important;
    padding-bottom: 34px !important;
  }

  body.home .ir-bottom-benefits-section .row.justify-content-center {
    margin-bottom: 16px !important;
    padding-bottom: 0 !important;
  }

  body.home .ir-bottom-benefits-section .heading-section h2 {
    margin-bottom: 0 !important;
    font-size: 27px;
    line-height: 1.15;
  }

  body.home .ir-bottom-benefits-section .container > .row:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: -5px;
    margin-left: -5px;
  }

  body.home .ir-bottom-benefits-section .container > .row:last-child > div {
    display: block !important;
    width: auto;
    padding: 5px;
  }

  body.home .ir-benefit-card {
    min-height: 144px;
    margin-bottom: 0 !important;
    padding: 15px 12px;
    border-radius: 7px;
  }

  body.home .ir-benefit-card .icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    font-size: 21px;
  }

  body.home .ir-benefit-card h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.36;
  }

  body.home .ir-benefit-card p {
    display: none;
  }

  /* Buyer guides: one clear card at a time, swipe for the next guide. */
  body.home .ir-home-blog-section {
    padding-top: 44px !important;
    padding-bottom: 40px !important;
  }

  body.home .ir-home-blog-section .row.justify-content-center {
    margin-bottom: 18px !important;
    padding-bottom: 0 !important;
  }

  body.home .ir-home-blog-section .heading-section h2 {
    margin-bottom: 0 !important;
    font-size: 27px;
  }

  body.home .ir-home-blog-section .heading-section p {
    display: none;
  }

  body.home .ir-home-blog-section .container > .row:nth-child(2) {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-right: 0;
    margin-left: 0;
    padding: 0 0 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.home .ir-home-blog-section .container > .row:nth-child(2)::-webkit-scrollbar {
    display: none;
  }

  body.home .ir-home-blog-section .container > .row:nth-child(2) > div {
    flex: 0 0 84%;
    max-width: 84%;
    padding: 0;
    scroll-snap-align: start;
  }

  body.home .ir-home-blog-card {
    min-height: 0;
    margin-bottom: 0 !important;
  }

  body.home .ir-home-blog-thumb {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  body.home .ir-home-blog-body {
    padding: 16px;
  }

  body.home .ir-home-blog-meta {
    margin-bottom: 7px;
    font-size: 10px;
  }

  body.home .ir-home-blog-body h3 {
    height: 48px;
    min-height: 48px;
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  body.home .ir-home-blog-body p {
    display: none;
  }

  body.home .ir-home-blog-body .btn,
  body.home .ir-home-blog-footer .btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
  }

  body.home .ir-home-blog-body .btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  body.home .ir-home-blog-footer {
    margin-top: 18px;
  }

  /* Keep the conversion form concise before the footer. */
  body.home .ir-bottom-quote-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  body.home .ir-bottom-quote-section .row.justify-content-center.mb-5 {
    margin-bottom: 22px !important;
  }

  body.home .ir-bottom-quote-section .heading-section p {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.home .ir-bottom-quote-card {
    padding: 18px;
  }

  /* Site-wide mobile footer: remove duplicate category navigation and surface contact. */
  .ftco-footer {
    padding-top: 38px;
  }

  .ftco-footer > .container {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
  }

  .ftco-footer > .container > .row {
    display: flex;
  }

  .ftco-footer > .container > .row > div:nth-child(1) {
    order: 1;
  }

  .ftco-footer > .container > .row > div:nth-child(2) {
    order: 3;
  }

  .ftco-footer > .container > .row > div:nth-child(3) {
    display: none;
  }

  .ftco-footer > .container > .row > div:nth-child(4) {
    order: 2;
  }

  .ftco-footer .ftco-footer-widget {
    margin-bottom: 24px;
  }

  .ftco-footer .ftco-heading-2 {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .ftco-footer .ftco-heading-2.logo {
    margin-bottom: 14px;
  }

  .ftco-footer .ftco-heading-2.logo img {
    max-width: 190px;
    height: auto;
  }

  .ftco-footer > .container > .row > div:nth-child(1) .ftco-footer-widget > p {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ftco-footer .ftco-footer-social {
    margin-top: 14px !important;
  }

  .ftco-footer .ftco-footer-social li a {
    width: 38px;
    height: 38px;
  }

  .ftco-footer > .container > .row > div:nth-child(2) .ftco-footer-widget ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }

  .ftco-footer .ftco-footer-widget ul li {
    margin-bottom: 7px;
    font-size: 13px;
  }

  .ftco-footer .block-23 {
    margin-bottom: 0 !important;
  }

  .ftco-footer .block-23 ul li {
    margin-bottom: 10px;
    line-height: 1.45;
  }

  .ftco-footer .block-23 ul li:first-child .text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ftco-footer .ir-footer-legal {
    margin: 10px 0 0;
    font-size: 12px;
  }

  .ftco-footer > .container-fluid {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  .ftco-footer > .container-fluid p {
    font-size: 12px;
  }
}
