/* ==========================================================================
   Residential / FAQ: "Frequently Asked Questions"
   Two roots because Framer uses two accordion components:
     .nf-res-faq--d  desktop + tablet  (framer-cEWjM "ENGLISH" with framer-hK3NI items), fluid, max-width 80%
     .nf-res-faq--p  phone             (framer-1tk395m "FAQ" with framer-0ChoX items and 1px dividers)
   Items toggle independently (several can be open); the first starts open. The open/close height spring
   is sampled from live and driven by js/45-faq.js.
   ========================================================================== */

/* ---------- Desktop + tablet (>= 810) ---------- */
/* Framer container (width 100%, no fill) around the "ENGLISH" component that carries the grey fill */
.nf-res-faq-wrap { position: relative; display: block; flex: 0 0 auto; width: 100%; height: auto; }
.nf-res-faq--d {
  /* Framer layout spring of the accordion item height, sampled per frame on live (~0.54s, no overshoot) */
  --nf-faq-dur: 540ms;
  --nf-faq-ease: linear(0, 0.078 3.3%, 0.19 6.3%, 0.307 9.4%, 0.427 12.4%, 0.53 15.6%, 0.624 18.7%, 0.703 21.9%, 0.764 24.8%, 0.816 28%, 0.858 31.1%, 0.891 34.4%, 0.916 37.2%, 0.935 40.6%, 0.95 43.3%, 0.962 46.5%, 0.971 49.4%, 0.978 52.6%, 0.983 55.6%, 0.987 58.7%, 0.99 61.9%, 0.993 65.4%, 0.997 74.1%, 0.9985 83.3%, 1);
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 20px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 80px 60px; overflow: clip;
  background-color: var(--nf-grey-f5);
}
.nf-res-faq {
  /* Framer in-view fade of the heading (opacity only, ~0.43s) */
  --nf-faq-fade-ease: linear(0, 0.017 3.2%, 0.074 7.2%, 0.149 11.1%, 0.24 15%, 0.334 18.8%, 0.426 22.7%, 0.513 26.6%, 0.592 30.8%, 0.654 34.3%, 0.717 38.2%, 0.771 42.1%, 0.816 45.8%, 0.852 49.5%, 0.884 53.7%, 0.91 57.6%, 0.931 61.6%, 0.946 65%, 0.961 69%, 0.972 72.9%, 0.979 76.9%, 0.985 80.6%, 0.99 84.3%, 0.994 88.2%, 0.997 92.6%, 0.998 96.1%, 1);
}
[data-nf-faq-appear] { opacity: 0; transition: opacity 432ms var(--nf-faq-fade-ease); }
[data-nf-faq-appear].is-in { opacity: 1; }

.nf-res-faq__title-box {
  position: relative; flex: 0 0 auto; width: 100%; max-width: 80%; height: auto;
}
.nf-res-faq__title {
  font-family: var(--nf-font-sfns-text); font-size: 48px; font-weight: 400; line-height: 1.2em; letter-spacing: normal;
  color: var(--nf-black); text-align: center; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-res-faq__list {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: flex-start; gap: 0;
  flex: 0 0 auto; width: 100%; max-width: 80%; height: min-content; padding: 0; overflow: hidden;
  background-color: var(--nf-grey-f5);
}
.nf-res-faq__item {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: flex-start; gap: 0;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
/* Framer draws the 0.8px #222 divider as a border on ::after (on the question when closed, on the item when
   open); both sit at the item's bottom edge */
.nf-res-faq__item--line::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; box-sizing: border-box; border-radius: inherit;
  border-style: solid; border-color: rgb(34, 34, 34); border-width: 0 0 0.8px 0;
}
.nf-res-faq__q {
  position: relative; display: flex; flex-flow: row; justify-content: flex-start; align-items: center; gap: 24px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 20px 0; overflow: visible;
  cursor: pointer; user-select: none; -webkit-user-select: none;
}
.nf-res-faq__q:focus-visible { outline: 2px solid var(--nf-green); outline-offset: 2px; } /* not on live, added for keyboard users */
.nf-res-faq__q-box { position: relative; flex: 1 0 0; width: 1px; height: auto; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }
.nf-res-faq__q-text {
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif; font-size: 24px; font-weight: 500;
  line-height: 1.25em; letter-spacing: normal; color: var(--nf-black); text-align: left;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-res-faq__q-text--start { text-align: start; }
.nf-res-faq__plus { position: relative; z-index: 1; flex: 0 0 auto; width: 16px; height: 16px; overflow: hidden; }
.nf-res-faq__plus-h, .nf-res-faq__plus-v { position: absolute; display: block; border-radius: 10px; background-color: var(--nf-black); }
.nf-res-faq__plus-h { width: 16px; height: 2px; top: calc(50% - 1px); left: calc(50% - 8px); }
.nf-res-faq__plus-v { width: 2px; height: 16px; top: calc(50% - 8px); left: calc(50% - 1px); }
.nf-res-faq__item.is-open .nf-res-faq__plus-v { display: none; }
.nf-res-faq__a {
  position: relative; display: none; flex-flow: column; justify-content: flex-start; align-items: flex-start; gap: 20px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0 20px 20px 0; overflow: visible;
}
.nf-res-faq__item.is-open .nf-res-faq__a, .nf-res-faq__item.is-anim .nf-res-faq__a { display: flex; }
.nf-res-faq__a-box {
  position: relative; flex: 0 0 auto; width: 100%; height: auto; user-select: none; -webkit-user-select: none;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-res-faq__a-text {
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif; font-size: 23px; font-weight: 400;
  line-height: 1.25em; letter-spacing: normal; color: var(--nf-black); text-align: left;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}

/* ---------- Phone (<= 809) ---------- */
.nf-res-faq--p {
  /* Phone accordion spring (~0.4s, ~1.5% overshoot), sampled on live */
  --nf-faq-dur: 405ms;
  --nf-faq-ease: linear(0, 0.094 4.4%, 0.23 8.4%, 0.372 12.6%, 0.593 18.5%, 0.697 22%, 0.794 26.4%, 0.873 30.1%, 0.926 34.1%, 0.967 38.3%, 0.99 42.2%, 1.0056 46.7%, 1.0126 50.6%, 1.0155 54.8%, 1.0139 63.2%, 1.0094 71.4%, 1.0054 79.5%, 1.0029 87.9%, 1);
  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: 56px 16px; overflow: visible;
  background-color: var(--nf-grey-f5);
}
.nf-res-faq__p-head {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 8px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: clip;
}
.nf-res-faq__p-title-box { position: relative; flex: 0 0 auto; width: 100%; max-width: 100%; height: auto; }
.nf-res-faq__p-title {
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif; font-size: 24px; font-weight: 500;
  line-height: 1.1em; letter-spacing: normal; color: var(--nf-black); text-align: center;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-res-faq__p-wrap {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 30px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: clip;
}
.nf-res-faq__p-acc {
  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: 0; overflow: visible;
}
.nf-res-faq__p-line { position: relative; flex: 0 0 auto; width: 100%; height: 1px; overflow: clip; background-color: var(--nf-black); }
.nf-res-faq__item--p { flex-flow: row; justify-content: space-between; align-items: center; cursor: pointer; }
.nf-res-faq__p-inner {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: flex-start; gap: 0;
  flex: 1 0 0; width: 1px; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-faq__plus--p { width: 12px; height: 12px; aspect-ratio: 1 / 1; }
.nf-res-faq__q-text--p { font-size: 17px; line-height: 1.4em; letter-spacing: 0.04em; }
/* live tightens the open question to 1.25em; kept at 1.4em so it does not jump when opened (Danny, 2026-10-20) */
.nf-res-faq__a--p { padding: 0 0 20px 0; }
.nf-res-faq__a-text--p { font-size: 16px; line-height: 1.4em; letter-spacing: 0.04em; }

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