/* --- FAQ Tabs Styles --- */
.faq-tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.faq-tabs-row {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 100px;
    gap: 0;
    flex-wrap: wrap;
    margin: 0 auto 4rem auto;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}

.faq-tab-btn {
    background-color: transparent;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 100px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.faq-tab-btn:hover {
    color: var(--black);
    background-color: rgba(0,0,0,0.03);
}

.faq-tab-btn.active {
    background-color: var(--white);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.faq-tab-content.active {
    display: block;
}

.faq-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--black);
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}

/* Premium Tags */
.faq-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.faq-tag {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Refined Colors for Tags */
.tag-legal {
    background-color: #ffffff;
    color: #495057;
    border: 1px solid #e9ecef;
}
.tag-legal::before { background-color: #3b82f6; }

.tag-estrategia {
    background-color: #ffffff;
    color: #5c4e33;
    border: 1px solid #f6eedb;
}
.tag-estrategia::before { background-color: var(--gold); }

.tag-finanzas {
    background-color: #ffffff;
    color: #2e523f;
    border: 1px solid #e2eee6;
}
.tag-finanzas::before { background-color: #10b981; }

.tag-mindset {
    background-color: #ffffff;
    color: #4c4267;
    border: 1px solid #ece9f2;
}
.tag-mindset::before { background-color: #8b5cf6; }

.tag-ventas {
    background-color: #ffffff;
    color: #6c3b3b;
    border: 1px solid #f9e2e2;
}
.tag-ventas::before { background-color: #ef4444; }

/* Route Selector Premium Design */
.route-selector {
    background: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.route-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f3e5ab, #d4af37);
}

.route-selector h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--black);
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.route-selector p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Adjustments for Tabs --- */
@media (max-width: 900px) {
    .faq-tabs {
        margin-bottom: 2rem;
    }
    
    .faq-tabs-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: transparent;
        padding: 0;
        box-shadow: none;
        gap: 0.5rem;
    }

    .faq-tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        background-color: #f8f9fa;
        border: 1px solid rgba(0,0,0,0.05);
        border-radius: 12px;
        width: 100%;
        max-width: 350px;
        text-align: center;
    }
    
    .faq-tab-btn.active {
        background-color: var(--black);
        color: var(--white);
    }

    .route-selector {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .route-selector h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .faq-question {
        flex-direction: column;
        align-items: stretch !important;
    }

    .faq-question h3 {
        font-size: 1.05rem !important;
    }

    .faq-question .toggle-icon {
        align-self: flex-end;
        margin-top: 5px;
        margin-bottom: -15px;
    }
}

@media (max-width: 480px) {
    .faq-tags {
        justify-content: flex-start;
        gap: 0.5rem;
    }
    .faq-tag {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}