/* 1. PÁGINA: PREGUNTAS FRECUENTES (FAQ) - SUPERGAS DE NARIÑO */

/* 1.1. CONTENEDOR PRINCIPAL */
.faq-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
}

/* 2. ENCABEZADO */
.faq-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.faq-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #1E293B;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* 2.1. Línea decorativa del título */
.faq-header h1::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 120px;
    height: 4px;
    background: #FF5C00;
    border-radius: 999px;
}

.faq-header p {
    margin-top: 1.5rem;
    color: #64748B;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 3. CATEGORÍAS DE PREGUNTAS */
.faq-category {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, .12);
    margin-bottom: 2rem;
}

/* 3.1. Título de la categoría */
.faq-category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #1E293B;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* 3.2. Icono de la categoría */
.faq-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5C00, #E65300);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* 4. ACORDEÓN (PREGUNTAS Y RESPUESTAS) */

/* 4.1. Elemento individual del acordeón */
.faq-item {
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #F8FAFC;
}

.faq-item:last-child {
    margin-bottom: 0;
}

/* 4.2. Pregunta (botón del acordeón) */
.faq-question {
    width: 100%;
    border: none;
    background: transparent;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    color: #1E293B;
    font-size: 1rem;
    font-weight: 800;
    font-family: inherit;
}

/* 4.3. Icono de la pregunta */
.faq-question i {
    color: #FF5C00;
    transition: transform .3s ease;
}

/* 4.4. Rotación del icono cuando está activo */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* 4.5. Respuesta (cuerpo del acordeón) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: white;
}

/* 4.6. Estado activo de la respuesta */
.faq-item.active .faq-answer {
    max-height: 900px;
}

/* 4.7. Contenido de la respuesta */
.faq-answer-content {
    padding: 0 1.4rem 1.4rem;
    color: #475569;
    line-height: 1.8;
}

.faq-answer-content p {
    margin-bottom: 1rem;
}

.faq-answer-content ul,
.faq-answer-content ol {
    padding-left: 1.4rem;
    margin: 1rem 0;
}

.faq-answer-content li {
    margin-bottom: .8rem;
}

/* 5. CAJA DE EMERGENCIAS (CONTACTO RÁPIDO) */
.faq-emergency-box {
    background: linear-gradient(135deg, #0664AC, #044A7A);
    color: white;
    border-radius: 28px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
    box-shadow: 0 15px 35px -12px rgba(6, 100, 172, .35);
}

.faq-emergency-box h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.faq-emergency-box p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* 5.1. Botón de emergencia */
.faq-emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    background: white;
    color: #0664AC;
    padding: 1rem 1.6rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all .3s ease;
}

.faq-emergency-btn:hover {
    background: #FF5C00;
    color: white;
    transform: translateY(-3px);
}

/* 6. RESPONSIVE */

/* 6.1. Móviles (768px) */
@media (max-width: 768px) {
    .faq-page {
        padding: 100px 0 60px;
    }

    .faq-category {
        padding: 1.4rem;
    }

    .faq-category-title {
        flex-direction: column;
        text-align: center;
        font-size: 1.3rem;
    }

    .faq-question {
        font-size: .95rem;
    }
}