/* ============================================
   FAQ PAGE STYLES (v3)
   ============================================ */

/* Page hero handled in styles.css */

/* --- Accordion --- */
.accordion {
  display: flex;
  flex-direction: column;
}

.accordion__item {
  border-bottom: 1px solid var(--border-light);
}

.accordion__item:first-child {
  border-top: 1px solid var(--border-light);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: all 0.15s ease;
}

.accordion__trigger:hover {
  padding-left: 0.25rem;
}

.accordion__question {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-heading);
  line-height: 1.4;
  font-weight: 600;
}

.accordion__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  color: var(--text-light);
  transition: all 0.15s ease;
}

.accordion__trigger:hover .accordion__icon {
  border-color: var(--teal-600);
  color: var(--teal-600);
}

.accordion__icon-v {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.accordion__item.active .accordion__icon-v {
  transform: scaleY(0);
  opacity: 0;
}

.accordion__item.active .accordion__icon {
  border-color: var(--teal-600);
  color: var(--teal-600);
  background: var(--teal-50);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion__answer {
  padding-bottom: 1.5rem;
}

.accordion__answer p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 100%;
}

.accordion__answer a {
  color: var(--teal-700);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.accordion__answer a:hover {
  color: var(--teal-600);
}

/* --- CTA Bottom --- */
.cta-bottom {
  padding: 56px 0;
}

.cta-bottom h2 {
  margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .accordion__question {
    font-size: 1rem;
  }

  .accordion__trigger {
    padding: 1.25rem 0;
  }
}
