/* ============================================================
   SECCIÓN: PÁGINA DEDICADA FAQ
   ============================================================ */

.faq-page-header {
    /*background-color: #fbf6f0;*/
    background-color: transparent;
    padding: 100px 0 40px 0;
    text-align: center;
}

.tag {
    display: inline-block;
    background: #fff0f2;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.faq-page-title {
    font-family: var(--font-serif, serif);
    color: #0D1B2A;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.faq-page-lead {
    font-size: 1.05rem;
    color: #555555;
    max-width: 640px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
}

/* BOTONES DE PESTAÑAS (TABS NAVEGACIÓN) */
.faq-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.faq-tab-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #0d1b2a;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.faq-tab-btn:hover {
    background-color: #d27484;
    color: #ffffff;
    transform: translateY(-2px);
}

/* CUERPO DE CATEGORÍAS */
.faq-page-body {
    /*background-color: #fbf6f0;*/
    background-color: transparent;
    padding: 40px 0 100px 0;
}

.faq-category-block {
    margin-bottom: 56px;
    scroll-margin-top: 100px; /* Para el salto de los anclas */
}

.faq-category-title {
    font-family: var(--font-serif, 'Georgia', serif);
    font-size: 1.6rem;
    color: #0d1b2a;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-icon {
    font-size: 1.4rem;
}

/* TARJETA FINAL DE SOPORTE */
.faq-support-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-top: 60px;
}

.faq-support-card h3 {
    font-family: var(--font-serif, 'Georgia', serif);
    font-size: 1.4rem;
    color: #0d1b2a;
    margin: 0 0 8px 0;
}

.faq-support-card p {
    color: #666666;
    margin: 0;
    font-size: 0.95rem;
}

.btn-faq-whatsapp {
    display: inline-block;
    background-color: #25d366; /* Verde WhatsApp */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-faq-whatsapp:hover {
    background-color: #1eb954;
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .faq-support-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }

    .faq-nav-tabs {
        flex-direction: column;
    }

    .faq-tab-btn {
        width: 100%;
        text-align: center;
    }
}




/* ============================================================
   ESTILOS ACORDEÓN AGRUPADO (ESTILO LANDING)
   ============================================================ */

/* Contenedor que agrupa las preguntas de cada tema en una sola caja blanca */
.faq-accordion-container {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #f2e9e1; /* Borde suave crema/rosa */
    overflow: hidden;
    margin-top: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* Cada fila de pregunta dentro de la caja */
.faq-item {
    border-bottom: 1px solid #f5eee8; /* Línea divisoria interna */
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}

.faq-item:last-child {
    border-bottom: none; /* La última fila no lleva borde inferior */
}

/* El botón de la pregunta (Trigger) */
.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    outline: none;
    gap: 16px;
}

.faq-trigger:hover {
    background-color: #fdfbf9; /* Cambio de color sutil al pasar el mouse */
}

/* Texto de la pregunta (Sans-serif negrita) */
.faq-question {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a202c; /* Oscuro legible */
    line-height: 1.4;
}

/* Ícono de + y - */
.faq-icon {
    font-size: 1.3rem;
    font-weight: 500;
    color: #d27484; /* Rosa característico de Stampia */
    flex-shrink: 0;
    line-height: 1;
}

/* Ocultar respuestas por defecto */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-content-inner {
    padding: 0 28px 24px 28px;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
    font-family: system-ui, -apple-system, sans-serif;
}

.faq-content-inner p {
    margin: 0;
}