/* FAQ SECTION */
.faq-section {
  width: 100%;
  padding: 70px 20px;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 70px;
}

.faq-header h2 {
  font-size: 2.8rem;
  color: #111111;
  margin-bottom: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 20px;
}

.faq-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #cc0000, #990000);
  border-radius: 3px;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: 500;
  max-width: 500px;
  margin: 0 auto;
}

/* CONTENIDO FAQ */
.faq-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 50px;
}

.faq-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.12);
}

.faq-item.active {
  border-left-color: #cc0000;
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.15);
}

/* PREGUNTA */
.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  transition: all 0.3s ease;
  font-family: inherit;
}

.faq-question:hover {
  background: linear-gradient(90deg, #fff5f5, #ffffff);
}

.faq-item.active .faq-question {
  background: linear-gradient(90deg, #fff5f5, #ffffff);
  color: #cc0000;
}

.faq-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
  transition: color 0.3s ease;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.faq-item.active .faq-text {
  color: #cc0000;
}

.faq-icon {
  font-size: 1.8rem;
  font-weight: 800;
  color: #cc0000;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* RESPUESTA */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 30px 30px 30px;
  color: #666;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  text-align: justify;
}

/* CTA FAQ */
.faq-cta {
  text-align: center;
  padding: 50px 40px;
  background: white;
  border-radius: 15px;
  border-top: 5px solid #cc0000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-cta p {
  font-size: 1.2rem;
  color: #111111;
  margin: 0 0 25px 0;
  font-weight: 700;
}

.faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #cc0000, #990000);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(204, 0, 0, 0.2);
}

.faq-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
  background: linear-gradient(135deg, #990000, #660000);
}

.faq-btn:active {
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .faq-section {
    padding: 50px 15px;
  }

  .faq-header {
    margin-bottom: 50px;
  }

  .faq-header h2 {
    font-size: 2rem;
  }

  .faq-subtitle {
    font-size: 1rem;
  }

  .faq-content {
    gap: 15px;
  }

  .faq-question {
    padding: 20px 25px;
  }

  .faq-text {
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 25px 25px 25px;
    font-size: 0.95rem;
    text-align: left;
  }

  .faq-cta {
    padding: 35px 25px;
  }

  .faq-cta p {
    font-size: 1rem;
  }

  .faq-btn {
    padding: 14px 30px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 35px 10px;
  }

  .faq-header h2 {
    font-size: 1.5rem;
  }

  .faq-subtitle {
    font-size: 0.95rem;
  }

  .faq-question {
    padding: 18px 20px;
    gap: 15px;
  }

  .faq-text {
    font-size: 0.95rem;
  }

  .faq-icon {
    font-size: 1.5rem;
  }

  .faq-answer p {
    padding: 0 20px 20px 20px;
    font-size: 0.9rem;
  }

  .faq-cta {
    padding: 25px 20px;
  }

  .faq-cta p {
    font-size: 0.95rem;
  }

  .faq-btn {
    width: 100%;
    justify-content: center;
  }
}
