/* FAQ Styles - Premium Aesthetic */
.faq-section {
  padding: 6rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: white;
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(76, 175, 80, 0.2);
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2E7D32;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  font-family: 'Montserrat', sans-serif;
}

.faq-header .underline {
  height: 5px;
  width: 120px;
  background: linear-gradient(90deg, #4caf50, #2e7d32);
  border-radius: 3px;
  margin: 1.5rem auto;
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.faq-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.faq-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #2E7D32;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid rgba(76, 175, 80, 0.1);
    padding-bottom: 0.5rem;
}

.faq-category i {
    font-size: 1.2rem;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.faq-item.active {
  box-shadow: 0 0 30px rgba(76, 175, 80, 0.18);
  border-color: rgba(76, 175, 80, 0.3);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: #252a33;
  font-size: 1.1rem;
  user-select: none;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question {
  color: #226926;
}

.faq-icon-toggle {
  width: 30px;
  height: 30px;
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-toggle {
  background: #4caf50;
  color: white;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s ease;
  background: #fafafa;
  border-top: 0 solid transparent;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Suficiente para el contenido */
  padding: 0.75rem 2rem 1.5rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-answer-content {
  color: #555;
  line-height: 1.7;
}

.faq-answer-content p {
  margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-footer-cta {
  margin-top: 4rem;
  text-align: center;
  background: #D3DED6;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); /* Strong shadow on all sides */
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-footer-cta h3 {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1rem;
}

.faq-footer-cta .btn {
  background-color: #4CAF50;
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.faq-footer-cta .btn:hover {
  background-color: #2E7D32;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4);
  color: white;
}

.faq-footer-cta .btn i {
  font-size: 1.1rem;
}

/* Mobile responsive */
@media screen and (max-width: 600px) {
  .faq-title {
    font-size: 2.2rem;
  }
  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  .faq-item.active .faq-answer {
    padding: 0.6rem 1.5rem 1.25rem 1.5rem;
  }
}
