/* ==========================================================================
   faq.css — Raviva Dental
   Frequently-asked-questions accordion (homepage). Content is also emitted
   as FAQPage JSON-LD from the same array — see index.php.
   ========================================================================== */

.faq-section .wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 22px 26px;
    font-family: 'Fraunces', serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-q i { color: var(--brown-deep); transition: 0.25s ease; flex-shrink: 0; }

.faq-item.open .faq-q i { transform: rotate(180deg); }

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

.faq-a p {
    padding: 0 26px 22px;
    font-size: 15px;
}

@media (max-width: 980px) {
    .faq-section .wrap { grid-template-columns: 1fr; }
}
