/* ===========================
   FAQ PAGE STYLES
   =========================== */

/* ---- FAQ Hero ---- */
.faq-hero {
  padding: 10rem 2rem 5rem;
  background: var(--warm-white);
  text-align: center;
}

.faq-hero .section-body {
  margin: 0 auto;
  max-width: 500px;
}

/* ---- FAQ Content ---- */
.faq-content {
  padding: 4rem 2rem 6rem;
  background: var(--cream);
}

.faq-content .section-container {
  max-width: 800px;
}

/* ---- FAQ Category ---- */
.faq-category {
  margin-bottom: 4rem;
}

.faq-category:last-of-type {
  margin-bottom: 5rem;
}

.faq-category-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--blush-light);
}

/* ---- FAQ Item ---- */
.faq-item {
  border-bottom: 1px solid rgba(201, 160, 144, 0.3);
}

.faq-item:last-child {
  border-bottom: none;
}

/* ---- FAQ Question Button ---- */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--warm-brown);
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--blush);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.3s var(--ease-out-expo);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* ---- FAQ Answer ---- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--warm-gray);
  font-weight: 300;
}

/* ---- FAQ Contact ---- */
.faq-contact {
  text-align: center;
  padding: 3rem;
  background: var(--blush-wash);
  border-radius: 16px;
}

.faq-contact h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.faq-contact p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.faq-contact-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--charcoal);
  color: #fff;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.4s var(--ease-out-expo);
}

.faq-contact-btn:hover {
  background: var(--warm-brown);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(47, 41, 38, 0.2);
}

/* ---- Active nav link ---- */
.nav-links a.active {
  color: var(--charcoal);
}

.nav-links a.active::after {
  width: 100%;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .faq-hero {
    padding: 8rem 1.25rem 4rem;
  }

  .faq-content {
    padding: 3rem 1.25rem 5rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 0;
  }

  .faq-contact {
    padding: 2rem 1.5rem;
  }
}
