/* FAQ Section Styles */
.faq-section {
  width: 100%;
  min-height: 100vh;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: #FBF3F2;
  position: relative;
}

.faq-section-container {
  width: 100%;
  max-width: 1800px; /* Reduced to keep content closer together on large screens */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem; /* Reasonable gap between heading and FAQ items */
  position: relative;
}

/* Heading */
.faq-heading {
  width: 718px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
}

.heading-part-1 {
  color: var(--Primary-100, #680144);
  font-family: "Calluna", "Playfair Display", serif;
  font-size: 3rem; /* text-5xl = 48px */
  font-weight: 400;
  line-height: 57.2px;
}

.heading-part-2 {
  color: var(--Primary-100, #680144);
  font-family: "Calluna", "Playfair Display", serif;
  font-size: 3rem; /* text-5xl = 48px */
  font-weight: 400;
  font-style: italic;
  line-height: 67.2px;
}

/* FAQ Items */
.faq-items {
  width: 684px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 0;
}

.faq-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--Primary-100, #680144);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--Primary-100, #680144);
}

.faq-question {
  width: 100%;
  padding: 1.5rem; /* p-6 */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem; /* gap-4 */
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(104, 1, 68, 0.05);
}

.faq-question-text {
  flex: 1;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 1.5rem; /* text-2xl = 24px */
  font-weight: 400;
  line-height: 1.75rem; /* leading-7 = 28px */
}

/* FAQ Icon - Plus/Minus */
.faq-icon {
  width: 3.5rem; /* w-14 = 56px */
  height: 3.5rem; /* h-14 = 56px */
  position: relative;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-icon-line {
  position: absolute;
  background: var(--Primary-100, #680144);
  border-radius: 0.125rem; /* rounded-sm */
  transition: all 0.3s ease;
}

.faq-icon-line-horizontal {
  width: 1.75rem; /* w-7 = 28px */
  height: 1.23px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon-line-vertical {
  width: 1.23px;
  height: 1.75rem; /* h-7 = 28px */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Open state - show minus (hide vertical line) */
.faq-item.active .faq-icon-line-vertical {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

/* Answer */
.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer {
  padding: 0 0 1.5rem 0; /* Remove left/right padding, keep bottom */
  padding-left: calc(3.5rem + 1rem); /* Icon width (3.5rem) + gap (1rem) to align with icon */
  padding-right: 1.5rem; /* Keep right padding */
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.faq-answer p {
  margin: 0 0 1rem 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-empty {
  width: 684px;
  padding: 2rem;
  text-align: center;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
}

/* Responsive - Large screens (1280px+) */
@media (min-width: 1280px) {
  .faq-section {
    min-height: 100vh;
    justify-content: center; /* Vertically center content */
  }

  .faq-section-container {
    max-width: 1800px; /* Reduced from 1800px to keep content closer together */
    justify-content: space-between; /* Vertically center content */
    gap: 2rem;
  }

  .faq-heading {
    width: 45%;
    max-width: 500px;
  }

  .faq-items {
    width: 50%;
    max-width: 600px;
  }
}

/* Responsive - Desktop (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .faq-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    justify-content: center; /* Vertically center content */
  }

  .faq-section-container {
    max-width: 100%;
    gap: 2rem;
  }

  .faq-heading {
    width: 45%;
    max-width: 500px;
  }

  .heading-part-1,
  .heading-part-2 {
    font-size: 2.5rem;
    line-height: 56px;
  }

  .faq-items {
    width: 55%;
    max-width: 600px;
    margin-top: 0;
  }
}

/* Responsive - Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .faq-section {
    min-height: auto;
    padding: 4rem 2rem;
  }

  .faq-section-container {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }

  .faq-heading {
    width: 100%;
    max-width: 600px;
    align-items: center;
    text-align: center;
  }

  .heading-part-1,
  .heading-part-2 {
    font-size: 2.25rem;
    line-height: 50px;
  }

  .faq-items {
    width: 100%;
    max-width: 600px;
    margin-top: 0;
  }

  .faq-question-text {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
}

/* Responsive - Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .faq-section {
    min-height: auto;
    padding: 3rem 1rem;
  }

  .faq-section-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .faq-heading {
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .heading-part-1,
  .heading-part-2 {
    font-size: 2rem;
    line-height: 44px;
  }

  .faq-items {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }

  .faq-question {
    padding: 1rem;
    gap: 0.75rem;
  }

  .faq-question-text {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }

  .faq-icon {
    width: 3rem;
    height: 3rem;
  }

  .faq-answer {
    padding: 0 0 1rem 0;
    padding-left: calc(3rem + 0.75rem); /* Icon width (3rem) + gap (0.75rem) */
    padding-right: 1rem;
    font-size: 0.9375rem;
  }
}
