/* ═══════════════════════════════════════
   FAQ puslapis
═══════════════════════════════════════ */

.faq-page {
  background: #f3f8f4;
  padding: 80px 0 96px;
}

.faq-page__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Header ─── */
.faq-page__header {
  margin-bottom: 56px;
  background: none;
  position: relative;
  z-index: 1;
  box-shadow: none;
}

.faq-page__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d6b40;
  margin-bottom: 16px;
}

.faq-page__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #2d6b40;
  flex-shrink: 0;
}

.faq-page__heading {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #111e14;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ─── Accordion list ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Accordion item ─── */
.faq-item {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(45, 107, 64, 0.1);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.faq-item.is-open {
  border-color: rgba(45, 107, 64, 0.35);
  box-shadow: 0 4px 24px rgba(45, 107, 64, 0.1);
}

/* ─── Trigger button ─── */
.faq-item__trigger {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 32px;
  box-sizing: border-box;
  text-align: left;
}

.faq-item__trigger:focus-visible {
  outline: 2px solid #2d6b40;
  outline-offset: -2px;
  border-radius: 14px;
}

.faq-item__question {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111e14;
  line-height: 1.45;
  flex: 1;
  transition: color 0.2s;
}

.faq-item.is-open .faq-item__question {
  color: #2d6b40;
}

.faq-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f5ea;
  color: #2d6b40;
  transition:
    background 0.25s,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-item__icon {
  background: #2d6b40;
  color: #fff;
  transform: rotate(180deg);
}

/* ─── Collapse panel ─── */
.faq-item__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-item__panel {
  max-height: 1200px;
}

.faq-item__body {
  padding: 0 32px 28px 32px;
  border-top: 1px solid rgba(45, 107, 64, 0.1);
  margin: 0 32px;
  padding-top: 20px;
}

/* ─── Body typography ─── */
.faq-item__body p,
.faq-item__body div {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 0.97rem;
  line-height: 1.78;
  color: #4a5e50;
  margin: 0 0 12px;
}

.faq-item__body p:last-child,
.faq-item__body div:last-child {
  margin-bottom: 0;
}

.faq-item__body ul,
.faq-item__body ol {
  padding-left: 0;
  margin: 0 0 12px;
  list-style: none;
}

.faq-item__body ul li,
.faq-item__body ol li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 0.97rem;
  line-height: 1.7;
  color: #4a5e50;
}

.faq-item__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d6b40;
}

.faq-item__body ol {
  counter-reset: faq-ol;
}

.faq-item__body ol li {
  counter-increment: faq-ol;
}

.faq-item__body ol li::before {
  content: counter(faq-ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: #2d6b40;
}

.faq-item__body strong {
  font-weight: 700;
  color: #111e14;
}

.faq-item__body a {
  color: #2d6b40;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .faq-page {
    padding: 56px 0 72px;
  }

  .faq-page__container {
    padding: 0 20px;
  }

  .faq-item__trigger {
    padding: 20px 24px;
  }

  .faq-item__body {
    margin: 0 24px;
    padding: 16px 0 20px;
  }

  .faq-item__question {
    font-size: 0.98rem;
  }
}
