/* Estilos para la sección FAQ */

.faq {
  background-color: var(--light-color);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-5px);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  padding-right: 30px;
}

.faq-question::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #eee;
}

/* Estilos para la caja CTA en contacto */
.cta-box {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center;
}

.cta-box h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.cta-box p {
  margin-bottom: 1rem;
}

.cta-box .btn {
  margin-top: 0.5rem;
}

/* Estilos para características de servicio */
.service-features {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 2px;
}

/* Mejoras para formularios */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-secondary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-check {
  display: flex;
  align-items: flex-start;
}

.form-check-input {
  margin-top: 5px;
  margin-right: 10px;
}

.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Responsive para FAQ */
@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 1.1rem;
  }
  
  .cta-box {
    padding: 1.25rem;
  }
}
