﻿.home-faq {
    padding: 2px 0 24px;
}

.home-faq .top {
    margin-bottom: 16px;
}

.home-faq .top .title span {
    display: block;
    font-size: 28px;
    line-height: 1.15;
    color: var(--text-heading);
    font-weight: 600;
}

.home-faq .bottom {
    width: 100%;
}

.home-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    align-items: start;
}

.home-faq-item {
    border-radius: 12px;
    border: 1px solid var(--border-card-4);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(41, 27, 14, 0.02);
    overflow: hidden;
    align-self: start;
}

.home-faq-head {
    min-height: 45px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.home-faq-head .title {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-2);
    font-weight: 500;
}

.home-faq-head i {
    font-size: 14px;
    color: var(--text-body);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.home-faq-item .content {
    display: none;
    padding: 0 18px 16px;
}

.home-faq-item .content p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-body);
    font-weight: 500;
}

.home-faq-item.active .content {
    display: block;
}

.home-faq-item.active .home-faq-head i {
    transform: rotate(180deg);
    color: var(--color-1);
}


/* Home FAQ responsive */
@media (max-width: 1023px) {
    .home-faq {
        padding: 4px 0 26px;
    }

    .home-faq .top {
        margin-bottom: 14px;
    }

    .home-faq .top .title span {
        font-size: 26px;
    }

    .home-faq-list {
        gap: 12px;
    }

    .home-faq-head {
        min-height: 56px;
        padding: 10px 16px;
    }

    .home-faq-head .title {
        font-size: 14px;
    }

    .home-faq-item .content {
        padding: 0 16px 16px;
    }
}

@media (max-width: 767px) {
    .home-faq {
        padding: 2px 0 24px;
    }

    .home-faq .top .title span {
        font-size: 24px;
    }

    .home-faq-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-faq-item:nth-child(1) {
        order: 1;
    }

    .home-faq-item:nth-child(3) {
        order: 2;
    }

    .home-faq-item:nth-child(5) {
        order: 3;
    }

    .home-faq-item:nth-child(2) {
        order: 4;
    }

    .home-faq-item:nth-child(4) {
        order: 5;
    }

    .home-faq-item:nth-child(6) {
        order: 6;
    }

    .home-faq-head {
        min-height: 58px;
        padding: 11px 14px;
        gap: 14px;
    }

    .home-faq-head .title {
        font-size: 14px;
        line-height: 1.45;
    }

    .home-faq-head i {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--bg-soft-3);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }

    .home-faq-item.active {
        border-color: var(--border-active);
        box-shadow: 0 6px 18px rgba(251, 97, 4, 0.07);
    }

    .home-faq-item.active .home-faq-head {
        color: var(--color-1);
    }

    .home-faq-item .content {
        padding: 0 14px 16px;
    }

    .home-faq-item .content p {
        padding-top: 12px;
        border-top: 1px solid var(--border-section);
        font-size: 13px;
        line-height: 1.65;
    }
}

@media (max-width: 374px) {
    .home-faq .top .title span {
        font-size: 22px;
    }

    .home-faq-head {
        padding: 10px 12px;
    }

    .home-faq-head .title {
        font-size: 13px;
    }

    .home-faq-item .content {
        padding: 0 12px 14px;
    }
}
