/* ============================================
        FAQ
============================================ */

.faq {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    background: var(--bg);
    transition: background .4s ease;
}

.faq .container {
    width: min(1000px, 92%);
    margin: auto;
    position: relative;
    z-index: 3;
}

.faq-header {
    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;
}

.faq-title {
    margin-top: 35px;
    font-size: clamp(2.4rem, 4.6vw, 4rem);
    font-weight: 900;
    line-height: 1.5;
    color: var(--text);
}

.faq-description {
    max-width: 620px;
    margin: 25px auto 0;
    font-size: 17px;
    line-height: 2.1;
    color: var(--text-muted);
}

/* ============================================
        LIST
============================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 35px var(--shadow);
    overflow: hidden;
    transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

.faq-item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.faq-item.open {
    border-color: var(--accent);
    box-shadow: 0 18px 50px var(--shadow-strong), 0 0 35px var(--accent-glow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    text-align: right;
    transition: color .3s ease;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
    transition: transform .4s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-item.open .faq-question {
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s cubic-bezier(.22, .61, .36, 1);
}

.faq-answer p {
    padding: 0 30px 26px;
    font-size: 15.5px;
    line-height: 2.1;
    color: var(--text-muted);
}

/* ============================================
        RESPONSIVE
============================================ */

@media (max-width: 900px) {
    .faq { padding: 120px 0; }
}

@media (max-width: 768px) {
    .faq { padding: 90px 0; }
    .faq-title { font-size: 34px; }
    .faq-description { font-size: 15.5px; }
    .faq-question { font-size: 15.5px; padding: 20px 22px; }
    .faq-answer p { padding: 0 22px 22px; font-size: 14.5px; }
}

@media (max-width: 480px) {
    .faq-tag { font-size: 12px; padding: 10px 22px; }
    .faq-title { font-size: 30px; }
    .faq-question { font-size: 14.5px; }
}
