﻿.sp-faq {
    padding: 70px 0;
}

.sp-faq-head {
    margin-bottom: 36px;
}

    .sp-faq-head h2 {
        font-family: 'Space Grotesk', sans-serif;
        font-weight: 600;
        font-size: clamp(26px, 3.4vw, 38px);
        color: var(--sp-ink);
    }

.sp-faq-list {
    max-width: 720px;
}

.sp-faq-item {
    border-bottom: 1px solid var(--sp-line);
}

    .sp-faq-item:first-child {
        border-top: 1px solid var(--sp-line);
    }

.sp-faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--sp-ink);
}

.sp-faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

    .sp-faq-icon::before,
    .sp-faq-icon::after {
        content: '';
        position: absolute;
        background: var(--sp-terracotta);
        border-radius: 2px;
    }

    .sp-faq-icon::before {
        top: 50%;
        left: 0;
        width: 16px;
        height: 2px;
        transform: translateY(-50%);
    }

    .sp-faq-icon::after {
        top: 0;
        left: 50%;
        width: 2px;
        height: 16px;
        transform: translateX(-50%);
        transition: opacity .25s ease;
    }

.sp-faq-item.sp-open .sp-faq-icon::after {
    opacity: 0;
}

.sp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.sp-faq-item.sp-open .sp-faq-answer {
    max-height: 300px;
}

.sp-faq-answer p {
    font-size: 14px;
    color: var(--sp-text-muted);
    line-height: 1.6;
    padding-bottom: 20px;
    margin: 0;
    max-width: 620px;
}
