 /* =========================================
   PREGUNTAS FRECUENTES (FAQ) SECTION
   ========================================= */
.faq-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    background-color: #fdfbf9; /* Blanco cálido para contrastar con el oscuro anterior */
}

.faq-container {
    text-align: center;
}

.faq-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #5f5c5c;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 60px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Contenedor del acordeón (más ancho al no haber testimonio al lado) */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* Estilo cuando está abierto */
.faq-item[open] {
    border-color: #c45416;
    box-shadow: 0 10px 25px rgba(196, 84, 22, 0.08);
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #5f5c5c;
    cursor: pointer;
    list-style: none; /* Oculta el triángulo por defecto */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Ocultar el marcador por defecto en navegadores Webkit */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-item[open] .faq-question {
    color: #c45416;
}

/* Ícono personalizado (+ / -) */
.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #c45416;
    transition: transform 0.3s ease;
}

/* Línea horizontal */
.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

/* Línea vertical (se oculta al abrir) */
.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-item[open] .faq-icon::after {
    transform: rotate(90deg); /* Se convierte en un signo menos */
    opacity: 0;
}

.faq-answer {
    padding: 0 25px 25px;
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* =========================================
   FAQ RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .faq-section {
        padding: 70px 0;
    }

    .faq-title {
        font-size: 1.6rem;
    }

    .faq-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }
}