/* FAQ */


.faq-section {
    padding: 60px 0;
}

.faq-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.faq-item summary {
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding: 18px 0;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    font-size: 24px;
}

.faq-item details[open] summary::after {
    content: "–";
}

.faq-item p {
    padding-bottom: 20px;
    line-height: 1.6;
    color: #555;
}


/* FAQ Home button */
.faq-home {
    height: 36px;              /* фактическая высота контейнера */
    display: flex;
    align-items: center;       /* вертикальное выравнивание кнопки */
    justify-content: center;   /* горизонтальное выравнивание */
    margin-bottom: 15px;
}



.home-button {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #c00e0e;
    border: 1px solid #c00e0e;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.home-button:hover {
    background-color: #c00e0e;
    color: #ffffff;
}

/* FAQ page background — static vertical gradient */
.faq-section {
    padding: 60px 0;

    background: linear-gradient(
        to bottom,
        #bd99f6 0%,
        #80b5eb 50%,
        #f497f7 100%
    );
}

@media (max-width: 768px) {

    /* FAQ SECTION */
    .faq-section {
        padding: 40px 0;
    }

    .faq-title {
        font-size: 24px;
        margin-bottom: 28px;
        padding: 0 16px;
    }

    /* FAQ ITEMS */
    .faq-item {
        margin-bottom: 10px;
    }

    .faq-item summary {
        font-size: 16px;
        padding: 14px 0;
        padding-right: 28px; /* место под + / – */
    }

    .faq-item summary::after {
        font-size: 20px;
    }

    .faq-item p {
        font-size: 15px;
        padding-bottom: 16px;
    }

    /* FAQ HOME + CTA */
    .faq-home {
        height: auto;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 20px;
        padding: 0 16px;
    }

    .home-button {
        font-size: 13px;
        padding: 8px 12px;
    }

    .try-button {
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 6px;
    }
}

