/* FAQ page styles — extracted from faq.html */

/* Decorative quotes around title */
.page-title-quotes {
    position: relative;
    display: inline-block;
}

.page-title-quotes::before {
    content: '❝';
    position: absolute;
    top: -0.4em;
    left: -0.6em;
    font-size: 1.3em;
    color: #D4B86A;
    opacity: 0.8;
    line-height: 1;
}

.page-title-quotes::after {
    content: '❞';
    position: absolute;
    bottom: -0.5em;
    right: -0.6em;
    font-size: 1.3em;
    color: #D4B86A;
    opacity: 0.8;
    line-height: 1;
}

/* FAQ Styles */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-intro p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.faq-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.faq-item:nth-child(6n+1) .faq-icon {
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
    color: #DC2626;
}

.faq-item:nth-child(6n+2) .faq-icon {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    color: #059669;
}

.faq-item:nth-child(6n+3) .faq-icon {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    color: #2563EB;
}

.faq-item:nth-child(6n+4) .faq-icon {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
    color: #7C3AED;
}

.faq-item:nth-child(6n+5) .faq-icon {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #D97706;
}

.faq-item:nth-child(6n+6) .faq-icon {
    background: linear-gradient(135deg, #CFFAFE, #A5F3FC);
    color: #0891B2;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 5rem;
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.faq-answer-content a:hover {
    text-decoration: underline;
}

.faq-contact {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--radius);
}

.faq-contact p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.25rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .faq-answer-content {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
}
