/* ==========================================================================
   Business / Assessment: "Start with a complimentary Healthy Building Assessment."
   Framer: framer-zgpkok (desktop, laptop, tablet) and framer-1e6eess (phone).
   Business breakpoints: desktop >= 1440, laptop 1280-1439.98, tablet 810-1279.98, phone <= 809.98.
   Text block is absolutely positioned over the in-flow image row; the section height is padding-top + image.
   ========================================================================== */

.nf-biz-assess {
  /* Framer appear: opacity 0 -> 1, ~430ms spring without overshoot, sampled per frame on live */
  --nf-biz-assess-fade-dur: 430ms;
  --nf-biz-assess-fade-ease: linear(0, 0.011 2.8%, 0.062 6.7%, 0.134 10.5%, 0.223 14.4%, 0.317 18.4%, 0.405 22.3%, 0.493 26.3%, 0.574 30%, 0.651 34.2%, 0.707 37.9%, 0.762 41.6%, 0.806 45.6%, 0.846 49.5%, 0.879 53.3%, 0.905 57.2%, 0.927 60.9%, 0.945 64.9%, 0.96 69.3%, 0.969 72.6%, 0.978 76.5%, 0.984 80.5%, 0.99 84.4%, 0.993 88.1%, 0.996 92.1%, 0.998 96%, 1);
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 0;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 300px 60px 0; overflow: clip;
  background-color: var(--nf-white);
}
[data-nf-assess-appear] { opacity: 0; will-change: transform; transition: opacity var(--nf-biz-assess-fade-dur) var(--nf-biz-assess-fade-ease); }
[data-nf-assess-appear].is-in { opacity: 1; }

.nf-biz-assess__p { display: none; }

/* ---------- Desktop (>= 1440) ---------- */
.nf-biz-assess__content {
  /* Text column follows the page's 1300px column (case study, buy or rent) instead of live's 80px (Danny, 2026-10-23); the image stays as live */
  position: absolute; z-index: 3; top: 100px; left: max(70px, calc((100% - 1300px) / 2)); right: max(70px, calc((100% - 1300px) / 2));
  display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 32px;
  flex: 0 0 auto; height: min-content; padding: 0; overflow: visible;
}
.nf-biz-assess__text {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: flex-start; gap: 20px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: clip;
}
.nf-biz-assess__title-box { position: relative; flex: 0 0 auto; width: 100%; max-width: 100%; height: auto; }
.nf-biz-assess__sub-box { position: relative; flex: 0 0 auto; width: 100%; height: auto; }
.nf-biz-assess__title {
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif; font-size: 52px; font-weight: 400;
  line-height: 1.1em; letter-spacing: normal; color: var(--nf-black); text-align: start;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-biz-assess__sub {
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif; font-size: 34px; font-weight: 400;
  line-height: 1.25em; letter-spacing: normal; color: var(--nf-grey-61); text-align: start;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-biz-assess__ctas {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: flex-start; gap: 10px;
  flex: 0 0 auto; width: min-content; height: 118px; padding: 0; overflow: visible;
}
.nf-biz-assess__cta-box { position: relative; flex: 0 0 auto; width: auto; height: auto; }
.nf-biz-assess__btn {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 10px;
  width: min-content; height: 54px; padding: 16px 24px; overflow: visible; cursor: pointer; text-decoration: none;
  border-radius: 32px; background-color: var(--nf-green); color: rgb(0, 0, 238); /* UA link colour, as computed on live (text colour is on the label) */
  transition: background-color 0.2s ease-out;
}
.nf-biz-assess__btn-text {
  position: relative; flex: 0 0 auto; width: auto; height: auto; white-space: pre;
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif; font-size: 21px; font-weight: 400;
  line-height: 1.2em; letter-spacing: normal; color: var(--nf-black); text-align: start;
}
.nf-biz-assess__btn:focus-visible, .nf-biz-assess__link:focus-visible { outline: 2px solid var(--nf-black); outline-offset: 2px; } /* not on live, added for keyboard users */
@media (hover: hover) and (min-width: 810px) {
  .nf-biz-assess__btn:hover { background-color: rgb(165, 207, 118); }
}
.nf-biz-assess__media {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 10px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: visible;
}
.nf-biz-assess__img-box { position: relative; flex: 0 0 auto; width: 1983px; height: auto; aspect-ratio: 3.25631 / 1; overflow: visible; }
.nf-biz-assess__img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: 50% 50%; border-radius: inherit;
}

/* ---------- Laptop (1280 to 1439.98) ---------- */
@media (min-width: 1280px) and (max-width: 1439.98px) {
  .nf-biz-assess { padding: 350px 60px 0; }
  .nf-biz-assess__content { left: 60px; right: 60px; }
}

/* ---------- Tablet (810 to 1279.98) ---------- */
@media (min-width: 810px) and (max-width: 1279.98px) {
  .nf-biz-assess { justify-content: flex-start; padding: 400px 32px 0; }
  .nf-biz-assess__content { left: 40px; right: 72px; }
  .nf-biz-assess__text { width: 690px; }
  .nf-biz-assess__media { padding: 0 0 0 350px; }
  .nf-biz-assess__img-box { z-index: 1; width: 1814px; aspect-ratio: 3.25673 / 1; }
}

/* ---------- Phone (<= 809.98) ---------- */
@media (max-width: 809.98px) {
  .nf-biz-assess__d { display: none; }
  .nf-biz-assess__p { display: block; }
  .nf-biz-assess { justify-content: flex-start; padding: 325px 16px 0; }
  .nf-biz-assess__content { z-index: 2; top: 40px; left: 16px; right: auto; width: 358px; justify-content: flex-start; gap: 15px; }
  .nf-biz-assess__text { gap: 10px; }
  .nf-biz-assess__title { font-size: 26px; }
  .nf-biz-assess__sub { font-size: 17px; }
  .nf-biz-assess__ctas { justify-content: center; align-items: center; height: min-content; }
  .nf-biz-assess__link-box { position: relative; flex: 0 0 auto; align-self: stretch; width: auto; height: auto; }
  .nf-biz-assess__btn { gap: 5px; height: min-content; max-height: 35px; padding: 16px; }
  .nf-biz-assess__btn:active { background-color: rgb(165, 207, 118); } /* live phone variant: tap shows the hover colour, no hover */
  .nf-biz-assess__btn-text { font-size: 15px; }
  .nf-biz-assess__link {
    position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 4px;
    width: 100%; height: min-content; max-height: 35px; padding: 0; overflow: visible; cursor: pointer; border-radius: 32px; color: rgb(0, 0, 238);
  }
  .nf-biz-assess__link-text {
    position: relative; flex: 0 0 auto; white-space: pre;
    font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif; font-size: 15px; font-weight: 400;
    line-height: 1.2em; letter-spacing: normal; color: var(--nf-black);
    text-decoration: underline; text-decoration-color: var(--nf-black); /* live: underlined (Framer link text style) */
  }
  .nf-biz-assess__arrow { position: relative; flex: 0 0 auto; width: 24px; height: auto; aspect-ratio: 1 / 1; }
  .nf-biz-assess__media { justify-content: flex-start; min-height: 248px; }
  .nf-biz-assess__img-box--p { position: absolute; z-index: 1; inset: -227px -385px 0 -158px; overflow: visible; }
}

@media (prefers-reduced-motion: reduce) { [data-nf-assess-appear] { transition: none; } }

/* "See how it works ->" at every size (Danny, 2026-10-26): Tier 3 black link under the button, to How it works #business.
   Desktop 21px, tablet 18px, left-aligned with the button; phone keeps live's centred 15px link. */
@media (min-width: 810px) {
  .nf-biz-assess__ctas { height: auto; gap: 16px; }
  .nf-biz-assess__link-box { position: relative; flex: 0 0 auto; width: auto; height: auto; }
  .nf-biz-assess__link { display: inline-flex; align-items: center; gap: 4px; color: #000; text-decoration: none; }
  .nf-biz-assess__link-text {
    white-space: pre; font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif; font-weight: 400;
    font-size: 21px; line-height: 1.2em; color: #000; text-decoration: underline; text-underline-offset: 3px;
  }
  .nf-biz-assess__arrow { flex: none; width: 24px; height: 24px; margin: -3px 0; }
}
@media (min-width: 810px) and (max-width: 1439.98px) { .nf-biz-assess__link-text { font-size: 18px; } .nf-biz-assess__arrow { width: 20px; height: 20px; } }
@media (hover: hover) and (min-width: 810px) { .nf-biz-assess__link:hover .nf-biz-assess__link-text { text-decoration-thickness: 2px; } }

/* "See how it works ->" starts where the button's label starts (Danny 2026-10-27): the "S" lines up with the "R" of
   "Request an assessment", so the link is indented by the button's side padding (24px, phone 16px). Link style unchanged. */
@media (min-width: 810px) { .nf-biz-assess__link-box { padding-left: 24px; } }
@media (max-width: 809.98px) {
  .nf-biz-assess__ctas { align-items: flex-start; }
  .nf-biz-assess__link-box { align-self: auto; padding-left: 16px; }
  .nf-biz-assess__link { justify-content: flex-start; width: auto; }
}
