/* Full-height hero on desktop, tablet, and mobile. */
.hero,
.hero.page-hero {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  max-height: none;
}

.hero > .hero-inner,
.hero.page-hero > .hero-inner {
  height: auto;
  min-height: inherit;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 100px;
}

@media (max-width: 1000px) {
  .hero > .hero-inner,
  .hero.page-hero > .hero-inner {
    padding-top: 125px;
    padding-bottom: 90px;
  }
}

/* Three columns for brand references on mobile. */
@media (max-width: 700px) {
  .reference-brands,
  .reference-brands.expanded-brands,
  .reference-brands.expanded-brands.hvac-only {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .reference-brands > .brand-reference,
  .reference-brands.expanded-brands > .brand-reference,
  .reference-brands.expanded-brands.hvac-only > .brand-reference {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100px;
    padding: 14px 7px;
  }

  .reference-brands .brand-reference > span {
    height: 38px;
    font-size: 20px;
    letter-spacing: -0.5px;
  }

  .reference-brands .brand-bitzer > span {
    font-size: 18px;
  }

  .reference-brands .brand-logo-image {
    width: 100%;
    max-width: 110px;
    height: 38px;
    margin-inline: auto;
  }

  .reference-brands .brand-logo-image > img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .reference-brands .brand-reference > small {
    font-size: 8px;
    line-height: 1.5;
    min-height: 24px;
  }
}
