/* Секция "Вопросы и ответы" (FAQ) */
.faq {
    padding: 80px 0;
    background: #FDF8F2;
}

.faq__title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: #2E2E2E;
    text-align: center;
    margin-bottom: 10px;
}

.faq__subtitle {
    font-size: 16px;
    color: #4A4A4A;
    text-align: center;
    margin-bottom: 50px;
}

/* Сетка 2 колонки на всю ширину */
.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.faq__item {
    background: transparent;
    border: none;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0e8dd;
    cursor: pointer;
    user-select: none;
    transition: box-shadow 0.3s;
}

.faq__question:hover {
    box-shadow: 0 10px 25px rgba(198,164,63,0.1);
}

.faq__question h3 {
    font-size: 18px;
    font-weight: 500;
    color: #2E2E2E;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq__toggle {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.faq__toggle-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
}

.faq__toggle-icon::before,
.faq__toggle-icon::after {
    content: '';
    position: absolute;
    background: #C6A43F;
    transition: transform 0.3s ease;
}

.faq__toggle-icon::before {
    width: 14px;
    height: 2px;
    top: 6px;
    left: 0;
}

.faq__toggle-icon::after {
    width: 2px;
    height: 14px;
    top: 0;
    left: 6px;
}

.faq__toggle[aria-expanded="true"] .faq__toggle-icon::after {
    transform: scaleY(0);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #faf7f2; /* мягкий фон для ответа */
    border-radius: 0 0 20px 20px;
    margin-top: -5px; /* небольшое наложение для плавности */
}

.faq__answer p {
    margin: 0;
    padding: 20px 20px 20px 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #4A4A4A;
}

.faq__answer a {
    color: #C6A43F;
    text-decoration: none;
    transition: color 0.2s;
}

.faq__answer a:hover {
    color: #b08c35;
}

.faq__footer {
    text-align: center;
    margin-top: 50px;
}

.faq__footer p {
    font-size: 16px;
    color: #4A4A4A;
    margin-bottom: 20px;
}

.faq__button {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    border: 2px solid #C6A43F;
    color: #C6A43F;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
}

.faq__button:hover {
    background: #C6A43F;
    color: #fff;
}

/* Адаптивность */
@media screen and (max-width: 992px) {
    .faq__grid {
        grid-template-columns: 1fr; /* одна колонка на планшетах */
    }
}

@media screen and (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    .faq__title {
        font-size: 28px;
    }
    .faq__question {
        padding: 15px 20px;
    }
    .faq__question h3 {
        font-size: 16px;
    }
    .faq__answer p {
        font-size: 15px;
        padding: 15px 20px;
    }
}

@media screen and (max-width: 480px) {
    .faq__title {
        font-size: 24px;
    }
    .faq__subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .faq__button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}