/* ==========================================================================
   Sunny Days Therapy - FAQ Page Styles
   BEM naming: .cbc-faq-{block}__{element}--{modifier}
   ========================================================================== */

/* Hero layout/colors: shared in global-styles.css (About / Services / FAQ) */

/* --------------------------------------------------------------------------
   FAQ ACCORDION
   -------------------------------------------------------------------------- */
.cbc-faq {
  background: #FFFFFF;
  padding: 70px 40px;
}

.cbc-faq__container {
  max-width: 900px;
  margin: 0 auto;
}

.cbc-faq__category {
  margin-bottom: 40px;
}

.cbc-faq__category:last-child {
  margin-bottom: 0;
}

.cbc-faq__category-title {
  color: #1B2140;
  font-family: Sora, sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F0F1FF;
}

.cbc-faq__item {
  background: #F8FAFB;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #E8EEF4;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.cbc-faq__item[open] {
  box-shadow: 0 4px 14px rgba(27, 33, 64, 0.06);
  border-color: #D0DCE8;
}

.cbc-faq__question {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-family: Sora, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1B2140;
  position: relative;
  line-height: 1.4;
  user-select: none;
}

.cbc-faq__question::-webkit-details-marker {
  display: none;
}

.cbc-faq__question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F0F1FF;
  color: #4F6EF7;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.cbc-faq__item[open] .cbc-faq__question::after {
  content: '−';
  background: #5B4BBF;
  color: white;
}

.cbc-faq__question:hover {
  color: #4F6EF7;
}

.cbc-faq__answer {
  padding: 0 20px 20px;
}

.cbc-faq__answer p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .cbc-faq {
    padding: 50px 20px 20px;
  }

  .cbc-faq__category-title {
    font-size: 20px;
  }

  .cbc-faq__question {
    font-size: 14px;
    padding: 16px 48px 16px 16px;
  }
}
