/* ── FAQ Accordion ────────────────────────────────────────── */

.sh-faq {
  position: relative;
  width: 100%;
  padding: 80px 60px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Heading: scroll-triggered reveal ───────────────────── */

.sh-faq-heading {
  font-family: var(--font-nexa-heavy), sans-serif;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  color: rgb(35, 31, 32);
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 48px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sh-faq-heading--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Accordion list ────────────────────────────────────── */

.sh-faq-list {
  width: 100%;
  max-width: 800px;
}

/* ── Individual accordion item ─────────────────────────── */

.sh-faq-item {
  border-bottom: 1px solid rgb(220, 220, 220);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}

.sh-faq-item:first-child {
  border-top: 1px solid rgb(220, 220, 220);
}

.sh-faq-item--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Open state — warm accent border */
.sh-faq-item--open {
  border-bottom-color: rgba(246, 144, 129, 0.3);
}

/* ── Question button ──────────────────────────────────── */

.sh-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  cursor: pointer;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  outline: none;
}

.sh-faq-question:focus-visible {
  outline: 2px solid rgb(35, 31, 32);
  outline-offset: 4px;
  border-radius: 4px;
}

.sh-faq-question-text {
  font-family: var(--font-inter), sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: rgb(35, 31, 32);
  line-height: 1.4;
  transition: color 0.25s ease;
}

.sh-faq-item--open .sh-faq-question-text {
  color: var(--tx-from, #f69081);
}

/* ── Plus / minus icon ─────────────────────────────────── */

.sh-faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f5f5;
  transition: background 0.3s ease, transform 0.3s ease;
}

.sh-faq-item--open .sh-faq-icon {
  background: var(--tx-from, #f69081);
  transform: rotate(0deg);
}

/* Horizontal bar */
.sh-faq-icon::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background-color: rgb(35, 31, 32);
  transition: background-color 0.3s ease;
  border-radius: 1px;
}

.sh-faq-item--open .sh-faq-icon::before {
  background-color: #fff;
}

/* Vertical bar */
.sh-faq-icon::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 12px;
  background-color: rgb(35, 31, 32);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
  border-radius: 1px;
}

.sh-faq-item--open .sh-faq-icon::after {
  transform: rotate(90deg);
  background-color: #fff;
}

/* ── Collapsible body ──────────────────────────────────── */

.sh-faq-body {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Answer content ───────────────────────────────────── */

.sh-faq-answer {
  padding: 0 0 24px;
}

.sh-faq-answer p {
  font-family: var(--font-inter), sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgb(100, 100, 100);
  margin: 0;
}

/* ── CTA button ───────────────────────────────────────── */

.sh-faq-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  border: 1px solid rgb(35, 31, 32);
  border-radius: 50px;
  background-color: transparent;
  text-decoration: none;
  cursor: pointer;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s,
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.sh-faq-cta--visible {
  opacity: 1;
  transform: translateY(0);
}

.sh-faq-cta:hover {
  background-color: rgb(35, 31, 32);
}

.sh-faq-cta:hover .sh-faq-cta-text {
  color: #fff;
}

.sh-faq-cta-text {
  font-family: var(--font-deuterium), sans-serif;
  font-size: 18px;
  line-height: 18px;
  color: rgb(35, 31, 32);
  white-space: pre;
  transition: color 0.2s;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1023px) {
  .sh-faq {
    padding: 60px 40px;
  }

  .sh-faq-heading {
    font-size: 36px;
  }
}

@media (max-width: 809px) {
  .sh-faq {
    padding: 48px 24px;
  }

  .sh-faq-heading {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .sh-faq-question {
    padding: 20px 0;
  }

  .sh-faq-question-text {
    font-size: 16px;
  }

  .sh-faq-answer p {
    font-size: 14px;
  }

  .sh-faq-cta {
    padding: 14px 36px;
  }

  .sh-faq-cta-text {
    font-size: 16px;
    line-height: 16px;
  }

  .sh-faq-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }

  .sh-faq-icon::before {
    width: 10px;
  }

  .sh-faq-icon::after {
    height: 10px;
  }
}
