/* === FAQ SECTION === */
.faq-section {
  background: #f5f8fb;
  padding: 4rem 1rem;
  color: #1b1b1b;
}

.faq-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  color: #004080;
  margin-bottom: 0.5rem;
}

.faq-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: #ffffff;
  border: 2px solid #c9def3;
  border-left: 6px solid #004080;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-left-color: #0072ce;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #004080;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
  padding: 0 0;
}

.faq-item.open .faq-answer {
  max-height: 500px; /* suficiente para contenido largo */
  padding: 0.75rem 0 0;
}


.faq-answer p {
  margin: 0;
}

/* FAQ abierto */
.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* === WHATSAPP FLOTANTE === */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  font-size: 1rem;
  z-index: 1000;
  transition: background 0.3s;
}

.floating-whatsapp-btn:hover {
  background: #1ebc5c;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .faq-title {
    font-size: 2rem;
  }

  .faq-intro {
    font-size: 1rem;
  }

  .faq-question {
    font-size: 1rem;
  }
}
