/* FAQ: a compact help panel and readable questions at every width. */
#faq.faq-section {
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
  padding-block: clamp(72px, 8vw, 120px);
  scroll-margin-top: var(--nav-height, 80px);
}

#faq .faq-heading {
  position: sticky;
  top: calc(var(--nav-height, 80px) + 24px);
  min-height: 430px;
  padding: clamp(30px, 3.2vw, 52px);
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(circle at 100% 100%, #315d46 0, transparent 48%), #17342f;
  color: #f5f6ec;
  box-shadow: 0 22px 50px #19383114;
}

#faq .faq-heading .eyebrow {
  margin-bottom: 28px;
  color: #d7ed9c;
  font-size: 11px;
}

#faq .faq-heading h2 {
  font-size: clamp(48px, 4.7vw, 78px);
  line-height: .99;
  letter-spacing: -.065em;
}

#faq .faq-heading h2 em { color: #d8eda7; }

#faq .faq-heading > p {
  max-width: 27ch;
  margin-top: 26px;
  color: #d1e0d6;
  font-size: 16px;
  line-height: 1.6;
}

#faq .faq-heading > .text-link {
  position: relative;
  z-index: 1;
  gap: 24px;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid #a6c894;
  border-radius: 8px;
  color: #f5f6ec;
  font-size: 14px;
}

#faq .faq-heading > .text-link:hover,
#faq .faq-heading > .text-link:focus-visible {
  background: #d7ed9c;
  color: #17342f;
}

#faq .faq-decor {
  position: absolute;
  right: 16px;
  bottom: -48px;
  margin: 0;
  color: #b7d49626;
  font-size: 250px;
  line-height: 1;
  transform: rotate(-15deg);
  pointer-events: none;
}

#faq-list { counter-reset: faq-number; min-width: 0; }

#faq .faq-item {
  counter-increment: faq-number;
  margin-bottom: 10px;
  border: 1px solid #cfd9c5;
  border-radius: 13px;
  background: #f8faf2;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

#faq .faq-item:first-child { border-top: 1px solid #cfd9c5; }
#faq .faq-item:hover { border-color: #9fb89c; }
#faq .faq-item[open] {
  border-color: #91ae8a;
  background: #ffffff;
  box-shadow: 0 12px 30px #1b3a3210;
}

#faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 16px 20px;
  color: #19342f;
  font-size: 16px;
  font-weight: 680;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

#faq .faq-item summary::-webkit-details-marker { display: none; }
#faq .faq-item summary::before {
  content: counter(faq-number, decimal-leading-zero);
  flex: 0 0 22px;
  align-self: center;
  color: #607c68;
  font: 700 11px/1.4 Manrope, sans-serif;
}

#faq .faq-item summary > span:first-child { flex: 1; }
#faq .faq-item summary:focus-visible { outline: 3px solid #7bab72; outline-offset: 3px; border-radius: 11px; }

#faq .faq-item .plus {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  background: #e3eed1;
  color: #1a3b31;
  font-size: 22px;
  line-height: 1;
}

#faq .faq-item[open] .plus { background: #d6eca1; }

#faq .faq-answer {
  max-width: none;
  padding: 0 70px 24px 60px;
  color: #465b53;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  #faq.faq-section { grid-template-columns: 1fr; gap: 22px; padding-block: 66px; }
  #faq .faq-heading { position: relative; top: auto; min-height: 0; padding: 30px; }
  #faq .faq-heading h2 { font-size: clamp(46px, 7vw, 64px); }
  #faq .faq-heading h2 br { display: block; }
  #faq .faq-heading > p { margin-top: 20px; }
  #faq .faq-decor { right: 10px; bottom: -50px; font-size: 210px; }
}

@media (max-width: 600px) {
  #faq.faq-section { gap: 16px; padding-block: 52px 72px; }
  #faq .faq-heading { padding: 26px 24px 24px; border-radius: 18px; }
  #faq .faq-heading .eyebrow { margin-bottom: 16px; font-size: 10px; }
  #faq .faq-heading h2 { font-size: clamp(40px, 11vw, 52px); }
  #faq .faq-heading > p { max-width: none; margin-top: 16px; font-size: 14px; line-height: 1.5; }
  #faq .faq-heading > .text-link { margin-top: 16px; min-height: 44px; font-size: 13px; }
  #faq .faq-decor { display: none; }
  #faq .faq-item { margin-bottom: 8px; border-radius: 11px; }
  #faq .faq-item summary { gap: 11px; min-height: 64px; padding: 14px; font-size: 15px; line-height: 1.4; }
  #faq .faq-item summary::before { flex-basis: 20px; font-size: 10px; }
  #faq .faq-item .plus { flex-basis: 30px; width: 30px; height: 30px; }
  #faq .faq-answer { padding: 0 18px 20px 45px; font-size: 14px; line-height: 1.65; }
}
