/* ── FAQ Block ─────────────────────────────────────────────────────────────── */

.faq {
    background-color: var(--color-white);
}

.faq__list {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq__item {
    background: var(--card-gradient);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 2, 14, 0.03);
    overflow: hidden;
    transition: border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.faq__item--active {
    border-color: rgba(242, 101, 34, 0.2);
    box-shadow: 0 8px 28px rgba(0, 2, 14, 0.07);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 36px;
    background: none !important;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq__question:hover {
    color: var(--color-primary);
}

.faq__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(242, 101, 34, 0.4);
    background: var(--icon-box-gradient);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    flex-shrink: 0;
    transition: background 0.3s ease,
                border-color 0.3s ease;
}

.faq__item--active .faq__icon {
    background: linear-gradient(180deg, rgba(242, 101, 34, 0.16) 0%, rgba(242, 101, 34, 0.07) 100%);
    border-color: rgba(242, 101, 34, 0.55);
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    background: var(--color-primary);
    transition: transform 0.3s ease;
}

/* Horizontal bar */
.faq__icon::before {
    top: 18px;
    left: 10px;
    width: 18px;
    height: 2px;
    border-radius: 1px;
}

/* Vertical bar → forms + sign */
.faq__icon::after {
    top: 10px;
    left: 18px;
    width: 2px;
    height: 18px;
    border-radius: 1px;
}

/* Active: collapse vertical bar → becomes − */
.faq__item--active .faq__icon::after {
    transform: rotate(90deg) scaleX(0);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq__item--active .faq__answer {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq__answer-content {
    padding: 0 36px 28px;
    color: #1f1f1f;
    line-height: 1.7;
    font-size: 16px;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .faq__question {
        padding: 18px 20px;
        font-size: 16px;
    }

    .faq__answer-content {
        padding: 0 20px 20px;
    }

    .faq__icon {
        width: 30px;
        height: 30px;
    }

    .faq__icon::before {
        top: 14px;
        left: 8px;
        width: 14px;
    }

    .faq__icon::after {
        top: 8px;
        left: 14px;
        height: 14px;
    }
}
