/* FAQ Accordion Styles - Clean Minimal Design */
.faq-accordion {
    background: transparent;
}

.faq-item {
    transition: background-color 0.3s ease;
    background: transparent;
}

.faq-item .faq-header {
    border-bottom: 1px solid #000;
}

.faq-item.active {
    background-color: #f5f5f5;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    cursor: pointer;
    user-select: none;
    background: transparent;
    transition: background-color 0.3s ease;
}

.faq-item[data-expanded="true"] .faq-header {
    background: #E7E7E7;
}

.faq-item[data-expanded="true"] .faq-header:hover {
    background: #E7E7E7;
}

.faq-question {
    margin: 0;
    line-height: 1.4;
    font-size: 18px;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-toggle svg {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.faq-item[data-expanded="true"] .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-icon {
    width: 34px;
    height: 34px;
    transition: color 0.3s ease;
}

.faq-content {
    height: 0;
    overflow: hidden;
    transition: height 300ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
    display: flow-root; /* prevent margin-collapsing causing jumps */
    contain: layout paint; /* isolate for smoother animations */
    box-sizing: border-box;
}

.faq-answer {
    line-height: 1.2;
    font-size: 18px;
    padding: 20px 18px 43px;
}

@media (max-width: 1330px) {
    .faq-answer {
        font-size: calc(16px + 2 * ((100vw - 320px) / 1010));
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .faq-content,
    .faq-toggle svg,
    .faq-item,
    .faq-header {
        transition: none !important;
    }
}
