:root {
    --bg-light-box: #f9f9f9;
    --border-card: #f0f0f0;
}

.container {
    max-width: 900px; 
}

/* --- HERO TEXT PRINCIPAL --- */
.preguntas-hero {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 30px;
}

.preguntas-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    font-weight: 500;
}

.preguntas-hero .hero-subtitle {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14.5px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- BOTONES DE FILTRADO (CÁPSULAS) --- */
.filtros-container {
    padding-bottom: 40px;
}

.filtros-flex {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-filtro {
    background-color: var(--white);
    border: 1px solid #dddddd;
    color: var(--text-muted);
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filtro:hover {
    border-color: var(--gold-bg-btn);
    color: var(--text-dark);
}

.btn-filtro.active {
    background-color: var(--gold-bg-btn);
    border-color: var(--gold-bg-btn);
    color: #000000;
    font-weight: 600;
}

/* --- ACORDEÓN (FAQ LISTA) --- */
.faq-section {
    padding-bottom: 60px;
}

.faq-lista {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.01);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: #e0e0e0;
}

/* Encabezado del bloque interactivo clickable */
.faq-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Etiquetas pequeñas (Badges) */
.badge {
    display: inline-block;
    align-self: flex-start;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #b58941;
}

.faq-header h3 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 15.5px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 700;
    line-height: 1.4;
}

/* Flecha rotativa del lateral */
.faq-arrow {
    font-size: 11px;
    color: var(--gold-bg-btn);
    transition: transform 0.3s ease;
    margin-left: 20px;
}

/* Cuerpo desplegable (Oculto inicialmente por CSS mediante max-height) */
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}

.faq-body p {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    color: #444444;
    line-height: 1.65;
    margin: 0;
    padding: 0 30px 24px 30px; 
}

/* --- BLOQUE DE CONTACTO INFERIOR (¿No encontró lo que buscaba?) --- */
.no-encontrado-section {
    padding-bottom: 80px;
}

.no-encontrado-box {
    background-color: var(--bg-light-box);
    border-radius: 12px;
    padding: 45px 30px;
    text-align: center;
}

.no-encontrado-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    font-weight: 500;
}

.no-encontrado-box p {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 28px 0;
}

.no-encontrado-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-cta-gold, .btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-cta-gold {
    background-color: var(--gold-bg-btn);
    color: #000000;
}

.btn-cta-gold:hover {
    background-color: #cfa34f;
}

.btn-cta-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--gold-bg-btn);
}

.btn-cta-outline:hover {
    background-color: rgba(219, 175, 92, 0.05);
}


@media (max-width: 768px) {
    .preguntas-hero h1 {
        font-size: 32px;
    }

    .faq-header {
        padding: 20px;
    }

    .faq-body p {
        padding: 0 20px 20px 20px;
    }

    .no-encontrado-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-cta-gold, .btn-cta-outline {
        width: 100%;
        box-sizing: border-box;
    }
}