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

/* --------------------------------------------------------------------------
   FAQ HERO
   -------------------------------------------------------------------------- */
.sds-faq-hero {
  background: linear-gradient(125deg, #F7FBFF 0%, #DEE9F5 28%, #C5D9F0 62%, #A9C8E8 100%);
  padding: 140px 40px 80px;
  min-height: 620px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.sds-faq-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.sds-faq-hero__content {
  flex: 1;
  min-width: 300px;
}

.sds-faq-hero__title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.1;
}

.sds-faq-hero__subtitle {
  color: #555;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 520px;
}

.sds-faq-hero__buttons {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.sds-faq-hero__buttons br,
.sds-faq-hero__buttons p {
  display: none;
}

.sds-faq-hero__btn,
.sds-faq-hero__btn:hover,
.sds-faq-hero__btn:visited,
.sds-faq-hero__btn:active {
  display: inline-block;
  max-height: 43px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  font-family: Inter, sans-serif;
  box-sizing: border-box;
}

.sds-faq-hero__btn--primary {
  background: #0D965C;
  color: white;
}

.sds-faq-hero__btn--secondary {
  background: #FFFFFF;
  color: #0A2E5C;
  border: 1.5px solid #dddddd;
}

.sds-faq-hero__image {
  flex: 1;
  min-width: 300px;
}

.sds-faq-hero__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

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

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

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

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

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

.sds-faq__item[open] {
  box-shadow: 0 4px 14px rgba(10, 46, 92, 0.06);
  border-color: #D0DCE8;
}

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

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

.sds-faq__question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #DEE9F5;
  color: #2970C5;
  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;
}

.sds-faq__item[open] .sds-faq__question::after {
  content: '−';
  background: #2970C5;
  color: white;
}

.sds-faq__question:hover {
  color: #2970C5;
}

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

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

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .sds-faq-hero {
    padding: 40px 20px 40px;
    min-height: 0;
  }

  .sds-faq-hero__title {
    font-size: 24px;
  }

  .sds-faq-hero__buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .sds-faq-hero__btn,
  .sds-faq-hero__btn:hover,
  .sds-faq-hero__btn:visited,
  .sds-faq-hero__btn:active {
    width: 100%;
    max-height: none;
    text-align: center;
    box-sizing: border-box;
  }

  .sds-faq-hero__container {
    flex-direction: column;
  }

  .sds-faq {
    padding: 50px 20px 20px;
  }

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

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