:root {
    --primary-blue: #1e40af; /* Azul Cobalto Profesional */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

.faq-container {
    max-width: 850px;
    margin: 60px auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-badge {
    background: #dbeafe;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-main-title {
    font-size: 32px;
    color: var(--text-main);
    margin: 15px 0 10px;
    font-weight: 800;
}

.faq-description {
    color: var(--text-muted);
}

/* Items del Acordeón */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
}

/* Caja de icono azul */
.faq-icon-box {
    width: 38px;
    height: 38px;
    background: #eff6ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 15px;
    font-size: 16px;
}

.arrow {
    margin-left: auto;
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

/* Respuesta oculta por defecto */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

.faq-answer p {
    padding: 0 25px 20px 78px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Estado Activo */
.faq-item.active {
    border-color: var(--primary-blue);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Ajusta según el contenido */
}

.faq-item.active .arrow {
    transform: rotate(180deg);
    color: var(--primary-blue);
}