/* =============================================
   Wooden Sheds – FAQs
   ============================================= */

.ws-faqs {
    --ws-faq-green: var(--ws-primary, #2d7a3a);
    --ws-faq-green-bright: var(--ws-primary, #74bb52);
    --ws-faq-dark: var(--ws-ink, #1a1a1a);
    --ws-faq-ink: var(--ws-ink, #0d1a0b);
    --ws-faq-border: var(--ws-border, #e5e5e0);
    --ws-faq-max: 900px;
    --ws-faq-serif: inherit;
}

/* ── Hero ── */

.ws-faqs__hero {
    background: var(--ws-faq-ink);
    background-size: cover;
    background-position: center;
    padding: 56px 40px;
    text-align: left;
    position: relative;
}

.ws-faqs__hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 26, 11, 0.6);
}

.ws-faqs__hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ws-faqs__hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ws-faq-green-bright);
    margin: 0 0 12px;
}

.ws-faqs__hero-title {
    font-family: var(--ws-faq-serif);
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.15;
}

.ws-faqs__hero-sub {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0;
    line-height: 1.6;
}

/* ── FAQ Section ── */

.ws-faqs__section {
    padding: 48px 24px 64px;
    background: #fff;
}

.ws-faqs__section-inner {
    max-width: var(--ws-faq-max);
    margin: 0 auto;
}

.ws-faqs__section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ws-faq-dark);
    margin: 0 0 32px;
    text-align: center;
}

/* ── Accordion List ── */

.ws-faqs__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ws-faqs__item {
    border-bottom: 1px solid var(--ws-faq-border);
}

.ws-faqs__item:first-child {
    border-top: 1px solid var(--ws-faq-border);
}

/* Question button */
.ws-faqs__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 4px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--ws-faq-dark);
    line-height: 1.4;
    transition: color 0.2s;
}

.ws-faqs__question:hover {
    color: var(--ws-faq-green);
}

/* Icon (plus → minus) */
.ws-faqs__icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--ws-faq-green);
}

.ws-faqs__item.is-open .ws-faqs__icon {
    transform: rotate(45deg);
}

/* Answer */
.ws-faqs__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.ws-faqs__item.is-open .ws-faqs__answer {
    opacity: 1;
}

.ws-faqs__answer-inner {
    padding: 0 4px 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.ws-faqs__answer-inner p {
    margin: 0 0 12px;
}

.ws-faqs__answer-inner p:last-child {
    margin-bottom: 0;
}

.ws-faqs__answer-inner ul,
.ws-faqs__answer-inner ol {
    margin: 0 0 12px;
    padding-left: 20px;
}

.ws-faqs__answer-inner li {
    margin-bottom: 4px;
}

.ws-faqs__answer-inner a {
    color: var(--ws-faq-green);
    text-decoration: underline;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .ws-faqs__hero {
        padding: 36px 20px;
    }

    .ws-faqs__hero-title {
        font-size: 28px;
    }

    .ws-faqs__hero-sub {
        font-size: 15px;
    }

    .ws-faqs__section-title {
        font-size: 22px;
    }

    .ws-faqs__question {
        font-size: 15px;
        padding: 16px 4px;
    }

    .ws-faqs__answer-inner {
        font-size: 14px;
        padding-bottom: 20px;
    }
}
