/* Additions layered on top of the Webflow build. */

.lb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Former extra h1s, now h2/h3, keep the h1 look. */
.lb-as-h1 {
  font-size: clamp(1.875rem, 0.9659rem + 4.5455vw, 4.375rem);
  line-height: 120%;
}
@media screen and (max-width: 479px) {
  .lb-as-h1 {
    line-height: 134%;
  }
}

/* Counter "+" / "k+" was lime (#a3f000) on white: 1.4:1. Darker lime keeps the accent at 5:1. */
.counter-item .couting-column-fixed {
  color: #4d7c0f;
}

/* Homepage hero: compressed JPEGs instead of the 3.3 MB PNG (1600px default set in the Webflow CSS). */
@media screen and (min-width: 1600px) {
  .section-home-v2-hero {
    background-image: url("/assets/site/hero/home-hero-2400.jpg");
  }
}
@media screen and (max-width: 767px) {
  .section-home-v2-hero {
    background-image: linear-gradient(#003890b3, #003890b3), url("/assets/site/hero/home-hero-900.jpg");
  }
}

/* Scroll-reveal content starts invisible; show it when motion is reduced or JavaScript didn't run. */
@media (prefers-reduced-motion: reduce) {
  [style*="translate3d(0, 40px, 0)"][style*="opacity:0"] {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee-item-right {
    transform: none !important;
  }
}
html:not(.w-mod-js) [style*="translate3d(0, 40px, 0)"][style*="opacity:0"] {
  opacity: 1 !important;
  transform: none !important;
}

/* Contact page: areas we serve. */
.lb-service-area {
  padding: 0 0 120px;
}
.lb-service-area-title {
  margin-bottom: 20px;
}
.lb-service-area p {
  max-width: 980px;
  margin-bottom: 16px;
}
.lb-area-list {
  line-height: 1.7;
}
.lb-area-townships {
  display: block;
  font-size: 0.9em;
}
.lb-service-area a {
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .lb-service-area {
    padding-bottom: 80px;
  }
}

.faq-accordion-paragraph a {
  color: inherit;
  text-decoration: underline;
}

.lb-footer-link {
  color: inherit;
  text-decoration: none;
}
.lb-footer-link:hover {
  text-decoration: underline;
}

/* Homepage "Our Partners" logos.
   Amana clear space = height of the lowercase "n" (about half the logo height, ~50px at 387px wide).
   Mitsubishi Electric clear space = 1/4 of the diamond height; minimum 54px wide on screen.
   The 64px gap covers both. Heights match so neither brand dominates. */
.lb-partners {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 64px;
}
.lb-partner-link {
  display: block;
  line-height: 0;
}
.lb-partners img {
  display: block;
  max-width: 100%;
  padding: 0;
}
.lb-partner-amana {
  width: 387px;
  height: auto;
}
.lb-partner-mitsubishi {
  width: 250px;
  height: auto;
}
@media screen and (max-width: 767px) {
  .lb-partners {
    align-items: center;
    gap: 48px;
    width: 100%;
  }
  .lb-partner-amana {
    width: 280px;
  }
  .lb-partner-mitsubishi {
    width: 181px;
  }
}

.lb-reg {
  font-size: 0.55em;
  line-height: 0;
  vertical-align: super;
}

/* Cloudflare Turnstile slot inside Webflow forms; only takes space when a challenge is shown. */
.lb-turnstile {
  line-height: 0;
}
.lb-turnstile--visible {
  margin-bottom: 16px;
}

/* Manufacturer trademark notices (required by partner brand standards). */
.lb-legal {
  padding-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.6;
}
.lb-legal p {
  margin: 0 0 4px;
  color: inherit; /* Webflow's global p color is too dark on the navy footer */
}
