@import url('jl-care-base.css');

/* =========================================================
   HALAMAN FAQ (COMPACT PREMIUM ACCORDION)
   ========================================================= */
.care-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 15px;
  background: #f8fafc;
}

.care-hero {
  text-align: center;
  margin-bottom: 35px;
}

.care-hero h1 {
  font-weight: 800;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
}

.care-hero p {
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

.care-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 35px;
}

.faq-category h2 {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
}

.faq-category h2 i {
  color: var(--accent);
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px -2px rgba(0,0,0,0.04);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 20px -2px rgba(0, 74, 173, 0.08);
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
}

.faq-question:hover,
.faq-question.active {
  color: var(--primary-dark);
  background: #f8fafc;
}

.faq-question i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--accent);
  font-size: 0.9rem;
}

.faq-question.active i {
  transform: rotate(180deg);
}

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

.faq-inner {
  padding: 0 20px 20px;
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Notes Section / Bottom Box */
.care-notes {
  background: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px -2px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  margin-top: 35px;
}
.care-notes h4 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 800;
}
.text-center { text-align: center; }
.mt-5 { margin-top: 40px; }
.mt-4 { margin-top: 25px; }

/* Small Button (WA) */
.btn-sm.wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: #25D366;
  color: #fff;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}
.btn-sm.wa:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
  .care-main {
    padding: 30px 15px;
  }
  .care-hero {
    margin-bottom: 25px;
  }
  .faq-category h2 {
    font-size: 1.15rem;
  }
  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  .faq-inner {
    padding: 0 16px 16px;
    font-size: 0.9rem;
  }
  .care-notes {
    padding: 20px 15px;
    margin-top: 30px;
  }
  .btn-sm.wa {
    font-size: 0.85rem !important;
    padding: 10px 15px !important;
  }
}
